// Path: src/main/java/org/gwtproject/place/shared/Place.java
// public abstract class Place {
// 
//   /** The null place. */
//   public static final Place NOWHERE = new Place() {};
// }
// 
// Path: processor/src/testSupport/java/org/gwtproject/place/testplaces/Place1.java
// public class Place1 extends Place {
//   public final String content;
// 
//   public Place1(String token) {
//     this.content = token;
//   }
// 
//   /** Tokenizer. */
//   @Prefix(Tokenizer.PREFIX)
//   public static class Tokenizer implements PlaceTokenizer<Place1> {
//     public static final String PREFIX = "T1";
// 
//     @Override
//     public Place1 getPlace(String token) {
//       return new Place1(token);
//     }
// 
//     @Override
//     public String getToken(Place1 place) {
//       return place.content;
//     }
//   }
// }
// 
// Path: processor/src/testSupport/java/org/gwtproject/place/testplaces/Place2.java
// public class Place2 extends Place {
//   public final String content;
// 
//   public Place2(String token) {
//     this.content = token;
//   }
// }
// 
// Path: processor/src/testSupport/java/org/gwtproject/place/testplaces/Place3.java
// public class Place3 extends Place1 {
// 
//   public Place3(String token) {
//     super(token);
//   }
// }
// 
// Path: processor/src/testSupport/java/org/gwtproject/place/testplaces/Place4.java
// public class Place4 extends Place1 {
// 
//   public Place4(String token) {
//     super(token);
//   }
// }
// 
// Path: processor/src/testSupport/java/org/gwtproject/place/testplaces/Place5.java
// public class Place5 extends Place3 {
// 
//   public Place5(String token) {
//     super(token);
//   }
// }


import static com.google.common.truth.Truth.*;
import com.google.testing.compile.CompilationRule;
import java.util.Arrays;
import java.util.List;
import javax.lang.model.element.TypeElement;
import org.gwtproject.place.shared.Place;
import org.gwtproject.place.testplaces.Place1;
import org.gwtproject.place.testplaces.Place2;
import org.gwtproject.place.testplaces.Place3;
import org.gwtproject.place.testplaces.Place4;
import org.gwtproject.place.testplaces.Place5;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
/*
 * Copyright 2017 The GWT Project Authors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.gwtproject.place.processor;



public class MostToLeastDerivedPlaceTypeComparatorTest {
  @Rule public CompilationRule compilationRule = new CompilationRule();

  private MostToLeastDerivedPlaceTypeComparator comparator;

  private TypeElement place;
  private TypeElement place1;
// Path: src/main/java/org/gwtproject/place/shared/Place.java
// public abstract class Place {
// 
//   /** The null place. */
//   public static final Place NOWHERE = new Place() {};
// }
// 
// Path: processor/src/testSupport/java/org/gwtproject/place/testplaces/Place1.java
// public class Place1 extends Place {
//   public final String content;
// 
//   public Place1(String token) {
//     this.content = token;
//   }
// 
//   /** Tokenizer. */
//   @Prefix(Tokenizer.PREFIX)
//   public static class Tokenizer implements PlaceTokenizer<Place1> {
//     public static final String PREFIX = "T1";
// 
//     @Override
//     public Place1 getPlace(String token) {
//       return new Place1(token);
//     }
// 
//     @Override
//     public String getToken(Place1 place) {
//       return place.content;
//     }
//   }
// }
// 
// Path: processor/src/testSupport/java/org/gwtproject/place/testplaces/Place2.java
// public class Place2 extends Place {
//   public final String content;
// 
//   public Place2(String token) {
//     this.content = token;
//   }
// }
// 
// Path: processor/src/testSupport/java/org/gwtproject/place/testplaces/Place3.java
// public class Place3 extends Place1 {
// 
//   public Place3(String token) {
//     super(token);
//   }
// }
// 
// Path: processor/src/testSupport/java/org/gwtproject/place/testplaces/Place4.java
// public class Place4 extends Place1 {
// 
//   public Place4(String token) {
//     super(token);
//   }
// }
// 
// Path: processor/src/testSupport/java/org/gwtproject/place/testplaces/Place5.java
// public class Place5 extends Place3 {
// 
//   public Place5(String token) {
//     super(token);
//   }
// }


// Path: processor/src/test/java/org/gwtproject/place/processor/MostToLeastDerivedPlaceTypeComparatorTest.java
import static com.google.common.truth.Truth.*;
import com.google.testing.compile.CompilationRule;
import java.util.Arrays;
import java.util.List;
import javax.lang.model.element.TypeElement;
import org.gwtproject.place.shared.Place;
import org.gwtproject.place.testplaces.Place1;
import org.gwtproject.place.testplaces.Place2;
import org.gwtproject.place.testplaces.Place3;
import org.gwtproject.place.testplaces.Place4;
import org.gwtproject.place.testplaces.Place5;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;

/*
 * Copyright 2017 The GWT Project Authors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.gwtproject.place.processor;



public class MostToLeastDerivedPlaceTypeComparatorTest {
  @Rule public CompilationRule compilationRule = new CompilationRule();

  private MostToLeastDerivedPlaceTypeComparator comparator;

  private TypeElement place;
  private TypeElement place1;
  private TypeElement place2;