mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-11-04 00:33:55 +01:00 
			
		
		
		
	Fixed unit tests
This commit is contained in:
		
							parent
							
								
									53ea9c94d4
								
							
						
					
					
						commit
						a94e8b4b1a
					
				
					 1 changed files with 0 additions and 18 deletions
				
			
		| 
						 | 
				
			
			@ -234,24 +234,6 @@ class NearbyParentFragmentUnitTest {
 | 
			
		|||
        verify(presenter, times(1)).onMapReady()
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Test @Ignore
 | 
			
		||||
    @Throws(Exception::class)
 | 
			
		||||
    fun testOnToggleChipsClickedCaseVisible() {
 | 
			
		||||
        `when`(view.visibility).thenReturn(View.VISIBLE)
 | 
			
		||||
        fragment.onToggleChipsClicked()
 | 
			
		||||
        verify(view).visibility = View.GONE
 | 
			
		||||
        verify(ivToggleChips).rotation = ivToggleChips.rotation + 180
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Test @Ignore
 | 
			
		||||
    @Throws(Exception::class)
 | 
			
		||||
    fun testOnToggleChipsClickedCaseNotVisible() {
 | 
			
		||||
        `when`(view.visibility).thenReturn(View.GONE)
 | 
			
		||||
        fragment.onToggleChipsClicked()
 | 
			
		||||
        verify(view).visibility = View.VISIBLE
 | 
			
		||||
        verify(ivToggleChips).rotation = ivToggleChips.rotation + 180
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Test @Ignore
 | 
			
		||||
    @Throws(Exception::class)
 | 
			
		||||
    fun testOnLearnMoreClicked() {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue