// Path: types/src/main/java/com/google/common/html/types/testing/assertions/Assertions.java
// public static void assertClassIsNotExportable(Class<?> klass) {
//   for (Class<?> annotation : EXPORTABLE_CLASS_ANNOTATIONS) {
//     if (klass.isAnnotationPresent(annotation.asSubclass(Annotation.class))) {
//       throw new AssertionError(
//           "Class should not have annotation " + annotation.getName()
//           + ", @CompileTimeConstant can be bypassed: " + klass);
//     }
//   }
// }


import static com.google.common.html.types.testing.assertions.Assertions.assertClassIsNotExportable;
import com.google.common.annotations.GwtCompatible;
import com.google.common.annotations.GwtIncompatible;
import java.nio.charset.Charset;
import junit.framework.TestCase;
// **** GENERATED CODE, DO NOT MODIFY ****
// This file was generated via preprocessing from input:
// javatests/com/google/common/html/types/SafeScriptsTest.java.tpl
// ***************************************
/*
 * Copyright 2016 Google Inc. All Rights Reserved.
 *
 * 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 com.google.common.html.types;




/**
 * Unit tests for {@link SafeScripts}.
 */
@GwtCompatible
public class SafeScriptsTest extends TestCase {

  @GwtIncompatible("Assertions.assertClassIsNotExportable")
  public void testClassNotExportable() {
// Path: types/src/main/java/com/google/common/html/types/testing/assertions/Assertions.java
// public static void assertClassIsNotExportable(Class<?> klass) {
//   for (Class<?> annotation : EXPORTABLE_CLASS_ANNOTATIONS) {
//     if (klass.isAnnotationPresent(annotation.asSubclass(Annotation.class))) {
//       throw new AssertionError(
//           "Class should not have annotation " + annotation.getName()
//           + ", @CompileTimeConstant can be bypassed: " + klass);
//     }
//   }
// }


// Path: types/src/test/java/com/google/common/html/types/SafeScriptsTest.java
import static com.google.common.html.types.testing.assertions.Assertions.assertClassIsNotExportable;
import com.google.common.annotations.GwtCompatible;
import com.google.common.annotations.GwtIncompatible;
import java.nio.charset.Charset;
import junit.framework.TestCase;

// **** GENERATED CODE, DO NOT MODIFY ****
// This file was generated via preprocessing from input:
// javatests/com/google/common/html/types/SafeScriptsTest.java.tpl
// ***************************************
/*
 * Copyright 2016 Google Inc. All Rights Reserved.
 *
 * 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 com.google.common.html.types;




/**
 * Unit tests for {@link SafeScripts}.
 */
@GwtCompatible
public class SafeScriptsTest extends TestCase {

  @GwtIncompatible("Assertions.assertClassIsNotExportable")
  public void testClassNotExportable() {
    assertClassIsNotExportable(SafeScripts.class);