basbeu/theSofties

View on GitHub
app/src/androidTest/java/ch/epfl/sweng/favors/favors/FavorDetailViewTest.java

Summary

Maintainability
A
0 mins
Test Coverage

File FavorDetailViewTest.java has 277 lines of code (exceeds 250 allowed). Consider refactoring.
Wontfix

package ch.epfl.sweng.favors.favors;


import android.support.test.espresso.matcher.ViewMatchers;
import android.support.test.uiautomator.UiDevice;

    Method paymentOnTooManyPeople has 50 lines of code (exceeds 25 allowed). Consider refactoring.
    Wontfix

        @Ignore
        public void paymentOnTooManyPeople(){
            User u1 = new User("U1");
            u1.set(User.StringFields.firstName, "Toto");
            u1.set(User.StringFields.lastName, "Lolo");

      Method successfulPayment has 42 lines of code (exceeds 25 allowed). Consider refactoring.
      Wontfix

          @Ignore
          public void successfulPayment(){
      
              User u1 = new User("U1");
              u1.set(User.StringFields.firstName, "Toto");

        Method paymentOnEmptyList has 33 lines of code (exceeds 25 allowed). Consider refactoring.
        Wontfix

            @Ignore
            public void paymentOnEmptyList(){
                mFragmentTestRule.launchActivity(null);
        
                User u1 = new User("U1");

          There are no issues that match your filters.

          Category
          Status