blob_id
stringlengths
40
40
language
stringclasses
1 value
repo_name
stringlengths
5
132
path
stringlengths
2
382
src_encoding
stringclasses
34 values
length_bytes
int64
9
3.8M
score
float64
1.5
4.94
int_score
int64
2
5
detected_licenses
listlengths
0
142
license_type
stringclasses
2 values
text
stringlengths
9
3.8M
download_success
bool
1 class
5d21929c2d907c8be1a37c87dd5a3d132a44855b
Java
rramirezech1/graphicmakers
/src/java/p_06_utilitarios/Errores.java
UTF-8
2,156
2.234375
2
[]
no_license
package p_06_utilitarios; import p_02_transactsql.Querys; import java.io.Serializable; public class Errores implements Serializable { private String cor_err, obj_err, met_err, des_err, que_err, usu_err; public Errores() { } public void auditarError(String mObjeto, String mMetodo, String mDescripcion, String mQuery, String mUsuario) { Querys consulta = new Querys(); try { cor_err = consulta.strQuerySQLvariable("select ifnull(max(cor_err),0) + 1 as cod from aud_tra_tbl_err;"); consulta.dmlSQLvariable( "insert into aud_tra_tbl_err " + "(cor_err,obj_err,met_err,des_err,que_err,usu_err,fec_err) VALUES (" + cor_err + ",'" + mObjeto + "','" + mMetodo + "','" + mDescripcion + "','" + mQuery + "'," + mUsuario + "," + "now()" + ");" ); } catch (Exception ex) { System.out.println("Error en auditarError de Errores." + ex.getMessage()); } finally { consulta = null; } } public String getCor_err() { return cor_err; } public void setCor_err(String cor_err) { this.cor_err = cor_err; } public String getObj_err() { return obj_err; } public void setObj_err(String obj_err) { this.obj_err = obj_err; } public String getMet_err() { return met_err; } public void setMet_err(String met_err) { this.met_err = met_err; } public String getDes_err() { return des_err; } public void setDes_err(String des_err) { this.des_err = des_err; } public String getQue_err() { return que_err; } public void setQue_err(String que_err) { this.que_err = que_err; } public String getUsu_err() { return usu_err; } public void setUsu_err(String usu_err) { this.usu_err = usu_err; } }
true
939c51d3c9451db09e39564e9f4173d4771298e1
Java
herrsergioYa/QSRModel
/src/rnsim/JunctionChar.java
UTF-8
1,028
2.640625
3
[]
no_license
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package rnsim; /** * * @author HerrSergio */ public class JunctionChar { private String from, to; private boolean bidirectional; public JunctionChar() { } public JunctionChar(String from, String to, boolean bidirectional) { this.from = from; this.to = to; this.bidirectional = bidirectional; } public String getFrom() { return from; } public void setFrom(String from) { this.from = from; } public String getTo() { return to; } public void setTo(String to) { this.to = to; } public boolean isBidirectional() { return bidirectional; } public void setBidirectional(boolean bidirectional) { this.bidirectional = bidirectional; } }
true
a5910f9d4e1080880f92dadd8c0e3c64c41195a8
Java
Loic17/compilationl3-public
/src/Sa2ts.java
UTF-8
3,034
2.671875
3
[]
no_license
import sc.node.*; import sc.analysis.*; import sa.*; import ts.*; public class Sa2ts extends SaDepthFirstVisitor <Void>{ public Ts table; public Ts current; public Sa2ts(SaNode root){ this.table= new Ts(); root.accept(this) } public Ts getTableGlobale(){ return this.table; } public Void visit(SaDecFonc node) { this.current= new Ts(); if(current.fonctions.containsKey(node.getNom())){ System.out.println("error"); System.exit(0);} if(node.getParametres()!=null){ current.fonctions.put(node.getNom(),new TsItemFct(node.getNom(),node.getParametres().length() , current, node) ); node.getParametres().accept(this);} current.fonctions.put(node.getNom(),new TsItemFct(node.getNom(),0 , table, node) ); node.getCorps().accept(this); node.getVariable().accept(this); this.current=null; this.current=null; return null; } public Void visit(SaDecVar node) { if(table.variables.containsKey(node.getNom())){ System.out.println("error"); System.exit(0);} if(node.getNom()!=null){ table.variables.put(node.getNom(),new TsItemVar(node.getNom(),node.getNom().length())); node.accept(this);} table.variables.put(node.getNom(), new TsItemVar(node.getNom(), 0)); return null; } public Void visit(SaDecTab node) { if(table.variables.containsKey(node.getNom())){ System.out.println("error"); System.exit(0);} if(node.getTaille()!=0){ table.variables.put(node.getNom(),new TsItemVar(node.getNom(),node.getTaille())); node.accept(this);} table.variables.put(node.getNom(), new TsItemVar(node.getNom(), 0)); return null; } public Void visit(SaAppel node) { this.current= new Ts(); if(current.fonctions.containsKey(node.getNom())){ System.out.println("error"); System.exit(0);} if(node.getArguments()!=null) node.getArguments().accept(this); return null; } public Void visit(SaVarSimple node) { if(table.variables.containsKey(node.getNom())){ System.out.println("error"); System.exit(0);} if(node.getNom()!=null){ table.variables.put(node.getNom(),new TsItemVar(node.getNom(),node.getNom().length())); node.accept(this);} table.variables.put(node.getNom(), new TsItemVar(node.getNom(), 0)); return null; } public Void visit(SaVarIndicee node) { if(table.variables.containsKey(node.getNom())){ System.out.println("error"); System.exit(0);} if(node.getIndice()!=null){ node.getIndice().accept(this);} table.variables.put(node.getNom(), new TsItemVar(node.getNom(), 0)); return null; } }
true
806f72304f7a552c6bc1ad54cb57f489f59d2896
Java
ViktorDimitrov1989/JavaOOP_Advanced_IstExamPrep
/commands/RegisterHealthEmergencyCommand.java
UTF-8
1,298
2.5625
3
[]
no_license
package commands; import annotations.InjectArgs; import core.ManagementSystem; import enums.EmergencyLevel; import models.emergencies.HealthEmergency; import models.emergencies.Emergency; import utils.RegistrationTime; import utils.RegistrationTimeImpl; public class RegisterHealthEmergencyCommand extends BaseCommand { @InjectArgs private String[] arguments; private Emergency emergency; private RegistrationTime registrationTime; public RegisterHealthEmergencyCommand(ManagementSystem emergencyManagmentSystem) { super(emergencyManagmentSystem); } @Override public String execute() { String description = this.arguments[1]; EmergencyLevel level = EmergencyLevel.valueOf(this.arguments[2].toUpperCase()); this.setRegistrationTime(this.arguments[3]); Integer casualties = Integer.valueOf(this.arguments[4]); this.emergency = new HealthEmergency(description, level, this.registrationTime, casualties); //super.getEmergencyManagmentSystem().registerHealthEmergency(this.emergency); return super.getEmergencyManagmentSystem().registerHealthEmergency(this.emergency); } private void setRegistrationTime(String time){ this.registrationTime = new RegistrationTimeImpl(time); } }
true
19f42662122b8c80c449ef02c0f76019eb04c722
Java
buoncubi/OntologyFramework
/OntologicalFramework/src/ontologyFramework/OFErrorManagement/OFGUI/ClassTree.java
UTF-8
15,765
2.03125
2
[]
no_license
package ontologyFramework.OFErrorManagement.OFGUI; import java.awt.Component; import java.awt.event.MouseEvent; import java.util.ArrayList; import java.util.Enumeration; import java.util.List; import java.util.Set; import javax.swing.ImageIcon; import javax.swing.JScrollPane; import javax.swing.JTree; import javax.swing.SwingWorker; import javax.swing.ToolTipManager; import javax.swing.event.TreeSelectionEvent; import javax.swing.event.TreeSelectionListener; import javax.swing.tree.DefaultMutableTreeNode; import javax.swing.tree.DefaultTreeCellRenderer; import javax.swing.tree.TreePath; import javax.swing.tree.TreeSelectionModel; import ontologyFramework.OFContextManagement.OWLReferences; import ontologyFramework.OFErrorManagement.OFGUI.individualGui.IndividualGuiRunner; import org.semanticweb.owlapi.model.OWLClass; import org.semanticweb.owlapi.model.OWLClassExpression; import org.semanticweb.owlapi.model.OWLIndividual; import org.semanticweb.owlapi.model.OWLNamedIndividual; public class ClassTree implements TreeSelectionListener { private static JTree tree; private static JScrollPane treePanel; private static boolean initialized = false; private static DefaultMutableTreeNode top; private static Integer individualGuiID = 0; private TreeRender model; private static OWLReferences ontoRef; // ########## CREATE TREE AND COMPONENTS ############## // constructor build up and run tree visualization public ClassTree( boolean init){ ontoRef = ClassExcange.getOntoRef(); if( ontoRef != null){ new TreeWorker( this).execute(); if( ! initialized){ // the frist time build the tree EntryInfo ei = new EntryInfo( ClassExcange.defaultRootTree, ClassExcange.classIcon); top = new DefaultMutableTreeNode( ei); createNodes( top, ClassExcange.getRootClassname()); EntryInfo.setTopTree(top); ClassExcange.addtoTreePanelObj( top); // configure a tree that allows one selection at a time. ClassExcange.getTreeObj().getSelectionModel().setSelectionMode (TreeSelectionModel.SINGLE_TREE_SELECTION); //Enable tool tips. ToolTipManager.sharedInstance().registerComponent( ClassExcange.getTreeObj()); //Set the icon for leaf nodes. model = new TreeRender(); ClassExcange.getTreeObj().setCellRenderer( model); //Listen for when the selection changes. ClassExcange.getTreeObj().addTreeSelectionListener( this); tree = ClassExcange.getTreeObj(); treePanel = ClassExcange.getTreePanelObj(); initialized = true; } } } /** * @return the top */ protected synchronized DefaultMutableTreeNode getTop() { return top; } /** * @param top the top to set */ protected synchronized void setTop(DefaultMutableTreeNode top) { ClassTree.top = top; } // create the tree recursively protected synchronized DefaultMutableTreeNode createNodes(DefaultMutableTreeNode top, String superClass) { //call recursively go deeply in the tree //while( ontoRef == null); synchronized( ontoRef.getReasoner()){ // support variable to folder creation DefaultMutableTreeNode category = null; DefaultMutableTreeNode infcategory = null; DefaultMutableTreeNode infindividual = null; EntryInfo tmpUpdateNode = null; // initialize quantity OWLClass topClass; Set<OWLClass> inferedCl = null; Set<OWLClassExpression> notInferedCl; // manage not string for owl:Thing if( superClass.equals( ClassExcange.Things)){ topClass = ontoRef.getFactory().getOWLThing().asOWLClass(); Set<OWLClass> tmpInf = ontoRef.getReasoner().getSubClasses( topClass, false).getFlattened(); notInferedCl = topClass.getSubClasses( ontoRef.getOntology()); for( OWLClass n :tmpInf) notInferedCl.add( n); } else { topClass = ontoRef.getFactory().getOWLClass( superClass, ontoRef.getPm()); inferedCl = ontoRef.getReasoner().getSubClasses( topClass, false).getFlattened(); notInferedCl = topClass.getSubClasses(ontoRef.getOntology()); } if( ! notInferedCl.isEmpty()){ // for all the non asserted class for( OWLClassExpression infNo : notInferedCl){ if( ! infNo.equals( ontoRef.getFactory().getOWLNothing())){ //add a new class tmpUpdateNode = new EntryInfo( ClassExcange.getRenderer().render( infNo), ClassExcange.classIcon); category = new DefaultMutableTreeNode(tmpUpdateNode); top.add( category); // add not inferred individual Set<OWLIndividual> notInferedIn = infNo.asOWLClass().getIndividuals(ontoRef.getOntology()); for( OWLIndividual noInfInd : notInferedIn){ tmpUpdateNode = new EntryInfo( ClassExcange.getRenderer().render( noInfInd), ClassExcange.individualcon); category.add( new DefaultMutableTreeNode( tmpUpdateNode)); } // coming back up to the root of the tree NN EFFICIENTE add inferred individual boolean init = true; Set<OWLNamedIndividual> inferedIndividual = ontoRef.getReasoner().getInstances( infNo, false).getFlattened(); if( ! inferedIndividual .isEmpty()) for(OWLIndividual infInd : inferedIndividual){ if( ! infInd.equals( ontoRef.getFactory().getOWLAnonymousIndividual())){ if( ! notInferedIn.contains( infInd)){ // if assert add notify [ ICON classInfIconn] if( init){ // if is assert add class notify tmpUpdateNode = new EntryInfo( ClassExcange.indAssertLabel, ClassExcange.predIndIcon); infindividual = new DefaultMutableTreeNode( tmpUpdateNode); init = false; } tmpUpdateNode = new EntryInfo( ClassExcange.getRenderer().render(infInd), ClassExcange.individualInfIcon); DefaultMutableTreeNode a = new DefaultMutableTreeNode( tmpUpdateNode); infindividual.add( a); category.add( infindividual); } } } /*if( infindividual != null) category.add( infindividual);*/ // call this function recorsively createNodes( category, ClassExcange.getRenderer().render(infNo)); } } } // asserted Class boolean init = true; if( inferedCl != null) for(OWLClass inf : inferedCl){ if( ! inf.equals( ontoRef.getFactory().getOWLNothing())){ if( ! notInferedCl.contains( inf)){ // if assert add notify [ ICON classInfIconn] if( init){ // if is assert add class notify tmpUpdateNode = new EntryInfo( ClassExcange.classAssertLabel, ClassExcange.predClassIcon); infcategory = new DefaultMutableTreeNode( tmpUpdateNode); init = false; } tmpUpdateNode = new EntryInfo( ClassExcange.getRenderer().render(inf), ClassExcange.classInfIcon); DefaultMutableTreeNode a = new DefaultMutableTreeNode( tmpUpdateNode); infcategory.add( a); } } } if( infcategory != null) top.add( infcategory); } return( top); } // Required by TreeSelectionListener interface. // action listener: item selected public void valueChanged(TreeSelectionEvent e) { // implemented as double click } public static synchronized void doubleClick( MouseEvent e){ //ClassExcange.changeVisibilityProgressBar(true); if (e.getClickCount() == 2){ DefaultMutableTreeNode node = (DefaultMutableTreeNode) tree.getLastSelectedPathComponent(); if (node == null) return; Object nodeInfo = node.getUserObject(); final EntryInfo entry = (EntryInfo) nodeInfo; if( (entry.getIconNumber() == ClassExcange.individualcon) || (entry.getIconNumber() == ClassExcange.individualInfIcon)){ //Thread t = new Thread( new IndividualGuiRunner( entry.toString(),individualGuiID)); //t.start(); new IndividualGuiRunner( entry.toString(),individualGuiID); individualGuiID++; if( individualGuiID >= Integer.MAX_VALUE) individualGuiID = 0; } tree.setSelectionPath(null); } //ClassExcange.changeVisibilityProgressBar(false); } // manage icons in the tree private class TreeRender extends DefaultTreeCellRenderer { private static final long serialVersionUID = 1L; public Component getTreeCellRendererComponent( JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus) { super.getTreeCellRendererComponent( tree, value, sel, expanded, leaf, row, hasFocus); synchronized( ClassExcange.getTreeObj()){ String txt = hasText(value); if( txt != null) setText( txt); ImageIcon symb = hasIcond(value); if ( symb != null) setIcon( symb); else { System.err.println("icon missing; using default."); setToolTipText(null); //no tool tip } if( txt != null && symb != null) hasColor(txt); return this; } } protected ImageIcon hasIcond(Object value) { DefaultMutableTreeNode node = (DefaultMutableTreeNode)value; try{ EntryInfo nodeInfo = (EntryInfo)(node.getUserObject()); return( nodeInfo.getIcon()); }catch(java.lang.ClassCastException e){ e.printStackTrace(); return(null); } } protected String hasText(Object value) { DefaultMutableTreeNode node = (DefaultMutableTreeNode)value; try{ EntryInfo nodeInfo = (EntryInfo)(node.getUserObject()); return( nodeInfo.toString()); }catch(java.lang.ClassCastException e){ e.printStackTrace(); return(null); } } protected void hasColor( String txt) { if( ClassExcange.isColorMatchSearch()){ // match all the string if( ClassExcange.getAllColorToFollow().keySet().contains( txt)){ setForeground( ClassExcange.getAllColorToFollow().get( txt)); }else{ setForeground(ClassExcange.getNullcolor()); } } else { // search for string which contains for( String stri : ClassExcange.getAllColorToFollow().keySet()){ String st = stri.toLowerCase(); String s = txt.toLowerCase(); if( s.contains( st)){ setForeground( ClassExcange.getAllColorToFollow().get( stri)); break; } else setForeground(ClassExcange.getNullcolor()); } } } } // ########## OPERATE OVER A TREE ############# public static ArrayList<TreePath> find( String str, boolean exact){ @SuppressWarnings("unchecked") Enumeration<DefaultMutableTreeNode> e = top.depthFirstEnumeration(); ArrayList<TreePath> paths = new ArrayList<TreePath>(); while (e.hasMoreElements()) { DefaultMutableTreeNode node = e.nextElement(); if( exact){ if (node.toString().equalsIgnoreCase(str)) { paths.add( new TreePath(node.getPath())); } } else { if (node.toString().contains(str)) { paths.add( new TreePath(node.getPath())); } } } return( paths); } // null if doesn't wxist // update the selected path // return the same path in the n public static TreePath isPath( JTree tree, TreePath path){ DefaultMutableTreeNode top = (DefaultMutableTreeNode)tree.getModel().getRoot(); if( top != null){ Enumeration<DefaultMutableTreeNode> e = top.depthFirstEnumeration(); while (e.hasMoreElements()) { DefaultMutableTreeNode node = e.nextElement(); TreePath exploring = new TreePath(node.getPath()); if ( exploring.toString().equals( path.toString())){ return( exploring); } } } return( null); } public static void expandAll( boolean expand_collapse){ try{ for (int i = 1; i < tree.getRowCount(); i++) if( expand_collapse) tree.expandRow(i); else tree.collapseRow(i); treePanel.getViewport().add( ClassExcange.getTreeObj()); }catch( ArrayIndexOutOfBoundsException e){} } public static Enumeration<TreePath> saveExpansionState(JTree tree) { return tree.getExpandedDescendants(new TreePath(tree.getModel().getRoot())); } public static void loadExpansionState(JTree tree, Enumeration<TreePath> enumeration) { if (enumeration != null) { while (enumeration.hasMoreElements()) { TreePath treePath = enumeration.nextElement(); treePath = isPath( tree, treePath); if( treePath != null) tree.expandPath(treePath); // not working for leaf nodes } } else expandAll(true); } public static synchronized JTree getTree() { return tree; } /** * @return the treePanel */ protected static synchronized JScrollPane getTreePanel() { return treePanel; } /** * @param treePanel the treePanel to set */ protected static synchronized void setTreePanel(JScrollPane treePanel) { ClassTree.treePanel = treePanel; } /** * @param tree the tree to set */ protected static synchronized void setTree(JTree tree) { ClassTree.tree = tree; } } class TreeWorker extends SwingWorker< DefaultMutableTreeNode, String> { ClassTree caller; DefaultMutableTreeNode top; boolean excecute = false; public TreeWorker( ClassTree caller){ this.caller = caller; if( ! excecute) this.execute(); } @Override protected synchronized DefaultMutableTreeNode doInBackground() throws Exception { ClassExcange.setNewTreeObj( caller.getTop()); excecute = true; ClassExcange.getProgressBar().setVisible( excecute);//.changeVisibilityProgressBar( true); EntryInfo ei = new EntryInfo( ClassExcange.getRootClassname(), ClassExcange.classIcon); top = new DefaultMutableTreeNode( ei); top = caller.createNodes( top, ClassExcange.getRootClassname()); ClassExcange.setNewTreeObj( top); ClassExcange.getTreeObj().expandPath(new TreePath(top.getPath())); excecute = false; ClassExcange.getProgressBar().setVisible( excecute); return top; } @Override protected synchronized void done(){ synchronized( ClassTree.getTree()){ if( top != null){ caller.setTop( top); EntryInfo.setTopTree(top); ClassTree.setTree( ClassExcange.getTreeObj()); ClassTree.setTreePanel( ClassExcange.getTreePanelObj()); //ClassExcange.setNewTreeObj( top); } } } }
true
ac2cf57ba7effc27e7dde157233ee3cceddf8d8c
Java
lasserotzol/uebung_6
/src/Autotester.java
UTF-8
712
2.953125
3
[]
no_license
public class Autotester { public static void main(String[] args) { Auto testwagen1 = new Auto(0.1,300); Auto testwagen2 = new Auto(0.07,50); for (int a = 1; a < 4; a++) { int kilometerstand1 = Zufall.getZufallInt(0, 1000); int kilometerstand2 = Zufall.getZufallInt(0, 1000); testwagen1.fahre(kilometerstand1); testwagen2.fahre(kilometerstand2); System.out.println("Auto A ist bereits gefahren " + testwagen1.kilometerstand); System.out.println("Tankstand Auto A " + testwagen1.tankinhalt); System.out.println("Auto B ist bereits gefahren " + testwagen2.kilometerstand); System.out.println("Tankstand Auto B " + testwagen2.tankinhalt); } } }
true
f408e0fa32e3a52971e1d97340d773dc3586d16a
Java
Bhavdip/RxCompass
/rxsensor/src/main/java/com/adb/rxsensor/CompassHelper.java
UTF-8
4,740
2.125
2
[]
no_license
package com.adb.rxsensor; import android.content.Context; import android.hardware.Sensor; import android.hardware.SensorEventListener; import android.hardware.SensorManager; import android.view.Display; import java.util.ArrayList; import java.util.Iterator; import static android.view.Surface.ROTATION_0; import static android.view.Surface.ROTATION_180; import static android.view.Surface.ROTATION_270; import static android.view.Surface.ROTATION_90; /** * Created by bhavdip on 2/6/18. */ public class CompassHelper { boolean threeSensorPresent = false; private ArrayList<SensorUpdateCallback> callbackList = new ArrayList<>(); private boolean isAllSensorReg = false; private boolean isStarted = false; public float e = 0.0f; private long f = Long.MAX_VALUE; private Context mContext; private Display mDisplay; private SensorEventListener magnaticAccelListener = new MagneticsAcceptListener(this); private SensorEventListener rotationVectorListener = new RotationVectorListener(this); private int displayRotation = 0; public CompassHelper(Context context, Display display) { this.mContext = context; this.mDisplay = display; } public int getRotation() { switch (mDisplay.getRotation()) { case ROTATION_90: displayRotation = 90; break; case ROTATION_180: displayRotation = 180; break; case ROTATION_270: this.displayRotation = 270; break; default: this.displayRotation = ROTATION_0; break; } return this.displayRotation; } public void notifyValue(float f) { Iterator it = this.callbackList.iterator(); while (it.hasNext()) { ((SensorUpdateCallback) it.next()).onBearingValue(f); } } public void b(float f) { float abs = Math.abs(f - this.e); while (abs > 180.0f) { abs = Math.abs(abs - 360.0f); } if (abs < 145.0f) { this.f = System.currentTimeMillis(); } else if (System.currentTimeMillis() - this.f > 800) { unregisterSensorListener(); registerSensorListener(); } } private void registerSensorListener() { SensorManager sensorManager = (SensorManager) this.mContext.getSystemService(Context.SENSOR_SERVICE); if (sensorManager != null) { Sensor sensorMagneticField = sensorManager.getDefaultSensor(Sensor.TYPE_MAGNETIC_FIELD); Sensor sensorAccelerometer = sensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); Sensor sensorRotationVector = sensorManager.getDefaultSensor(Sensor.TYPE_ROTATION_VECTOR); this.threeSensorPresent = false; if (sensorRotationVector != null) { this.threeSensorPresent = true; } else if (sensorAccelerometer == null) { return; } else { if (sensorMagneticField == null) { return; } } if (this.threeSensorPresent) { sensorManager.registerListener(this.rotationVectorListener, sensorRotationVector, 33000); sensorManager.registerListener(this.magnaticAccelListener, sensorMagneticField, SensorManager.SENSOR_DELAY_NORMAL); sensorManager.registerListener(this.magnaticAccelListener, sensorAccelerometer, SensorManager.SENSOR_DELAY_NORMAL); } else { sensorManager.registerListener(this.magnaticAccelListener, sensorMagneticField, SensorManager.SENSOR_DELAY_UI); sensorManager.registerListener(this.magnaticAccelListener, sensorAccelerometer, SensorManager.SENSOR_DELAY_UI); } this.isAllSensorReg = true; } } private void unregisterSensorListener() { if (this.isAllSensorReg) { SensorManager sensorManager = (SensorManager) this.mContext.getSystemService(Context.SENSOR_SERVICE); sensorManager.unregisterListener(this.magnaticAccelListener, sensorManager.getDefaultSensor(Sensor.TYPE_MAGNETIC_FIELD)); sensorManager.unregisterListener(this.magnaticAccelListener, sensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER)); sensorManager.unregisterListener(this.rotationVectorListener, sensorManager.getDefaultSensor(Sensor.TYPE_ROTATION_VECTOR)); this.f = Long.MAX_VALUE; this.isAllSensorReg = false; } } public void registerAndStartListen(SensorUpdateCallback sensorUpdateCallbackVar) { this.callbackList.add(sensorUpdateCallbackVar); if (!this.isStarted && !this.isAllSensorReg) { registerSensorListener(); this.isStarted = true; } } public void stopListen() { if (this.isAllSensorReg) { unregisterSensorListener(); if (callbackList.size() > 0) { callbackList.clear(); } this.isStarted = false; } } }
true
1c2af86082803dca4d7f12a7c50ea04b841867aa
Java
STAMP-project/Cling-application
/results/randoop10/closure-com.google.javascript.jscomp.NodeUtil-com.google.javascript.rhino.Node-14/RegressionTest22.java
UTF-8
1,704,878
2.03125
2
[]
no_license
import org.junit.FixMethodOrder; import org.junit.Test; import org.junit.runners.MethodSorters; @FixMethodOrder(MethodSorters.NAME_ASCENDING) public class RegressionTest22 { public static boolean debug = false; @Test public void test4401() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4401"); com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec assertionFunctionSpec1 = new com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec("Not declared as a type name"); com.google.javascript.rhino.Node node3 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node4 = com.google.javascript.jscomp.NodeUtil.newExpr(node3); java.lang.String str5 = node4.toString(); boolean boolean6 = node4.isLocalResultCall(); com.google.javascript.rhino.Node node7 = assertionFunctionSpec1.getAssertedParam(node4); com.google.javascript.rhino.Node node10 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean11 = node10.isLabelName(); java.util.Set<java.lang.String> strSet12 = node10.getDirectives(); com.google.javascript.rhino.Node node14 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean15 = node14.isLabelName(); com.google.javascript.rhino.Node[] nodeArray16 = new com.google.javascript.rhino.Node[] { node10, node14 }; com.google.javascript.rhino.Node node19 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray16, 50, 50); com.google.javascript.rhino.Node node21 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node19.addChildToFront(node21); com.google.javascript.rhino.Node node23 = node21.detachFromParent(); boolean boolean24 = node21.isWhile(); boolean boolean25 = node21.isComma(); com.google.javascript.rhino.ErrorReporter errorReporter26 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry27 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter26); com.google.javascript.rhino.jstype.ObjectType objectType28 = null; com.google.javascript.rhino.jstype.JSType jSType29 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray30 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList31 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean32 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList31, jSTypeArray30); com.google.javascript.rhino.jstype.JSType jSType33 = jSTypeRegistry27.createFunctionTypeWithVarArgs(objectType28, jSType29, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList31); com.google.javascript.rhino.ErrorReporter errorReporter34 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry35 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter34); com.google.javascript.rhino.jstype.ObjectType objectType36 = null; com.google.javascript.rhino.jstype.JSType jSType37 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray38 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList39 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean40 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList39, jSTypeArray38); com.google.javascript.rhino.jstype.JSType jSType41 = jSTypeRegistry35.createFunctionTypeWithVarArgs(objectType36, jSType37, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList39); com.google.javascript.rhino.ErrorReporter errorReporter42 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry43 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter42); com.google.javascript.rhino.jstype.ObjectType objectType44 = null; com.google.javascript.rhino.jstype.JSType jSType45 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray46 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList47 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean48 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList47, jSTypeArray46); com.google.javascript.rhino.jstype.JSType jSType49 = jSTypeRegistry43.createFunctionTypeWithVarArgs(objectType44, jSType45, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList47); com.google.javascript.rhino.ErrorReporter errorReporter50 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry51 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter50); com.google.javascript.rhino.jstype.ObjectType objectType52 = null; com.google.javascript.rhino.jstype.JSType jSType53 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray54 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList55 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean56 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList55, jSTypeArray54); com.google.javascript.rhino.jstype.JSType jSType57 = jSTypeRegistry51.createFunctionTypeWithVarArgs(objectType52, jSType53, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList55); boolean boolean58 = jSType57.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType59 = jSType57.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter60 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry61 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter60); com.google.javascript.rhino.jstype.ObjectType objectType62 = null; com.google.javascript.rhino.jstype.JSType jSType63 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray64 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList65 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean66 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList65, jSTypeArray64); com.google.javascript.rhino.jstype.JSType jSType67 = jSTypeRegistry61.createFunctionTypeWithVarArgs(objectType62, jSType63, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList65); com.google.javascript.rhino.jstype.JSType[] jSTypeArray68 = new com.google.javascript.rhino.jstype.JSType[] { jSType45, jSType59, objectType62 }; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList69 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean70 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList69, jSTypeArray68); boolean boolean71 = jSTypeList39.containsAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList69); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet72 = com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE; boolean boolean74 = booleanLiteralSet72.contains(false); boolean boolean76 = booleanLiteralSet72.contains(false); int int77 = jSTypeList39.lastIndexOf((java.lang.Object) false); com.google.common.collect.ImmutableList<java.lang.Iterable<com.google.javascript.rhino.jstype.JSType>> jSTypeIterableList78 = com.google.common.collect.ImmutableList.of((java.lang.Iterable<com.google.javascript.rhino.jstype.JSType>) jSTypeList39); com.google.javascript.rhino.Node node79 = jSTypeRegistry27.createParameters((java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList39); com.google.javascript.rhino.jstype.JSTypeNative[] jSTypeNativeArray80 = new com.google.javascript.rhino.jstype.JSTypeNative[] {}; com.google.javascript.rhino.jstype.JSType jSType81 = jSTypeRegistry27.createUnionType(jSTypeNativeArray80); com.google.javascript.rhino.jstype.JSType jSType82 = assertionFunctionSpec1.getAssertedType(node21, jSTypeRegistry27); jSTypeRegistry27.identifyNonNullableName("PARAM_LIST"); jSTypeRegistry27.clearNamedTypes(); org.junit.Assert.assertNotNull(node3); org.junit.Assert.assertNotNull(node4); org.junit.Assert.assertEquals("'" + str5 + "' != '" + "EXPR_RESULT" + "'", str5, "EXPR_RESULT"); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(node7); org.junit.Assert.assertNotNull(node10); org.junit.Assert.assertTrue("'" + boolean11 + "' != '" + false + "'", boolean11 == false); org.junit.Assert.assertNull(strSet12); org.junit.Assert.assertNotNull(node14); org.junit.Assert.assertTrue("'" + boolean15 + "' != '" + false + "'", boolean15 == false); org.junit.Assert.assertNotNull(nodeArray16); org.junit.Assert.assertNotNull(node21); org.junit.Assert.assertNotNull(node23); org.junit.Assert.assertTrue("'" + boolean24 + "' != '" + false + "'", boolean24 == false); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); org.junit.Assert.assertNotNull(jSTypeArray30); org.junit.Assert.assertTrue("'" + boolean32 + "' != '" + false + "'", boolean32 == false); org.junit.Assert.assertNotNull(jSType33); org.junit.Assert.assertNotNull(jSTypeArray38); org.junit.Assert.assertTrue("'" + boolean40 + "' != '" + false + "'", boolean40 == false); org.junit.Assert.assertNotNull(jSType41); org.junit.Assert.assertNotNull(jSTypeArray46); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(jSType49); org.junit.Assert.assertNotNull(jSTypeArray54); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertTrue("'" + boolean58 + "' != '" + false + "'", boolean58 == false); org.junit.Assert.assertNotNull(jSType59); org.junit.Assert.assertNotNull(jSTypeArray64); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertNotNull(jSType67); org.junit.Assert.assertNotNull(jSTypeArray68); org.junit.Assert.assertTrue("'" + boolean70 + "' != '" + true + "'", boolean70 == true); org.junit.Assert.assertTrue("'" + boolean71 + "' != '" + false + "'", boolean71 == false); org.junit.Assert.assertTrue("'" + booleanLiteralSet72 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE + "'", booleanLiteralSet72.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE)); org.junit.Assert.assertTrue("'" + boolean74 + "' != '" + true + "'", boolean74 == true); org.junit.Assert.assertTrue("'" + boolean76 + "' != '" + true + "'", boolean76 == true); org.junit.Assert.assertTrue("'" + int77 + "' != '" + (-1) + "'", int77 == (-1)); org.junit.Assert.assertNotNull(jSTypeIterableList78); org.junit.Assert.assertNotNull(node79); org.junit.Assert.assertNotNull(jSTypeNativeArray80); org.junit.Assert.assertNotNull(jSType81); org.junit.Assert.assertNull(jSType82); } @Test public void test4402() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4402"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); boolean boolean8 = jSType7.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter9 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry10 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter9); com.google.javascript.rhino.ErrorReporter errorReporter11 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry12 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter11); com.google.javascript.rhino.jstype.ObjectType objectType13 = null; com.google.javascript.rhino.jstype.JSType jSType14 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray15 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList16 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean17 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList16, jSTypeArray15); com.google.javascript.rhino.jstype.JSType jSType18 = jSTypeRegistry12.createFunctionTypeWithVarArgs(objectType13, jSType14, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList16); boolean boolean19 = jSType18.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter21 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry22 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter21); com.google.javascript.rhino.jstype.ObjectType objectType23 = null; com.google.javascript.rhino.jstype.JSType jSType24 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray25 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList26 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean27 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList26, jSTypeArray25); com.google.javascript.rhino.jstype.JSType jSType28 = jSTypeRegistry22.createFunctionTypeWithVarArgs(objectType23, jSType24, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList26); boolean boolean29 = jSType28.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType30 = jSType28.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter31 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry32 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter31); com.google.javascript.rhino.jstype.ObjectType objectType33 = null; com.google.javascript.rhino.jstype.JSType jSType34 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray35 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList36 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean37 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList36, jSTypeArray35); com.google.javascript.rhino.jstype.JSType jSType38 = jSTypeRegistry32.createFunctionTypeWithVarArgs(objectType33, jSType34, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList36); boolean boolean39 = jSType38.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType40 = jSType38.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter41 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry42 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter41); com.google.javascript.rhino.jstype.ObjectType objectType43 = null; com.google.javascript.rhino.jstype.JSType jSType44 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray45 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList46 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean47 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList46, jSTypeArray45); com.google.javascript.rhino.jstype.JSType jSType48 = jSTypeRegistry42.createFunctionTypeWithVarArgs(objectType43, jSType44, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList46); com.google.javascript.rhino.ErrorReporter errorReporter49 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry50 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter49); com.google.javascript.rhino.jstype.ObjectType objectType51 = null; com.google.javascript.rhino.jstype.JSType jSType52 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray53 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList54 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean55 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList54, jSTypeArray53); com.google.javascript.rhino.jstype.JSType jSType56 = jSTypeRegistry50.createFunctionTypeWithVarArgs(objectType51, jSType52, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList54); boolean boolean57 = jSType56.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType58 = jSType56.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter59 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry60 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter59); com.google.javascript.rhino.jstype.ObjectType objectType61 = null; com.google.javascript.rhino.jstype.JSType jSType62 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray63 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList64 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean65 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList64, jSTypeArray63); com.google.javascript.rhino.jstype.JSType jSType66 = jSTypeRegistry60.createFunctionTypeWithVarArgs(objectType61, jSType62, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList64); com.google.javascript.rhino.ErrorReporter errorReporter67 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry68 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter67); com.google.javascript.rhino.jstype.ObjectType objectType69 = null; com.google.javascript.rhino.jstype.JSType jSType70 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray71 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList72 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean73 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList72, jSTypeArray71); com.google.javascript.rhino.jstype.JSType jSType74 = jSTypeRegistry68.createFunctionTypeWithVarArgs(objectType69, jSType70, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList72); boolean boolean75 = jSType74.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType76 = jSType74.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray77 = new com.google.javascript.rhino.jstype.JSType[] { jSType30, jSType38, jSType44, jSType58, jSType66, objectType76 }; com.google.javascript.rhino.jstype.FunctionType functionType78 = jSTypeRegistry10.createConstructorType(jSType18, false, jSTypeArray77); boolean boolean79 = jSType7.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType78); com.google.javascript.rhino.jstype.ObjectType objectType80 = functionType78.getImplicitPrototype(); boolean boolean82 = functionType78.hasOwnProperty("hi!"); com.google.javascript.rhino.JSDocInfo jSDocInfo84 = new com.google.javascript.rhino.JSDocInfo(); java.lang.String str85 = jSDocInfo84.getOriginalCommentString(); boolean boolean86 = jSDocInfo84.hasReturnType(); boolean boolean87 = jSDocInfo84.isConsistentIdGenerator(); java.lang.String str88 = jSDocInfo84.toString(); com.google.javascript.rhino.JSTypeExpression jSTypeExpression89 = jSDocInfo84.getBaseType(); boolean boolean90 = jSDocInfo84.isIdGenerator(); functionType78.setPropertyJSDocInfo("Not declared as a constructor", jSDocInfo84); java.util.List<com.google.javascript.rhino.JSTypeExpression> jSTypeExpressionList92 = jSDocInfo84.getImplementedInterfaces(); boolean boolean93 = jSDocInfo84.isExpose(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSTypeArray15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(jSType18); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(jSTypeArray25); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(jSType28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(jSType30); org.junit.Assert.assertNotNull(jSTypeArray35); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSType38); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(jSType40); org.junit.Assert.assertNotNull(jSTypeArray45); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(jSType48); org.junit.Assert.assertNotNull(jSTypeArray53); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); org.junit.Assert.assertNotNull(jSType56); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNotNull(jSType58); org.junit.Assert.assertNotNull(jSTypeArray63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(jSType66); org.junit.Assert.assertNotNull(jSTypeArray71); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNotNull(jSType74); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(objectType76); org.junit.Assert.assertNotNull(jSTypeArray77); org.junit.Assert.assertNotNull(functionType78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + true + "'", boolean79 == true); org.junit.Assert.assertNotNull(objectType80); org.junit.Assert.assertTrue("'" + boolean82 + "' != '" + false + "'", boolean82 == false); org.junit.Assert.assertNull(str85); org.junit.Assert.assertTrue("'" + boolean86 + "' != '" + false + "'", boolean86 == false); org.junit.Assert.assertTrue("'" + boolean87 + "' != '" + false + "'", boolean87 == false); org.junit.Assert.assertEquals("'" + str88 + "' != '" + "JSDocInfo" + "'", str88, "JSDocInfo"); org.junit.Assert.assertNull(jSTypeExpression89); org.junit.Assert.assertTrue("'" + boolean90 + "' != '" + false + "'", boolean90 == false); org.junit.Assert.assertNotNull(jSTypeExpressionList92); org.junit.Assert.assertTrue("'" + boolean93 + "' != '" + false + "'", boolean93 == false); } @Test public void test4403() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4403"); com.google.javascript.jscomp.CodingConvention.SubclassType subclassType1 = com.google.javascript.jscomp.CodingConvention.SubclassType.MIXIN; com.google.javascript.rhino.Node node4 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean5 = node4.isLabelName(); java.util.Set<java.lang.String> strSet6 = node4.getDirectives(); com.google.javascript.rhino.Node node8 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean9 = node8.isLabelName(); com.google.javascript.rhino.Node[] nodeArray10 = new com.google.javascript.rhino.Node[] { node4, node8 }; com.google.javascript.rhino.Node node13 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray10, 50, 50); com.google.javascript.rhino.Node node15 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node13.addChildToFront(node15); boolean boolean17 = node13.isNew(); node13.setLineno((int) (short) 10); com.google.javascript.rhino.Node node21 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node22 = com.google.javascript.jscomp.NodeUtil.newExpr(node21); com.google.javascript.jscomp.CodingConvention.SubclassRelationship subclassRelationship23 = new com.google.javascript.jscomp.CodingConvention.SubclassRelationship(subclassType1, node13, node22); com.google.javascript.rhino.Node node24 = new com.google.javascript.rhino.Node((int) (short) 1, node13); com.google.javascript.rhino.Node node27 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean28 = node27.isLabelName(); java.util.Set<java.lang.String> strSet29 = node27.getDirectives(); com.google.javascript.rhino.Node node31 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean32 = node31.isLabelName(); com.google.javascript.rhino.Node[] nodeArray33 = new com.google.javascript.rhino.Node[] { node27, node31 }; com.google.javascript.rhino.Node node36 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray33, 50, 50); com.google.javascript.rhino.Node node38 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node36.addChildToFront(node38); boolean boolean40 = node38.isDefaultCase(); com.google.javascript.rhino.Node node41 = node38.getParent(); node38.detachChildren(); java.lang.String str43 = node38.toString(); com.google.javascript.jscomp.CodingConvention.SubclassType subclassType44 = com.google.javascript.jscomp.CodingConvention.SubclassType.MIXIN; com.google.javascript.rhino.Node node47 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean48 = node47.isLabelName(); java.util.Set<java.lang.String> strSet49 = node47.getDirectives(); com.google.javascript.rhino.Node node51 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean52 = node51.isLabelName(); com.google.javascript.rhino.Node[] nodeArray53 = new com.google.javascript.rhino.Node[] { node47, node51 }; com.google.javascript.rhino.Node node56 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray53, 50, 50); com.google.javascript.rhino.Node node58 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node56.addChildToFront(node58); boolean boolean60 = node56.isNew(); node56.setLineno((int) (short) 10); com.google.javascript.rhino.Node node64 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node65 = com.google.javascript.jscomp.NodeUtil.newExpr(node64); com.google.javascript.jscomp.CodingConvention.SubclassRelationship subclassRelationship66 = new com.google.javascript.jscomp.CodingConvention.SubclassRelationship(subclassType44, node56, node65); boolean boolean67 = node56.isWith(); boolean boolean68 = node56.isInc(); boolean boolean69 = node56.isSwitch(); com.google.javascript.rhino.Node node71 = node56.getChildAtIndex((int) (short) 0); com.google.javascript.rhino.JSDocInfo jSDocInfo72 = node71.getJSDocInfo(); com.google.javascript.rhino.Node.FileLevelJsDocBuilder fileLevelJsDocBuilder73 = node71.getJsDocBuilderForNode(); // The following exception was thrown during execution in test generation try { node24.replaceChild(node38, node71); org.junit.Assert.fail("Expected exception of type java.lang.IllegalArgumentException; message: The new child node has siblings."); } catch (java.lang.IllegalArgumentException e) { // Expected exception. } org.junit.Assert.assertTrue("'" + subclassType1 + "' != '" + com.google.javascript.jscomp.CodingConvention.SubclassType.MIXIN + "'", subclassType1.equals(com.google.javascript.jscomp.CodingConvention.SubclassType.MIXIN)); org.junit.Assert.assertNotNull(node4); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNull(strSet6); org.junit.Assert.assertNotNull(node8); org.junit.Assert.assertTrue("'" + boolean9 + "' != '" + false + "'", boolean9 == false); org.junit.Assert.assertNotNull(nodeArray10); org.junit.Assert.assertNotNull(node15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(node21); org.junit.Assert.assertNotNull(node22); org.junit.Assert.assertNotNull(node27); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNull(strSet29); org.junit.Assert.assertNotNull(node31); org.junit.Assert.assertTrue("'" + boolean32 + "' != '" + false + "'", boolean32 == false); org.junit.Assert.assertNotNull(nodeArray33); org.junit.Assert.assertNotNull(node38); org.junit.Assert.assertTrue("'" + boolean40 + "' != '" + false + "'", boolean40 == false); org.junit.Assert.assertNotNull(node41); org.junit.Assert.assertEquals("'" + str43 + "' != '" + "STRING Not declared as a constructor" + "'", str43, "STRING Not declared as a constructor"); org.junit.Assert.assertTrue("'" + subclassType44 + "' != '" + com.google.javascript.jscomp.CodingConvention.SubclassType.MIXIN + "'", subclassType44.equals(com.google.javascript.jscomp.CodingConvention.SubclassType.MIXIN)); org.junit.Assert.assertNotNull(node47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNull(strSet49); org.junit.Assert.assertNotNull(node51); org.junit.Assert.assertTrue("'" + boolean52 + "' != '" + false + "'", boolean52 == false); org.junit.Assert.assertNotNull(nodeArray53); org.junit.Assert.assertNotNull(node58); org.junit.Assert.assertTrue("'" + boolean60 + "' != '" + false + "'", boolean60 == false); org.junit.Assert.assertNotNull(node64); org.junit.Assert.assertNotNull(node65); org.junit.Assert.assertTrue("'" + boolean67 + "' != '" + false + "'", boolean67 == false); org.junit.Assert.assertTrue("'" + boolean68 + "' != '" + false + "'", boolean68 == false); org.junit.Assert.assertTrue("'" + boolean69 + "' != '" + false + "'", boolean69 == false); org.junit.Assert.assertNotNull(node71); org.junit.Assert.assertNull(jSDocInfo72); org.junit.Assert.assertNotNull(fileLevelJsDocBuilder73); } @Test public void test4404() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4404"); com.google.javascript.jscomp.CodingConvention.SubclassType subclassType0 = com.google.javascript.jscomp.CodingConvention.SubclassType.MIXIN; com.google.javascript.rhino.Node node2 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node3 = com.google.javascript.jscomp.NodeUtil.newExpr(node2); boolean boolean4 = node2.isScript(); boolean boolean5 = node2.isComma(); node2.setLineno((int) '#'); boolean boolean8 = node2.isBreak(); boolean boolean9 = node2.isNE(); boolean boolean10 = node2.isIn(); com.google.javascript.rhino.Node node12 = com.google.javascript.rhino.Node.newString("[]"); java.util.Collection<com.google.javascript.rhino.Node> nodeCollection13 = com.google.javascript.jscomp.NodeUtil.getVarsDeclaredInBranch(node12); com.google.javascript.jscomp.CodingConvention.SubclassRelationship subclassRelationship14 = new com.google.javascript.jscomp.CodingConvention.SubclassRelationship(subclassType0, node2, node12); com.google.javascript.rhino.Node node19 = com.google.javascript.rhino.Node.newString((int) ' ', "function (): ?", 47, (-1)); com.google.javascript.rhino.Node node22 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean23 = node22.isLabelName(); java.util.Set<java.lang.String> strSet24 = node22.getDirectives(); com.google.javascript.rhino.Node node26 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean27 = node26.isLabelName(); com.google.javascript.rhino.Node[] nodeArray28 = new com.google.javascript.rhino.Node[] { node22, node26 }; com.google.javascript.rhino.Node node31 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray28, 50, 50); com.google.javascript.rhino.Node node33 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node31.addChildToFront(node33); boolean boolean35 = node31.isNoSideEffectsCall(); boolean boolean36 = node31.isName(); boolean boolean37 = node31.isAdd(); boolean boolean38 = node31.isHook(); com.google.javascript.rhino.Node node41 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean42 = node41.isLabelName(); java.util.Set<java.lang.String> strSet43 = node41.getDirectives(); com.google.javascript.rhino.Node node45 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean46 = node45.isLabelName(); com.google.javascript.rhino.Node[] nodeArray47 = new com.google.javascript.rhino.Node[] { node41, node45 }; com.google.javascript.rhino.Node node50 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray47, 50, 50); com.google.javascript.rhino.Node node52 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node50.addChildToFront(node52); boolean boolean54 = node50.isNoSideEffectsCall(); boolean boolean55 = node50.isName(); boolean boolean56 = node50.isAdd(); boolean boolean57 = node50.isHook(); com.google.javascript.rhino.Node node58 = node31.useSourceInfoIfMissingFromForTree(node50); node58.detachChildren(); com.google.javascript.jscomp.CodingConvention.SubclassRelationship subclassRelationship60 = new com.google.javascript.jscomp.CodingConvention.SubclassRelationship(subclassType0, node19, node58); boolean boolean61 = node19.isOr(); org.junit.Assert.assertTrue("'" + subclassType0 + "' != '" + com.google.javascript.jscomp.CodingConvention.SubclassType.MIXIN + "'", subclassType0.equals(com.google.javascript.jscomp.CodingConvention.SubclassType.MIXIN)); org.junit.Assert.assertNotNull(node2); org.junit.Assert.assertNotNull(node3); org.junit.Assert.assertTrue("'" + boolean4 + "' != '" + false + "'", boolean4 == false); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertTrue("'" + boolean9 + "' != '" + false + "'", boolean9 == false); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNotNull(node12); org.junit.Assert.assertNotNull(nodeCollection13); org.junit.Assert.assertNotNull(node19); org.junit.Assert.assertNotNull(node22); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + false + "'", boolean23 == false); org.junit.Assert.assertNull(strSet24); org.junit.Assert.assertNotNull(node26); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(nodeArray28); org.junit.Assert.assertNotNull(node33); org.junit.Assert.assertTrue("'" + boolean35 + "' != '" + false + "'", boolean35 == false); org.junit.Assert.assertTrue("'" + boolean36 + "' != '" + false + "'", boolean36 == false); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(node41); org.junit.Assert.assertTrue("'" + boolean42 + "' != '" + false + "'", boolean42 == false); org.junit.Assert.assertNull(strSet43); org.junit.Assert.assertNotNull(node45); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(nodeArray47); org.junit.Assert.assertNotNull(node52); org.junit.Assert.assertTrue("'" + boolean54 + "' != '" + false + "'", boolean54 == false); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNotNull(node58); org.junit.Assert.assertTrue("'" + boolean61 + "' != '" + false + "'", boolean61 == false); } @Test public void test4405() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4405"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); jSTypeRegistry1.resetForTypeCheck(); com.google.javascript.rhino.ErrorReporter errorReporter3 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry4 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter3); com.google.javascript.rhino.jstype.ObjectType objectType5 = null; com.google.javascript.rhino.jstype.JSType jSType6 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray7 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList8 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean9 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList8, jSTypeArray7); com.google.javascript.rhino.jstype.JSType jSType10 = jSTypeRegistry4.createFunctionTypeWithVarArgs(objectType5, jSType6, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList8); boolean boolean11 = jSType10.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter12 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry13 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter12); com.google.javascript.rhino.ErrorReporter errorReporter14 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry15 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter14); com.google.javascript.rhino.jstype.ObjectType objectType16 = null; com.google.javascript.rhino.jstype.JSType jSType17 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray18 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList19 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean20 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList19, jSTypeArray18); com.google.javascript.rhino.jstype.JSType jSType21 = jSTypeRegistry15.createFunctionTypeWithVarArgs(objectType16, jSType17, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList19); boolean boolean22 = jSType21.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter24 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry25 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter24); com.google.javascript.rhino.jstype.ObjectType objectType26 = null; com.google.javascript.rhino.jstype.JSType jSType27 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray28 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList29 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean30 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList29, jSTypeArray28); com.google.javascript.rhino.jstype.JSType jSType31 = jSTypeRegistry25.createFunctionTypeWithVarArgs(objectType26, jSType27, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList29); boolean boolean32 = jSType31.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType33 = jSType31.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter34 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry35 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter34); com.google.javascript.rhino.jstype.ObjectType objectType36 = null; com.google.javascript.rhino.jstype.JSType jSType37 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray38 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList39 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean40 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList39, jSTypeArray38); com.google.javascript.rhino.jstype.JSType jSType41 = jSTypeRegistry35.createFunctionTypeWithVarArgs(objectType36, jSType37, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList39); boolean boolean42 = jSType41.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType43 = jSType41.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter44 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry45 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter44); com.google.javascript.rhino.jstype.ObjectType objectType46 = null; com.google.javascript.rhino.jstype.JSType jSType47 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray48 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList49 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean50 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList49, jSTypeArray48); com.google.javascript.rhino.jstype.JSType jSType51 = jSTypeRegistry45.createFunctionTypeWithVarArgs(objectType46, jSType47, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList49); com.google.javascript.rhino.ErrorReporter errorReporter52 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry53 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter52); com.google.javascript.rhino.jstype.ObjectType objectType54 = null; com.google.javascript.rhino.jstype.JSType jSType55 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray56 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList57 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean58 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList57, jSTypeArray56); com.google.javascript.rhino.jstype.JSType jSType59 = jSTypeRegistry53.createFunctionTypeWithVarArgs(objectType54, jSType55, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList57); boolean boolean60 = jSType59.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType61 = jSType59.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter62 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry63 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter62); com.google.javascript.rhino.jstype.ObjectType objectType64 = null; com.google.javascript.rhino.jstype.JSType jSType65 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray66 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList67 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean68 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList67, jSTypeArray66); com.google.javascript.rhino.jstype.JSType jSType69 = jSTypeRegistry63.createFunctionTypeWithVarArgs(objectType64, jSType65, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList67); com.google.javascript.rhino.ErrorReporter errorReporter70 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry71 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter70); com.google.javascript.rhino.jstype.ObjectType objectType72 = null; com.google.javascript.rhino.jstype.JSType jSType73 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray74 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList75 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean76 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList75, jSTypeArray74); com.google.javascript.rhino.jstype.JSType jSType77 = jSTypeRegistry71.createFunctionTypeWithVarArgs(objectType72, jSType73, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList75); boolean boolean78 = jSType77.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType79 = jSType77.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray80 = new com.google.javascript.rhino.jstype.JSType[] { jSType33, jSType41, jSType47, jSType61, jSType69, objectType79 }; com.google.javascript.rhino.jstype.FunctionType functionType81 = jSTypeRegistry13.createConstructorType(jSType21, false, jSTypeArray80); boolean boolean82 = jSType10.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType81); com.google.javascript.rhino.jstype.ObjectType objectType83 = functionType81.getImplicitPrototype(); boolean boolean84 = functionType81.isUnionType(); java.util.Collection<com.google.javascript.rhino.jstype.FunctionType> functionTypeCollection85 = jSTypeRegistry1.getDirectImplementors((com.google.javascript.rhino.jstype.ObjectType) functionType81); com.google.javascript.rhino.jstype.JSType jSType87 = jSTypeRegistry1.getType("PARAM_LIST"); jSTypeRegistry1.clearNamedTypes(); java.lang.Iterable<com.google.javascript.rhino.jstype.JSType> jSTypeIterable90 = jSTypeRegistry1.getTypesWithProperty(""); jSTypeRegistry1.clearNamedTypes(); org.junit.Assert.assertNotNull(jSTypeArray7); org.junit.Assert.assertTrue("'" + boolean9 + "' != '" + false + "'", boolean9 == false); org.junit.Assert.assertNotNull(jSType10); org.junit.Assert.assertTrue("'" + boolean11 + "' != '" + false + "'", boolean11 == false); org.junit.Assert.assertNotNull(jSTypeArray18); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(jSType21); org.junit.Assert.assertTrue("'" + boolean22 + "' != '" + false + "'", boolean22 == false); org.junit.Assert.assertNotNull(jSTypeArray28); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(jSType31); org.junit.Assert.assertTrue("'" + boolean32 + "' != '" + false + "'", boolean32 == false); org.junit.Assert.assertNotNull(jSType33); org.junit.Assert.assertNotNull(jSTypeArray38); org.junit.Assert.assertTrue("'" + boolean40 + "' != '" + false + "'", boolean40 == false); org.junit.Assert.assertNotNull(jSType41); org.junit.Assert.assertTrue("'" + boolean42 + "' != '" + false + "'", boolean42 == false); org.junit.Assert.assertNotNull(jSType43); org.junit.Assert.assertNotNull(jSTypeArray48); org.junit.Assert.assertTrue("'" + boolean50 + "' != '" + false + "'", boolean50 == false); org.junit.Assert.assertNotNull(jSType51); org.junit.Assert.assertNotNull(jSTypeArray56); org.junit.Assert.assertTrue("'" + boolean58 + "' != '" + false + "'", boolean58 == false); org.junit.Assert.assertNotNull(jSType59); org.junit.Assert.assertTrue("'" + boolean60 + "' != '" + false + "'", boolean60 == false); org.junit.Assert.assertNotNull(jSType61); org.junit.Assert.assertNotNull(jSTypeArray66); org.junit.Assert.assertTrue("'" + boolean68 + "' != '" + false + "'", boolean68 == false); org.junit.Assert.assertNotNull(jSType69); org.junit.Assert.assertNotNull(jSTypeArray74); org.junit.Assert.assertTrue("'" + boolean76 + "' != '" + false + "'", boolean76 == false); org.junit.Assert.assertNotNull(jSType77); org.junit.Assert.assertTrue("'" + boolean78 + "' != '" + false + "'", boolean78 == false); org.junit.Assert.assertNotNull(objectType79); org.junit.Assert.assertNotNull(jSTypeArray80); org.junit.Assert.assertNotNull(functionType81); org.junit.Assert.assertTrue("'" + boolean82 + "' != '" + true + "'", boolean82 == true); org.junit.Assert.assertNotNull(objectType83); org.junit.Assert.assertTrue("'" + boolean84 + "' != '" + false + "'", boolean84 == false); org.junit.Assert.assertNotNull(functionTypeCollection85); org.junit.Assert.assertNull(jSType87); org.junit.Assert.assertNotNull(jSTypeIterable90); } @Test public void test4406() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4406"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.ErrorReporter errorReporter2 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry3 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter2); com.google.javascript.rhino.jstype.ObjectType objectType4 = null; com.google.javascript.rhino.jstype.JSType jSType5 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray6 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList7 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean8 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList7, jSTypeArray6); com.google.javascript.rhino.jstype.JSType jSType9 = jSTypeRegistry3.createFunctionTypeWithVarArgs(objectType4, jSType5, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList7); boolean boolean10 = jSType9.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter12 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry13 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter12); com.google.javascript.rhino.jstype.ObjectType objectType14 = null; com.google.javascript.rhino.jstype.JSType jSType15 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray16 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList17 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean18 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList17, jSTypeArray16); com.google.javascript.rhino.jstype.JSType jSType19 = jSTypeRegistry13.createFunctionTypeWithVarArgs(objectType14, jSType15, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList17); boolean boolean20 = jSType19.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType21 = jSType19.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter22 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry23 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter22); com.google.javascript.rhino.jstype.ObjectType objectType24 = null; com.google.javascript.rhino.jstype.JSType jSType25 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray26 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList27 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean28 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList27, jSTypeArray26); com.google.javascript.rhino.jstype.JSType jSType29 = jSTypeRegistry23.createFunctionTypeWithVarArgs(objectType24, jSType25, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList27); boolean boolean30 = jSType29.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType31 = jSType29.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter32 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry33 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter32); com.google.javascript.rhino.jstype.ObjectType objectType34 = null; com.google.javascript.rhino.jstype.JSType jSType35 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray36 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList37 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean38 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList37, jSTypeArray36); com.google.javascript.rhino.jstype.JSType jSType39 = jSTypeRegistry33.createFunctionTypeWithVarArgs(objectType34, jSType35, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList37); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); boolean boolean48 = jSType47.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType49 = jSType47.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter50 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry51 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter50); com.google.javascript.rhino.jstype.ObjectType objectType52 = null; com.google.javascript.rhino.jstype.JSType jSType53 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray54 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList55 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean56 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList55, jSTypeArray54); com.google.javascript.rhino.jstype.JSType jSType57 = jSTypeRegistry51.createFunctionTypeWithVarArgs(objectType52, jSType53, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList55); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); boolean boolean66 = jSType65.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType67 = jSType65.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray68 = new com.google.javascript.rhino.jstype.JSType[] { jSType21, jSType29, jSType35, jSType49, jSType57, objectType67 }; com.google.javascript.rhino.jstype.FunctionType functionType69 = jSTypeRegistry1.createConstructorType(jSType9, false, jSTypeArray68); boolean boolean70 = functionType69.hasReferenceName(); boolean boolean72 = functionType69.isPropertyInExterns("Not declared as a constructor"); boolean boolean74 = functionType69.isPropertyTypeInferred(""); com.google.javascript.rhino.jstype.ObjectType objectType75 = functionType69.getImplicitPrototype(); com.google.javascript.rhino.JSDocInfo jSDocInfo77 = functionType69.getOwnPropertyJSDocInfo("Not declared as a type name"); com.google.javascript.rhino.jstype.ObjectType.Property property79 = functionType69.getOwnSlot("Function"); boolean boolean80 = functionType69.isFunctionType(); org.junit.Assert.assertNotNull(jSTypeArray6); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSType9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNotNull(jSTypeArray16); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSType19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(jSType21); org.junit.Assert.assertNotNull(jSTypeArray26); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(jSType31); org.junit.Assert.assertNotNull(jSTypeArray36); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(jSType49); org.junit.Assert.assertNotNull(jSTypeArray54); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertNotNull(objectType67); org.junit.Assert.assertNotNull(jSTypeArray68); org.junit.Assert.assertNotNull(functionType69); org.junit.Assert.assertTrue("'" + boolean70 + "' != '" + false + "'", boolean70 == false); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertTrue("'" + boolean74 + "' != '" + false + "'", boolean74 == false); org.junit.Assert.assertNotNull(objectType75); org.junit.Assert.assertNull(jSDocInfo77); org.junit.Assert.assertNull(property79); org.junit.Assert.assertTrue("'" + boolean80 + "' != '" + true + "'", boolean80 == true); } @Test public void test4407() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4407"); com.google.javascript.rhino.JSDocInfo jSDocInfo0 = new com.google.javascript.rhino.JSDocInfo(); boolean boolean1 = jSDocInfo0.isIdGenerator(); boolean boolean2 = jSDocInfo0.hasTypedefType(); com.google.javascript.rhino.Node node3 = jSDocInfo0.getAssociatedNode(); boolean boolean4 = jSDocInfo0.hasEnumParameterType(); java.lang.String str5 = jSDocInfo0.getVersion(); com.google.javascript.rhino.JSTypeExpression jSTypeExpression6 = jSDocInfo0.getReturnType(); java.util.Collection<java.lang.String> strCollection7 = jSDocInfo0.getReferences(); boolean boolean8 = jSDocInfo0.isInterface(); org.junit.Assert.assertTrue("'" + boolean1 + "' != '" + false + "'", boolean1 == false); org.junit.Assert.assertTrue("'" + boolean2 + "' != '" + false + "'", boolean2 == false); org.junit.Assert.assertNull(node3); org.junit.Assert.assertTrue("'" + boolean4 + "' != '" + false + "'", boolean4 == false); org.junit.Assert.assertNull(str5); org.junit.Assert.assertNull(jSTypeExpression6); org.junit.Assert.assertNull(strCollection7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); } @Test public void test4408() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4408"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); boolean boolean8 = jSType7.isOrdinaryFunction(); boolean boolean9 = jSType7.isConstructor(); com.google.javascript.rhino.ErrorReporter errorReporter10 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry11 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter10); com.google.javascript.rhino.jstype.ObjectType objectType12 = null; com.google.javascript.rhino.jstype.JSType jSType13 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray14 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList15 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean16 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList15, jSTypeArray14); com.google.javascript.rhino.jstype.JSType jSType17 = jSTypeRegistry11.createFunctionTypeWithVarArgs(objectType12, jSType13, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList15); boolean boolean18 = jSType17.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter19 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry20 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter19); com.google.javascript.rhino.ErrorReporter errorReporter21 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry22 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter21); com.google.javascript.rhino.jstype.ObjectType objectType23 = null; com.google.javascript.rhino.jstype.JSType jSType24 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray25 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList26 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean27 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList26, jSTypeArray25); com.google.javascript.rhino.jstype.JSType jSType28 = jSTypeRegistry22.createFunctionTypeWithVarArgs(objectType23, jSType24, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList26); boolean boolean29 = jSType28.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter31 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry32 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter31); com.google.javascript.rhino.jstype.ObjectType objectType33 = null; com.google.javascript.rhino.jstype.JSType jSType34 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray35 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList36 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean37 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList36, jSTypeArray35); com.google.javascript.rhino.jstype.JSType jSType38 = jSTypeRegistry32.createFunctionTypeWithVarArgs(objectType33, jSType34, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList36); boolean boolean39 = jSType38.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType40 = jSType38.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter41 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry42 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter41); com.google.javascript.rhino.jstype.ObjectType objectType43 = null; com.google.javascript.rhino.jstype.JSType jSType44 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray45 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList46 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean47 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList46, jSTypeArray45); com.google.javascript.rhino.jstype.JSType jSType48 = jSTypeRegistry42.createFunctionTypeWithVarArgs(objectType43, jSType44, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList46); boolean boolean49 = jSType48.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType50 = jSType48.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter51 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry52 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter51); com.google.javascript.rhino.jstype.ObjectType objectType53 = null; com.google.javascript.rhino.jstype.JSType jSType54 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray55 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList56 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean57 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList56, jSTypeArray55); com.google.javascript.rhino.jstype.JSType jSType58 = jSTypeRegistry52.createFunctionTypeWithVarArgs(objectType53, jSType54, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList56); com.google.javascript.rhino.ErrorReporter errorReporter59 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry60 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter59); com.google.javascript.rhino.jstype.ObjectType objectType61 = null; com.google.javascript.rhino.jstype.JSType jSType62 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray63 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList64 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean65 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList64, jSTypeArray63); com.google.javascript.rhino.jstype.JSType jSType66 = jSTypeRegistry60.createFunctionTypeWithVarArgs(objectType61, jSType62, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList64); boolean boolean67 = jSType66.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType68 = jSType66.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter69 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry70 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter69); com.google.javascript.rhino.jstype.ObjectType objectType71 = null; com.google.javascript.rhino.jstype.JSType jSType72 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray73 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList74 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean75 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList74, jSTypeArray73); com.google.javascript.rhino.jstype.JSType jSType76 = jSTypeRegistry70.createFunctionTypeWithVarArgs(objectType71, jSType72, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList74); com.google.javascript.rhino.ErrorReporter errorReporter77 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry78 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter77); com.google.javascript.rhino.jstype.ObjectType objectType79 = null; com.google.javascript.rhino.jstype.JSType jSType80 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray81 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList82 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean83 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList82, jSTypeArray81); com.google.javascript.rhino.jstype.JSType jSType84 = jSTypeRegistry78.createFunctionTypeWithVarArgs(objectType79, jSType80, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList82); boolean boolean85 = jSType84.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType86 = jSType84.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray87 = new com.google.javascript.rhino.jstype.JSType[] { jSType40, jSType48, jSType54, jSType68, jSType76, objectType86 }; com.google.javascript.rhino.jstype.FunctionType functionType88 = jSTypeRegistry20.createConstructorType(jSType28, false, jSTypeArray87); boolean boolean89 = jSType17.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType88); com.google.javascript.rhino.jstype.FunctionType functionType90 = functionType88.toMaybeFunctionType(); functionType88.clearResolved(); boolean boolean92 = functionType88.isEnumType(); int int93 = functionType88.getMinArguments(); int int94 = functionType88.getMinArguments(); com.google.javascript.rhino.jstype.JSType.TypePair typePair95 = jSType7.getTypesUnderShallowInequality((com.google.javascript.rhino.jstype.JSType) functionType88); com.google.javascript.rhino.JSDocInfo jSDocInfo96 = functionType88.getJSDocInfo(); com.google.javascript.rhino.jstype.ObjectType objectType97 = functionType88.getInstanceType(); boolean boolean98 = functionType88.isOrdinaryFunction(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + true + "'", boolean8 == true); org.junit.Assert.assertTrue("'" + boolean9 + "' != '" + false + "'", boolean9 == false); org.junit.Assert.assertNotNull(jSTypeArray14); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertNotNull(jSType17); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSTypeArray25); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(jSType28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(jSTypeArray35); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSType38); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(jSType40); org.junit.Assert.assertNotNull(jSTypeArray45); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(jSType48); org.junit.Assert.assertTrue("'" + boolean49 + "' != '" + false + "'", boolean49 == false); org.junit.Assert.assertNotNull(jSType50); org.junit.Assert.assertNotNull(jSTypeArray55); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNotNull(jSType58); org.junit.Assert.assertNotNull(jSTypeArray63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(jSType66); org.junit.Assert.assertTrue("'" + boolean67 + "' != '" + false + "'", boolean67 == false); org.junit.Assert.assertNotNull(jSType68); org.junit.Assert.assertNotNull(jSTypeArray73); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(jSType76); org.junit.Assert.assertNotNull(jSTypeArray81); org.junit.Assert.assertTrue("'" + boolean83 + "' != '" + false + "'", boolean83 == false); org.junit.Assert.assertNotNull(jSType84); org.junit.Assert.assertTrue("'" + boolean85 + "' != '" + false + "'", boolean85 == false); org.junit.Assert.assertNotNull(objectType86); org.junit.Assert.assertNotNull(jSTypeArray87); org.junit.Assert.assertNotNull(functionType88); org.junit.Assert.assertTrue("'" + boolean89 + "' != '" + true + "'", boolean89 == true); org.junit.Assert.assertNotNull(functionType90); org.junit.Assert.assertTrue("'" + boolean92 + "' != '" + false + "'", boolean92 == false); org.junit.Assert.assertTrue("'" + int93 + "' != '" + 6 + "'", int93 == 6); org.junit.Assert.assertTrue("'" + int94 + "' != '" + 6 + "'", int94 == 6); org.junit.Assert.assertNotNull(typePair95); org.junit.Assert.assertNull(jSDocInfo96); org.junit.Assert.assertNotNull(objectType97); org.junit.Assert.assertTrue("'" + boolean98 + "' != '" + false + "'", boolean98 == false); } @Test public void test4409() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4409"); com.google.common.collect.ImmutableList.Builder<com.google.javascript.rhino.Node[]> nodeArrayBuilder1 = new com.google.common.collect.ImmutableList.Builder<com.google.javascript.rhino.Node[]>(); com.google.javascript.rhino.Node node4 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean5 = node4.isLabelName(); java.util.Set<java.lang.String> strSet6 = node4.getDirectives(); com.google.javascript.rhino.Node node8 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean9 = node8.isLabelName(); com.google.javascript.rhino.Node[] nodeArray10 = new com.google.javascript.rhino.Node[] { node4, node8 }; com.google.javascript.rhino.Node node13 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray10, 50, 50); com.google.common.collect.ImmutableList.Builder<com.google.javascript.rhino.Node[]> nodeArrayBuilder14 = nodeArrayBuilder1.add(nodeArray10); com.google.javascript.rhino.Node node18 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean19 = node18.isLabelName(); java.util.Set<java.lang.String> strSet20 = node18.getDirectives(); com.google.javascript.rhino.Node node22 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean23 = node22.isLabelName(); com.google.javascript.rhino.Node[] nodeArray24 = new com.google.javascript.rhino.Node[] { node18, node22 }; com.google.javascript.rhino.Node node27 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray24, 50, 50); com.google.javascript.rhino.Node node29 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node27.addChildToFront(node29); boolean boolean31 = node27.isNew(); com.google.javascript.rhino.JSDocInfo jSDocInfo32 = node27.getJSDocInfo(); com.google.javascript.rhino.Node node35 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean36 = node35.isLabelName(); java.util.Set<java.lang.String> strSet37 = node35.getDirectives(); com.google.javascript.rhino.Node node39 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean40 = node39.isLabelName(); com.google.javascript.rhino.Node[] nodeArray41 = new com.google.javascript.rhino.Node[] { node35, node39 }; com.google.javascript.rhino.Node node44 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray41, 50, 50); com.google.javascript.rhino.Node node46 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node44.addChildToFront(node46); boolean boolean48 = node44.isNew(); node44.setLineno((int) (short) 10); boolean boolean51 = node44.isObjectLit(); com.google.javascript.rhino.Node[] nodeArray52 = new com.google.javascript.rhino.Node[] { node27, node44 }; com.google.javascript.rhino.Node node55 = new com.google.javascript.rhino.Node(44, nodeArray52, 40, (int) (short) 100); com.google.common.collect.ImmutableList.Builder<com.google.javascript.rhino.Node[]> nodeArrayBuilder56 = nodeArrayBuilder1.add(nodeArray52); // The following exception was thrown during execution in test generation try { com.google.javascript.rhino.Node node59 = new com.google.javascript.rhino.Node(5, nodeArray52, 36, 10); org.junit.Assert.fail("Expected exception of type java.lang.IllegalArgumentException; message: duplicate child"); } catch (java.lang.IllegalArgumentException e) { // Expected exception. } org.junit.Assert.assertNotNull(node4); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNull(strSet6); org.junit.Assert.assertNotNull(node8); org.junit.Assert.assertTrue("'" + boolean9 + "' != '" + false + "'", boolean9 == false); org.junit.Assert.assertNotNull(nodeArray10); org.junit.Assert.assertNotNull(nodeArrayBuilder14); org.junit.Assert.assertNotNull(node18); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNull(strSet20); org.junit.Assert.assertNotNull(node22); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + false + "'", boolean23 == false); org.junit.Assert.assertNotNull(nodeArray24); org.junit.Assert.assertNotNull(node29); org.junit.Assert.assertTrue("'" + boolean31 + "' != '" + false + "'", boolean31 == false); org.junit.Assert.assertNull(jSDocInfo32); org.junit.Assert.assertNotNull(node35); org.junit.Assert.assertTrue("'" + boolean36 + "' != '" + false + "'", boolean36 == false); org.junit.Assert.assertNull(strSet37); org.junit.Assert.assertNotNull(node39); org.junit.Assert.assertTrue("'" + boolean40 + "' != '" + false + "'", boolean40 == false); org.junit.Assert.assertNotNull(nodeArray41); org.junit.Assert.assertNotNull(node46); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertTrue("'" + boolean51 + "' != '" + false + "'", boolean51 == false); org.junit.Assert.assertNotNull(nodeArray52); org.junit.Assert.assertNotNull(nodeArrayBuilder56); } @Test public void test4410() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4410"); com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec assertionFunctionSpec1 = new com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec("Not declared as a constructor"); com.google.javascript.rhino.Node node4 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean5 = node4.isLabelName(); com.google.javascript.rhino.Node node8 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean9 = node8.isLabelName(); java.util.Set<java.lang.String> strSet10 = node8.getDirectives(); com.google.javascript.rhino.Node node12 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean13 = node12.isLabelName(); com.google.javascript.rhino.Node[] nodeArray14 = new com.google.javascript.rhino.Node[] { node8, node12 }; com.google.javascript.rhino.Node node17 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray14, 50, 50); boolean boolean18 = node4.isEquivalentTo(node17); com.google.javascript.rhino.Node node19 = new com.google.javascript.rhino.Node(50, node17); com.google.javascript.rhino.Node node21 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node22 = com.google.javascript.jscomp.NodeUtil.newExpr(node21); boolean boolean23 = node21.isScript(); com.google.javascript.rhino.Node node24 = node19.useSourceInfoIfMissingFrom(node21); com.google.javascript.rhino.Node node25 = assertionFunctionSpec1.getAssertedParam(node24); boolean boolean26 = node25.isDec(); boolean boolean27 = node25.isVar(); com.google.javascript.rhino.Node node29 = com.google.javascript.rhino.Node.newNumber((double) (byte) 0); com.google.javascript.rhino.Node node32 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean33 = node32.isLabelName(); java.util.Set<java.lang.String> strSet34 = node32.getDirectives(); com.google.javascript.rhino.Node node36 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean37 = node36.isLabelName(); com.google.javascript.rhino.Node[] nodeArray38 = new com.google.javascript.rhino.Node[] { node32, node36 }; com.google.javascript.rhino.Node node41 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray38, 50, 50); com.google.javascript.rhino.Node node43 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node41.addChildToFront(node43); boolean boolean45 = node43.isDefaultCase(); com.google.javascript.rhino.Node node46 = node43.getParent(); boolean boolean47 = node43.isSetterDef(); boolean boolean48 = node43.isReturn(); int int50 = node43.getIntProp((int) (short) 100); com.google.javascript.rhino.JSDocInfo jSDocInfo51 = null; node43.setJSDocInfo(jSDocInfo51); boolean boolean53 = node43.isOptionalArg(); boolean boolean54 = node43.isHook(); com.google.javascript.rhino.Node node55 = node29.clonePropsFrom(node43); boolean boolean56 = node25.isEquivalentTo(node43); org.junit.Assert.assertNotNull(node4); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(node8); org.junit.Assert.assertTrue("'" + boolean9 + "' != '" + false + "'", boolean9 == false); org.junit.Assert.assertNull(strSet10); org.junit.Assert.assertNotNull(node12); org.junit.Assert.assertTrue("'" + boolean13 + "' != '" + false + "'", boolean13 == false); org.junit.Assert.assertNotNull(nodeArray14); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(node21); org.junit.Assert.assertNotNull(node22); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + false + "'", boolean23 == false); org.junit.Assert.assertNotNull(node24); org.junit.Assert.assertNotNull(node25); org.junit.Assert.assertTrue("'" + boolean26 + "' != '" + false + "'", boolean26 == false); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(node29); org.junit.Assert.assertNotNull(node32); org.junit.Assert.assertTrue("'" + boolean33 + "' != '" + false + "'", boolean33 == false); org.junit.Assert.assertNull(strSet34); org.junit.Assert.assertNotNull(node36); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(nodeArray38); org.junit.Assert.assertNotNull(node43); org.junit.Assert.assertTrue("'" + boolean45 + "' != '" + false + "'", boolean45 == false); org.junit.Assert.assertNotNull(node46); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertTrue("'" + int50 + "' != '" + 0 + "'", int50 == 0); org.junit.Assert.assertTrue("'" + boolean53 + "' != '" + false + "'", boolean53 == false); org.junit.Assert.assertTrue("'" + boolean54 + "' != '" + false + "'", boolean54 == false); org.junit.Assert.assertNotNull(node55); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); } @Test public void test4411() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4411"); java.lang.String[] strArray5 = new java.lang.String[] { "Not declared as a constructor", "", "[]", "Not declared as a type name", "hi!" }; java.util.LinkedHashSet<java.lang.String> strSet6 = new java.util.LinkedHashSet<java.lang.String>(); boolean boolean7 = java.util.Collections.addAll((java.util.Collection<java.lang.String>) strSet6, strArray5); com.google.javascript.rhino.ErrorReporter errorReporter8 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry9 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter8); com.google.javascript.rhino.jstype.ObjectType objectType10 = null; com.google.javascript.rhino.jstype.JSType jSType11 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray12 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList13 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean14 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList13, jSTypeArray12); com.google.javascript.rhino.jstype.JSType jSType15 = jSTypeRegistry9.createFunctionTypeWithVarArgs(objectType10, jSType11, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList13); boolean boolean16 = jSType15.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType17 = jSType15.toObjectType(); java.lang.String str18 = objectType17.toString(); com.google.javascript.rhino.JSDocInfo jSDocInfo19 = objectType17.getJSDocInfo(); boolean boolean20 = objectType17.matchesNumberContext(); boolean boolean21 = strSet6.contains((java.lang.Object) boolean20); boolean boolean23 = strSet6.add("java.io.IOException: "); java.util.Iterator<java.lang.String> strItor24 = strSet6.iterator(); java.lang.Object[] objArray25 = strSet6.toArray(); java.util.Spliterator<java.lang.String> strSpliterator26 = strSet6.spliterator(); java.util.Iterator<java.lang.String> strItor27 = strSet6.iterator(); int int28 = strSet6.size(); org.junit.Assert.assertNotNull(strArray5); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + true + "'", boolean7 == true); org.junit.Assert.assertNotNull(jSTypeArray12); org.junit.Assert.assertTrue("'" + boolean14 + "' != '" + false + "'", boolean14 == false); org.junit.Assert.assertNotNull(jSType15); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertNotNull(objectType17); org.junit.Assert.assertEquals("'" + str18 + "' != '" + "function (): ?" + "'", str18, "function (): ?"); org.junit.Assert.assertNull(jSDocInfo19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertTrue("'" + boolean21 + "' != '" + false + "'", boolean21 == false); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + true + "'", boolean23 == true); org.junit.Assert.assertNotNull(strItor24); org.junit.Assert.assertNotNull(objArray25); org.junit.Assert.assertEquals(java.util.Arrays.deepToString(objArray25), "[Not declared as a constructor, , [], Not declared as a type name, hi!, java.io.IOException: ]"); org.junit.Assert.assertEquals(java.util.Arrays.toString(objArray25), "[Not declared as a constructor, , [], Not declared as a type name, hi!, java.io.IOException: ]"); org.junit.Assert.assertNotNull(strSpliterator26); org.junit.Assert.assertNotNull(strItor27); org.junit.Assert.assertTrue("'" + int28 + "' != '" + 6 + "'", int28 == 6); } @Test public void test4412() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4412"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); com.google.javascript.rhino.jstype.JSType jSType9 = jSTypeRegistry1.getType("hi!"); com.google.javascript.rhino.ErrorReporter errorReporter10 = jSTypeRegistry1.getErrorReporter(); com.google.javascript.rhino.ErrorReporter errorReporter11 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry12 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter11); com.google.javascript.rhino.ErrorReporter errorReporter13 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry14 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter13); com.google.javascript.rhino.jstype.ObjectType objectType15 = null; com.google.javascript.rhino.jstype.JSType jSType16 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray17 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList18 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean19 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList18, jSTypeArray17); com.google.javascript.rhino.jstype.JSType jSType20 = jSTypeRegistry14.createFunctionTypeWithVarArgs(objectType15, jSType16, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList18); boolean boolean21 = jSType20.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType22 = jSType20.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter23 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry24 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter23); com.google.javascript.rhino.ErrorReporter errorReporter25 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry26 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter25); com.google.javascript.rhino.jstype.ObjectType objectType27 = null; com.google.javascript.rhino.jstype.JSType jSType28 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray29 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList30 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean31 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList30, jSTypeArray29); com.google.javascript.rhino.jstype.JSType jSType32 = jSTypeRegistry26.createFunctionTypeWithVarArgs(objectType27, jSType28, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList30); boolean boolean33 = jSType32.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter35 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry36 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter35); com.google.javascript.rhino.jstype.ObjectType objectType37 = null; com.google.javascript.rhino.jstype.JSType jSType38 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray39 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList40 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean41 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList40, jSTypeArray39); com.google.javascript.rhino.jstype.JSType jSType42 = jSTypeRegistry36.createFunctionTypeWithVarArgs(objectType37, jSType38, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList40); boolean boolean43 = jSType42.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType44 = jSType42.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter45 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry46 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter45); com.google.javascript.rhino.jstype.ObjectType objectType47 = null; com.google.javascript.rhino.jstype.JSType jSType48 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray49 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList50 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean51 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList50, jSTypeArray49); com.google.javascript.rhino.jstype.JSType jSType52 = jSTypeRegistry46.createFunctionTypeWithVarArgs(objectType47, jSType48, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList50); boolean boolean53 = jSType52.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType54 = jSType52.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter55 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry56 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter55); com.google.javascript.rhino.jstype.ObjectType objectType57 = null; com.google.javascript.rhino.jstype.JSType jSType58 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray59 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList60 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean61 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList60, jSTypeArray59); com.google.javascript.rhino.jstype.JSType jSType62 = jSTypeRegistry56.createFunctionTypeWithVarArgs(objectType57, jSType58, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList60); com.google.javascript.rhino.ErrorReporter errorReporter63 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry64 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter63); com.google.javascript.rhino.jstype.ObjectType objectType65 = null; com.google.javascript.rhino.jstype.JSType jSType66 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray67 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList68 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean69 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList68, jSTypeArray67); com.google.javascript.rhino.jstype.JSType jSType70 = jSTypeRegistry64.createFunctionTypeWithVarArgs(objectType65, jSType66, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList68); boolean boolean71 = jSType70.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType72 = jSType70.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter73 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry74 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter73); com.google.javascript.rhino.jstype.ObjectType objectType75 = null; com.google.javascript.rhino.jstype.JSType jSType76 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray77 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList78 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean79 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList78, jSTypeArray77); com.google.javascript.rhino.jstype.JSType jSType80 = jSTypeRegistry74.createFunctionTypeWithVarArgs(objectType75, jSType76, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList78); com.google.javascript.rhino.ErrorReporter errorReporter81 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry82 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter81); com.google.javascript.rhino.jstype.ObjectType objectType83 = null; com.google.javascript.rhino.jstype.JSType jSType84 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray85 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList86 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean87 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList86, jSTypeArray85); com.google.javascript.rhino.jstype.JSType jSType88 = jSTypeRegistry82.createFunctionTypeWithVarArgs(objectType83, jSType84, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList86); boolean boolean89 = jSType88.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType90 = jSType88.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray91 = new com.google.javascript.rhino.jstype.JSType[] { jSType44, jSType52, jSType58, jSType72, jSType80, objectType90 }; com.google.javascript.rhino.jstype.FunctionType functionType92 = jSTypeRegistry24.createConstructorType(jSType32, false, jSTypeArray91); com.google.javascript.rhino.jstype.FunctionType functionType93 = jSTypeRegistry12.createFunctionType(jSType22, jSTypeArray91); boolean boolean94 = jSType22.matchesStringContext(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray96 = null; // The following exception was thrown during execution in test generation try { com.google.javascript.rhino.jstype.FunctionType functionType97 = jSTypeRegistry1.createConstructorType(jSType22, false, jSTypeArray96); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertNull(jSType9); org.junit.Assert.assertNull(errorReporter10); org.junit.Assert.assertNotNull(jSTypeArray17); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(jSType20); org.junit.Assert.assertTrue("'" + boolean21 + "' != '" + false + "'", boolean21 == false); org.junit.Assert.assertNotNull(jSType22); org.junit.Assert.assertNotNull(jSTypeArray29); org.junit.Assert.assertTrue("'" + boolean31 + "' != '" + false + "'", boolean31 == false); org.junit.Assert.assertNotNull(jSType32); org.junit.Assert.assertTrue("'" + boolean33 + "' != '" + false + "'", boolean33 == false); org.junit.Assert.assertNotNull(jSTypeArray39); org.junit.Assert.assertTrue("'" + boolean41 + "' != '" + false + "'", boolean41 == false); org.junit.Assert.assertNotNull(jSType42); org.junit.Assert.assertTrue("'" + boolean43 + "' != '" + false + "'", boolean43 == false); org.junit.Assert.assertNotNull(jSType44); org.junit.Assert.assertNotNull(jSTypeArray49); org.junit.Assert.assertTrue("'" + boolean51 + "' != '" + false + "'", boolean51 == false); org.junit.Assert.assertNotNull(jSType52); org.junit.Assert.assertTrue("'" + boolean53 + "' != '" + false + "'", boolean53 == false); org.junit.Assert.assertNotNull(jSType54); org.junit.Assert.assertNotNull(jSTypeArray59); org.junit.Assert.assertTrue("'" + boolean61 + "' != '" + false + "'", boolean61 == false); org.junit.Assert.assertNotNull(jSType62); org.junit.Assert.assertNotNull(jSTypeArray67); org.junit.Assert.assertTrue("'" + boolean69 + "' != '" + false + "'", boolean69 == false); org.junit.Assert.assertNotNull(jSType70); org.junit.Assert.assertTrue("'" + boolean71 + "' != '" + false + "'", boolean71 == false); org.junit.Assert.assertNotNull(jSType72); org.junit.Assert.assertNotNull(jSTypeArray77); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + false + "'", boolean79 == false); org.junit.Assert.assertNotNull(jSType80); org.junit.Assert.assertNotNull(jSTypeArray85); org.junit.Assert.assertTrue("'" + boolean87 + "' != '" + false + "'", boolean87 == false); org.junit.Assert.assertNotNull(jSType88); org.junit.Assert.assertTrue("'" + boolean89 + "' != '" + false + "'", boolean89 == false); org.junit.Assert.assertNotNull(objectType90); org.junit.Assert.assertNotNull(jSTypeArray91); org.junit.Assert.assertNotNull(functionType92); org.junit.Assert.assertNotNull(functionType93); org.junit.Assert.assertTrue("'" + boolean94 + "' != '" + false + "'", boolean94 == false); } @Test public void test4413() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4413"); com.google.javascript.rhino.Node node3 = com.google.javascript.rhino.Node.newNumber((double) '4', (int) (short) -1, 4095); com.google.javascript.rhino.Node node6 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean7 = node6.isLabelName(); java.util.Set<java.lang.String> strSet8 = node6.getDirectives(); com.google.javascript.rhino.Node node10 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean11 = node10.isLabelName(); com.google.javascript.rhino.Node[] nodeArray12 = new com.google.javascript.rhino.Node[] { node6, node10 }; com.google.javascript.rhino.Node node15 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray12, 50, 50); com.google.javascript.rhino.Node node17 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node15.addChildToFront(node17); boolean boolean19 = node17.isDefaultCase(); com.google.javascript.rhino.Node node20 = node17.getParent(); node17.detachChildren(); com.google.javascript.rhino.Node node24 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean25 = node24.isLabelName(); java.util.Set<java.lang.String> strSet26 = node24.getDirectives(); com.google.javascript.rhino.Node node28 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean29 = node28.isLabelName(); com.google.javascript.rhino.Node[] nodeArray30 = new com.google.javascript.rhino.Node[] { node24, node28 }; com.google.javascript.rhino.Node node33 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray30, 50, 50); com.google.javascript.rhino.Node node35 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node33.addChildToFront(node35); boolean boolean37 = node33.isNew(); java.lang.String[] strArray40 = new java.lang.String[] { "function (): ?", "" }; java.util.LinkedHashSet<java.lang.String> strSet41 = new java.util.LinkedHashSet<java.lang.String>(); boolean boolean42 = java.util.Collections.addAll((java.util.Collection<java.lang.String>) strSet41, strArray40); node33.setDirectives((java.util.Set<java.lang.String>) strSet41); int int44 = node17.getIndexOfChild(node33); boolean boolean45 = node17.isAssignAdd(); java.lang.Iterable<com.google.javascript.rhino.Node> nodeIterable46 = node17.siblings(); boolean boolean47 = node17.isInstanceOf(); java.lang.String str48 = node3.checkTreeEquals(node17); org.junit.Assert.assertNotNull(node3); org.junit.Assert.assertNotNull(node6); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertNull(strSet8); org.junit.Assert.assertNotNull(node10); org.junit.Assert.assertTrue("'" + boolean11 + "' != '" + false + "'", boolean11 == false); org.junit.Assert.assertNotNull(nodeArray12); org.junit.Assert.assertNotNull(node17); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(node20); org.junit.Assert.assertNotNull(node24); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); org.junit.Assert.assertNull(strSet26); org.junit.Assert.assertNotNull(node28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(nodeArray30); org.junit.Assert.assertNotNull(node35); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(strArray40); org.junit.Assert.assertTrue("'" + boolean42 + "' != '" + true + "'", boolean42 == true); org.junit.Assert.assertTrue("'" + int44 + "' != '" + (-1) + "'", int44 == (-1)); org.junit.Assert.assertTrue("'" + boolean45 + "' != '" + false + "'", boolean45 == false); org.junit.Assert.assertNotNull(nodeIterable46); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertEquals("'" + str48 + "' != '" + "Node tree inequality:\nTree1:\nNUMBER 52.0\n\n\nTree2:\nSTRING Not declared as a constructor\n\n\nSubtree1: NUMBER 52.0\n\n\nSubtree2: STRING Not declared as a constructor\n" + "'", str48, "Node tree inequality:\nTree1:\nNUMBER 52.0\n\n\nTree2:\nSTRING Not declared as a constructor\n\n\nSubtree1: NUMBER 52.0\n\n\nSubtree2: STRING Not declared as a constructor\n"); } @Test public void test4414() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4414"); com.google.javascript.rhino.JSDocInfo jSDocInfo0 = new com.google.javascript.rhino.JSDocInfo(); java.lang.String str1 = jSDocInfo0.getOriginalCommentString(); boolean boolean2 = jSDocInfo0.hasReturnType(); boolean boolean3 = jSDocInfo0.isConsistentIdGenerator(); java.lang.String str4 = jSDocInfo0.toString(); boolean boolean5 = jSDocInfo0.isConstructor(); java.lang.String str6 = jSDocInfo0.getReturnDescription(); java.util.Collection<com.google.javascript.rhino.JSDocInfo.Marker> markerCollection7 = jSDocInfo0.getMarkers(); org.junit.Assert.assertNull(str1); org.junit.Assert.assertTrue("'" + boolean2 + "' != '" + false + "'", boolean2 == false); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertEquals("'" + str4 + "' != '" + "JSDocInfo" + "'", str4, "JSDocInfo"); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNull(str6); org.junit.Assert.assertNotNull(markerCollection7); } @Test public void test4415() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4415"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.ErrorReporter errorReporter2 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry3 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter2); com.google.javascript.rhino.jstype.ObjectType objectType4 = null; com.google.javascript.rhino.jstype.JSType jSType5 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray6 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList7 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean8 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList7, jSTypeArray6); com.google.javascript.rhino.jstype.JSType jSType9 = jSTypeRegistry3.createFunctionTypeWithVarArgs(objectType4, jSType5, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList7); boolean boolean10 = jSType9.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter12 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry13 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter12); com.google.javascript.rhino.jstype.ObjectType objectType14 = null; com.google.javascript.rhino.jstype.JSType jSType15 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray16 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList17 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean18 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList17, jSTypeArray16); com.google.javascript.rhino.jstype.JSType jSType19 = jSTypeRegistry13.createFunctionTypeWithVarArgs(objectType14, jSType15, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList17); boolean boolean20 = jSType19.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType21 = jSType19.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter22 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry23 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter22); com.google.javascript.rhino.jstype.ObjectType objectType24 = null; com.google.javascript.rhino.jstype.JSType jSType25 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray26 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList27 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean28 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList27, jSTypeArray26); com.google.javascript.rhino.jstype.JSType jSType29 = jSTypeRegistry23.createFunctionTypeWithVarArgs(objectType24, jSType25, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList27); boolean boolean30 = jSType29.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType31 = jSType29.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter32 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry33 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter32); com.google.javascript.rhino.jstype.ObjectType objectType34 = null; com.google.javascript.rhino.jstype.JSType jSType35 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray36 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList37 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean38 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList37, jSTypeArray36); com.google.javascript.rhino.jstype.JSType jSType39 = jSTypeRegistry33.createFunctionTypeWithVarArgs(objectType34, jSType35, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList37); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); boolean boolean48 = jSType47.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType49 = jSType47.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter50 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry51 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter50); com.google.javascript.rhino.jstype.ObjectType objectType52 = null; com.google.javascript.rhino.jstype.JSType jSType53 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray54 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList55 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean56 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList55, jSTypeArray54); com.google.javascript.rhino.jstype.JSType jSType57 = jSTypeRegistry51.createFunctionTypeWithVarArgs(objectType52, jSType53, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList55); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); boolean boolean66 = jSType65.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType67 = jSType65.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray68 = new com.google.javascript.rhino.jstype.JSType[] { jSType21, jSType29, jSType35, jSType49, jSType57, objectType67 }; com.google.javascript.rhino.jstype.FunctionType functionType69 = jSTypeRegistry1.createConstructorType(jSType9, false, jSTypeArray68); boolean boolean70 = functionType69.hasReferenceName(); boolean boolean72 = functionType69.isPropertyInExterns("Not declared as a constructor"); boolean boolean74 = functionType69.isPropertyTypeInferred(""); boolean boolean76 = functionType69.removeProperty("function (): {160022603}"); com.google.javascript.rhino.jstype.JSType jSType77 = functionType69.autobox(); com.google.javascript.rhino.Node node78 = functionType69.getParametersNode(); boolean boolean79 = functionType69.isNumber(); org.junit.Assert.assertNotNull(jSTypeArray6); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSType9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNotNull(jSTypeArray16); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSType19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(jSType21); org.junit.Assert.assertNotNull(jSTypeArray26); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(jSType31); org.junit.Assert.assertNotNull(jSTypeArray36); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(jSType49); org.junit.Assert.assertNotNull(jSTypeArray54); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertNotNull(objectType67); org.junit.Assert.assertNotNull(jSTypeArray68); org.junit.Assert.assertNotNull(functionType69); org.junit.Assert.assertTrue("'" + boolean70 + "' != '" + false + "'", boolean70 == false); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertTrue("'" + boolean74 + "' != '" + false + "'", boolean74 == false); org.junit.Assert.assertTrue("'" + boolean76 + "' != '" + false + "'", boolean76 == false); org.junit.Assert.assertNotNull(jSType77); org.junit.Assert.assertNotNull(node78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + false + "'", boolean79 == false); } @Test public void test4416() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4416"); com.google.javascript.rhino.JSDocInfo jSDocInfo0 = new com.google.javascript.rhino.JSDocInfo(); java.lang.String str1 = jSDocInfo0.getOriginalCommentString(); boolean boolean2 = jSDocInfo0.hasReturnType(); boolean boolean3 = jSDocInfo0.isConsistentIdGenerator(); java.lang.String str4 = jSDocInfo0.getVersion(); boolean boolean5 = jSDocInfo0.hasFileOverview(); boolean boolean6 = jSDocInfo0.containsDeclaration(); com.google.javascript.rhino.Node node8 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean9 = node8.isLabelName(); java.util.Set<java.lang.String> strSet10 = node8.getDirectives(); boolean boolean11 = node8.isGetterDef(); boolean boolean12 = node8.isAdd(); java.lang.String str16 = node8.toString(false, false, false); node8.setIsSyntheticBlock(false); boolean boolean19 = node8.isInstanceOf(); node8.setVarArgs(false); jSDocInfo0.setAssociatedNode(node8); com.google.common.collect.ImmutableList<java.lang.String> strList23 = jSDocInfo0.getTemplateTypeNames(); org.junit.Assert.assertNull(str1); org.junit.Assert.assertTrue("'" + boolean2 + "' != '" + false + "'", boolean2 == false); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertNull(str4); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(node8); org.junit.Assert.assertTrue("'" + boolean9 + "' != '" + false + "'", boolean9 == false); org.junit.Assert.assertNull(strSet10); org.junit.Assert.assertTrue("'" + boolean11 + "' != '" + false + "'", boolean11 == false); org.junit.Assert.assertTrue("'" + boolean12 + "' != '" + false + "'", boolean12 == false); org.junit.Assert.assertEquals("'" + str16 + "' != '" + "STRING Not declared as a constructor" + "'", str16, "STRING Not declared as a constructor"); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(strList23); } @Test public void test4417() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4417"); com.google.javascript.rhino.Node node2 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node3 = com.google.javascript.jscomp.NodeUtil.newExpr(node2); com.google.javascript.rhino.jstype.StaticSourceFile staticSourceFile4 = null; node2.setStaticSourceFile(staticSourceFile4); com.google.javascript.rhino.Node node6 = node2.getParent(); boolean boolean7 = node2.isSwitch(); // The following exception was thrown during execution in test generation try { com.google.javascript.rhino.Node node10 = new com.google.javascript.rhino.Node((-1), node2, 52, 3); org.junit.Assert.fail("Expected exception of type java.lang.IllegalArgumentException; message: new child has existing parent"); } catch (java.lang.IllegalArgumentException e) { // Expected exception. } org.junit.Assert.assertNotNull(node2); org.junit.Assert.assertNotNull(node3); org.junit.Assert.assertNotNull(node6); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); } @Test public void test4418() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4418"); com.google.javascript.jscomp.CodingConvention.SubclassType subclassType0 = com.google.javascript.jscomp.CodingConvention.SubclassType.MIXIN; com.google.javascript.rhino.Node node3 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean4 = node3.isLabelName(); java.util.Set<java.lang.String> strSet5 = node3.getDirectives(); com.google.javascript.rhino.Node node7 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean8 = node7.isLabelName(); com.google.javascript.rhino.Node[] nodeArray9 = new com.google.javascript.rhino.Node[] { node3, node7 }; com.google.javascript.rhino.Node node12 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray9, 50, 50); com.google.javascript.rhino.Node node14 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node12.addChildToFront(node14); boolean boolean16 = node12.isNew(); node12.setLineno((int) (short) 10); com.google.javascript.rhino.Node node20 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node21 = com.google.javascript.jscomp.NodeUtil.newExpr(node20); com.google.javascript.jscomp.CodingConvention.SubclassRelationship subclassRelationship22 = new com.google.javascript.jscomp.CodingConvention.SubclassRelationship(subclassType0, node12, node21); boolean boolean23 = node12.isWith(); boolean boolean24 = node12.isInc(); boolean boolean25 = com.google.javascript.jscomp.NodeUtil.isSymmetricOperation(node12); node12.putBooleanProp((int) (byte) 1, true); com.google.javascript.rhino.Node node31 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean32 = node31.isLabelName(); java.util.Set<java.lang.String> strSet33 = node31.getDirectives(); com.google.javascript.rhino.Node node35 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean36 = node35.isLabelName(); com.google.javascript.rhino.Node[] nodeArray37 = new com.google.javascript.rhino.Node[] { node31, node35 }; com.google.javascript.rhino.Node node40 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray37, 50, 50); com.google.javascript.rhino.Node node42 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node40.addChildToFront(node42); boolean boolean44 = node40.isNew(); com.google.javascript.rhino.Node node46 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node47 = node40.useSourceInfoFrom(node46); boolean boolean48 = node46.isContinue(); boolean boolean49 = node46.isGetElem(); boolean boolean50 = node46.isInc(); int int52 = node46.getIntProp(39); com.google.javascript.rhino.Node node55 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean56 = node55.isLabelName(); com.google.javascript.rhino.Node node59 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean60 = node59.isLabelName(); java.util.Set<java.lang.String> strSet61 = node59.getDirectives(); com.google.javascript.rhino.Node node63 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean64 = node63.isLabelName(); com.google.javascript.rhino.Node[] nodeArray65 = new com.google.javascript.rhino.Node[] { node59, node63 }; com.google.javascript.rhino.Node node68 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray65, 50, 50); boolean boolean69 = node55.isEquivalentTo(node68); com.google.javascript.rhino.Node node70 = new com.google.javascript.rhino.Node(50, node68); boolean boolean71 = node70.hasOneChild(); boolean boolean72 = node70.isFunction(); boolean boolean73 = node70.isIf(); java.lang.Object obj75 = node70.getProp(47); com.google.javascript.rhino.Node node76 = node70.getLastChild(); com.google.javascript.rhino.Node node78 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean79 = node78.isLabelName(); com.google.javascript.rhino.Node node82 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean83 = node82.isLabelName(); java.util.Set<java.lang.String> strSet84 = node82.getDirectives(); com.google.javascript.rhino.Node node86 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean87 = node86.isLabelName(); com.google.javascript.rhino.Node[] nodeArray88 = new com.google.javascript.rhino.Node[] { node82, node86 }; com.google.javascript.rhino.Node node91 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray88, 50, 50); boolean boolean92 = node78.isEquivalentTo(node91); boolean boolean93 = node76.isEquivalentToTyped(node91); boolean boolean94 = node91.isSyntheticBlock(); boolean boolean95 = node91.isComma(); com.google.javascript.rhino.Node node96 = node46.useSourceInfoFrom(node91); com.google.javascript.rhino.Node node97 = node12.useSourceInfoFrom(node96); org.junit.Assert.assertTrue("'" + subclassType0 + "' != '" + com.google.javascript.jscomp.CodingConvention.SubclassType.MIXIN + "'", subclassType0.equals(com.google.javascript.jscomp.CodingConvention.SubclassType.MIXIN)); org.junit.Assert.assertNotNull(node3); org.junit.Assert.assertTrue("'" + boolean4 + "' != '" + false + "'", boolean4 == false); org.junit.Assert.assertNull(strSet5); org.junit.Assert.assertNotNull(node7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(nodeArray9); org.junit.Assert.assertNotNull(node14); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertNotNull(node20); org.junit.Assert.assertNotNull(node21); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + false + "'", boolean23 == false); org.junit.Assert.assertTrue("'" + boolean24 + "' != '" + false + "'", boolean24 == false); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); org.junit.Assert.assertNotNull(node31); org.junit.Assert.assertTrue("'" + boolean32 + "' != '" + false + "'", boolean32 == false); org.junit.Assert.assertNull(strSet33); org.junit.Assert.assertNotNull(node35); org.junit.Assert.assertTrue("'" + boolean36 + "' != '" + false + "'", boolean36 == false); org.junit.Assert.assertNotNull(nodeArray37); org.junit.Assert.assertNotNull(node42); org.junit.Assert.assertTrue("'" + boolean44 + "' != '" + false + "'", boolean44 == false); org.junit.Assert.assertNotNull(node46); org.junit.Assert.assertNotNull(node47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertTrue("'" + boolean49 + "' != '" + false + "'", boolean49 == false); org.junit.Assert.assertTrue("'" + boolean50 + "' != '" + false + "'", boolean50 == false); org.junit.Assert.assertTrue("'" + int52 + "' != '" + 0 + "'", int52 == 0); org.junit.Assert.assertNotNull(node55); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(node59); org.junit.Assert.assertTrue("'" + boolean60 + "' != '" + false + "'", boolean60 == false); org.junit.Assert.assertNull(strSet61); org.junit.Assert.assertNotNull(node63); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(nodeArray65); org.junit.Assert.assertTrue("'" + boolean69 + "' != '" + false + "'", boolean69 == false); org.junit.Assert.assertTrue("'" + boolean71 + "' != '" + true + "'", boolean71 == true); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNull(obj75); org.junit.Assert.assertNotNull(node76); org.junit.Assert.assertNotNull(node78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + false + "'", boolean79 == false); org.junit.Assert.assertNotNull(node82); org.junit.Assert.assertTrue("'" + boolean83 + "' != '" + false + "'", boolean83 == false); org.junit.Assert.assertNull(strSet84); org.junit.Assert.assertNotNull(node86); org.junit.Assert.assertTrue("'" + boolean87 + "' != '" + false + "'", boolean87 == false); org.junit.Assert.assertNotNull(nodeArray88); org.junit.Assert.assertTrue("'" + boolean92 + "' != '" + false + "'", boolean92 == false); org.junit.Assert.assertTrue("'" + boolean93 + "' != '" + true + "'", boolean93 == true); org.junit.Assert.assertTrue("'" + boolean94 + "' != '" + false + "'", boolean94 == false); org.junit.Assert.assertTrue("'" + boolean95 + "' != '" + false + "'", boolean95 == false); org.junit.Assert.assertNotNull(node96); org.junit.Assert.assertNotNull(node97); } @Test public void test4419() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4419"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); boolean boolean8 = jSType7.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType9 = jSType7.toObjectType(); java.lang.String str10 = objectType9.toString(); com.google.javascript.rhino.JSDocInfo jSDocInfo11 = objectType9.getJSDocInfo(); boolean boolean12 = objectType9.isNominalConstructor(); com.google.javascript.rhino.jstype.StaticSlot<com.google.javascript.rhino.jstype.JSType> jSTypeStaticSlot14 = objectType9.getSlot("true"); com.google.javascript.rhino.jstype.JSType jSType15 = objectType9.getTypeOfThis(); com.google.javascript.rhino.ErrorReporter errorReporter16 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry17 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter16); com.google.javascript.rhino.ErrorReporter errorReporter18 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry19 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter18); com.google.javascript.rhino.jstype.ObjectType objectType20 = null; com.google.javascript.rhino.jstype.JSType jSType21 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray22 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList23 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean24 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList23, jSTypeArray22); com.google.javascript.rhino.jstype.JSType jSType25 = jSTypeRegistry19.createFunctionTypeWithVarArgs(objectType20, jSType21, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList23); boolean boolean26 = jSType25.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter28 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry29 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter28); com.google.javascript.rhino.jstype.ObjectType objectType30 = null; com.google.javascript.rhino.jstype.JSType jSType31 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray32 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList33 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean34 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList33, jSTypeArray32); com.google.javascript.rhino.jstype.JSType jSType35 = jSTypeRegistry29.createFunctionTypeWithVarArgs(objectType30, jSType31, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList33); boolean boolean36 = jSType35.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType37 = jSType35.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter38 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry39 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter38); com.google.javascript.rhino.jstype.ObjectType objectType40 = null; com.google.javascript.rhino.jstype.JSType jSType41 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray42 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList43 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean44 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList43, jSTypeArray42); com.google.javascript.rhino.jstype.JSType jSType45 = jSTypeRegistry39.createFunctionTypeWithVarArgs(objectType40, jSType41, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList43); boolean boolean46 = jSType45.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType47 = jSType45.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter48 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry49 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter48); com.google.javascript.rhino.jstype.ObjectType objectType50 = null; com.google.javascript.rhino.jstype.JSType jSType51 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray52 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList53 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean54 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList53, jSTypeArray52); com.google.javascript.rhino.jstype.JSType jSType55 = jSTypeRegistry49.createFunctionTypeWithVarArgs(objectType50, jSType51, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList53); com.google.javascript.rhino.ErrorReporter errorReporter56 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry57 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter56); com.google.javascript.rhino.jstype.ObjectType objectType58 = null; com.google.javascript.rhino.jstype.JSType jSType59 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray60 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList61 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean62 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList61, jSTypeArray60); com.google.javascript.rhino.jstype.JSType jSType63 = jSTypeRegistry57.createFunctionTypeWithVarArgs(objectType58, jSType59, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList61); boolean boolean64 = jSType63.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType65 = jSType63.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter66 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry67 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter66); com.google.javascript.rhino.jstype.ObjectType objectType68 = null; com.google.javascript.rhino.jstype.JSType jSType69 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray70 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList71 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean72 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList71, jSTypeArray70); com.google.javascript.rhino.jstype.JSType jSType73 = jSTypeRegistry67.createFunctionTypeWithVarArgs(objectType68, jSType69, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList71); com.google.javascript.rhino.ErrorReporter errorReporter74 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry75 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter74); com.google.javascript.rhino.jstype.ObjectType objectType76 = null; com.google.javascript.rhino.jstype.JSType jSType77 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray78 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList79 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean80 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList79, jSTypeArray78); com.google.javascript.rhino.jstype.JSType jSType81 = jSTypeRegistry75.createFunctionTypeWithVarArgs(objectType76, jSType77, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList79); boolean boolean82 = jSType81.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType83 = jSType81.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray84 = new com.google.javascript.rhino.jstype.JSType[] { jSType37, jSType45, jSType51, jSType65, jSType73, objectType83 }; com.google.javascript.rhino.jstype.FunctionType functionType85 = jSTypeRegistry17.createConstructorType(jSType25, false, jSTypeArray84); com.google.javascript.rhino.jstype.JSType jSType86 = functionType85.unboxesTo(); boolean boolean87 = functionType85.isEnumType(); java.lang.Iterable<com.google.javascript.rhino.jstype.ObjectType> objectTypeIterable88 = functionType85.getOwnImplementedInterfaces(); com.google.javascript.rhino.jstype.TernaryValue ternaryValue89 = objectType9.testForEquality((com.google.javascript.rhino.jstype.JSType) functionType85); boolean boolean90 = functionType85.hasCachedValues(); java.lang.String str91 = functionType85.getDisplayName(); com.google.javascript.rhino.jstype.ObjectType objectType93 = com.google.javascript.rhino.jstype.FunctionType.getTopDefiningInterface((com.google.javascript.rhino.jstype.ObjectType) functionType85, "(java.io.IOException: java.io.IOException: )"); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(objectType9); org.junit.Assert.assertEquals("'" + str10 + "' != '" + "function (): ?" + "'", str10, "function (): ?"); org.junit.Assert.assertNull(jSDocInfo11); org.junit.Assert.assertTrue("'" + boolean12 + "' != '" + false + "'", boolean12 == false); org.junit.Assert.assertNull(jSTypeStaticSlot14); org.junit.Assert.assertNotNull(jSType15); org.junit.Assert.assertNotNull(jSTypeArray22); org.junit.Assert.assertTrue("'" + boolean24 + "' != '" + false + "'", boolean24 == false); org.junit.Assert.assertNotNull(jSType25); org.junit.Assert.assertTrue("'" + boolean26 + "' != '" + false + "'", boolean26 == false); org.junit.Assert.assertNotNull(jSTypeArray32); org.junit.Assert.assertTrue("'" + boolean34 + "' != '" + false + "'", boolean34 == false); org.junit.Assert.assertNotNull(jSType35); org.junit.Assert.assertTrue("'" + boolean36 + "' != '" + false + "'", boolean36 == false); org.junit.Assert.assertNotNull(jSType37); org.junit.Assert.assertNotNull(jSTypeArray42); org.junit.Assert.assertTrue("'" + boolean44 + "' != '" + false + "'", boolean44 == false); org.junit.Assert.assertNotNull(jSType45); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertNotNull(jSTypeArray52); org.junit.Assert.assertTrue("'" + boolean54 + "' != '" + false + "'", boolean54 == false); org.junit.Assert.assertNotNull(jSType55); org.junit.Assert.assertNotNull(jSTypeArray60); org.junit.Assert.assertTrue("'" + boolean62 + "' != '" + false + "'", boolean62 == false); org.junit.Assert.assertNotNull(jSType63); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertNotNull(jSTypeArray70); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertNotNull(jSType73); org.junit.Assert.assertNotNull(jSTypeArray78); org.junit.Assert.assertTrue("'" + boolean80 + "' != '" + false + "'", boolean80 == false); org.junit.Assert.assertNotNull(jSType81); org.junit.Assert.assertTrue("'" + boolean82 + "' != '" + false + "'", boolean82 == false); org.junit.Assert.assertNotNull(objectType83); org.junit.Assert.assertNotNull(jSTypeArray84); org.junit.Assert.assertNotNull(functionType85); org.junit.Assert.assertNull(jSType86); org.junit.Assert.assertTrue("'" + boolean87 + "' != '" + false + "'", boolean87 == false); org.junit.Assert.assertNotNull(objectTypeIterable88); org.junit.Assert.assertNotNull(ternaryValue89); org.junit.Assert.assertTrue("'" + boolean90 + "' != '" + true + "'", boolean90 == true); org.junit.Assert.assertNull(str91); org.junit.Assert.assertNull(objectType93); } @Test public void test4420() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4420"); com.google.javascript.jscomp.CodingConvention.SubclassType subclassType0 = com.google.javascript.jscomp.CodingConvention.SubclassType.MIXIN; com.google.javascript.rhino.Node node3 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean4 = node3.isLabelName(); java.util.Set<java.lang.String> strSet5 = node3.getDirectives(); com.google.javascript.rhino.Node node7 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean8 = node7.isLabelName(); com.google.javascript.rhino.Node[] nodeArray9 = new com.google.javascript.rhino.Node[] { node3, node7 }; com.google.javascript.rhino.Node node12 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray9, 50, 50); com.google.javascript.rhino.Node node14 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node12.addChildToFront(node14); boolean boolean16 = node12.isNew(); node12.setLineno((int) (short) 10); com.google.javascript.rhino.Node node20 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node21 = com.google.javascript.jscomp.NodeUtil.newExpr(node20); com.google.javascript.jscomp.CodingConvention.SubclassRelationship subclassRelationship22 = new com.google.javascript.jscomp.CodingConvention.SubclassRelationship(subclassType0, node12, node21); com.google.javascript.rhino.Node node25 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean26 = node25.isLabelName(); java.util.Set<java.lang.String> strSet27 = node25.getDirectives(); com.google.javascript.rhino.Node node29 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean30 = node29.isLabelName(); com.google.javascript.rhino.Node[] nodeArray31 = new com.google.javascript.rhino.Node[] { node25, node29 }; com.google.javascript.rhino.Node node34 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray31, 50, 50); com.google.javascript.rhino.Node node36 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node34.addChildToFront(node36); java.lang.String str38 = com.google.javascript.jscomp.NodeUtil.getSourceName(node36); node36.setIsSyntheticBlock(true); boolean boolean41 = node12.hasChild(node36); boolean boolean42 = node36.isContinue(); int int43 = node36.getChildCount(); org.junit.Assert.assertTrue("'" + subclassType0 + "' != '" + com.google.javascript.jscomp.CodingConvention.SubclassType.MIXIN + "'", subclassType0.equals(com.google.javascript.jscomp.CodingConvention.SubclassType.MIXIN)); org.junit.Assert.assertNotNull(node3); org.junit.Assert.assertTrue("'" + boolean4 + "' != '" + false + "'", boolean4 == false); org.junit.Assert.assertNull(strSet5); org.junit.Assert.assertNotNull(node7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(nodeArray9); org.junit.Assert.assertNotNull(node14); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertNotNull(node20); org.junit.Assert.assertNotNull(node21); org.junit.Assert.assertNotNull(node25); org.junit.Assert.assertTrue("'" + boolean26 + "' != '" + false + "'", boolean26 == false); org.junit.Assert.assertNull(strSet27); org.junit.Assert.assertNotNull(node29); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(nodeArray31); org.junit.Assert.assertNotNull(node36); org.junit.Assert.assertNull(str38); org.junit.Assert.assertTrue("'" + boolean41 + "' != '" + false + "'", boolean41 == false); org.junit.Assert.assertTrue("'" + boolean42 + "' != '" + false + "'", boolean42 == false); org.junit.Assert.assertTrue("'" + int43 + "' != '" + 0 + "'", int43 == 0); } @Test public void test4421() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4421"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.ErrorReporter errorReporter2 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry3 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter2); com.google.javascript.rhino.jstype.ObjectType objectType4 = null; com.google.javascript.rhino.jstype.JSType jSType5 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray6 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList7 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean8 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList7, jSTypeArray6); com.google.javascript.rhino.jstype.JSType jSType9 = jSTypeRegistry3.createFunctionTypeWithVarArgs(objectType4, jSType5, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList7); boolean boolean10 = jSType9.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter12 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry13 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter12); com.google.javascript.rhino.jstype.ObjectType objectType14 = null; com.google.javascript.rhino.jstype.JSType jSType15 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray16 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList17 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean18 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList17, jSTypeArray16); com.google.javascript.rhino.jstype.JSType jSType19 = jSTypeRegistry13.createFunctionTypeWithVarArgs(objectType14, jSType15, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList17); boolean boolean20 = jSType19.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType21 = jSType19.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter22 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry23 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter22); com.google.javascript.rhino.jstype.ObjectType objectType24 = null; com.google.javascript.rhino.jstype.JSType jSType25 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray26 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList27 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean28 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList27, jSTypeArray26); com.google.javascript.rhino.jstype.JSType jSType29 = jSTypeRegistry23.createFunctionTypeWithVarArgs(objectType24, jSType25, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList27); boolean boolean30 = jSType29.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType31 = jSType29.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter32 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry33 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter32); com.google.javascript.rhino.jstype.ObjectType objectType34 = null; com.google.javascript.rhino.jstype.JSType jSType35 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray36 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList37 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean38 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList37, jSTypeArray36); com.google.javascript.rhino.jstype.JSType jSType39 = jSTypeRegistry33.createFunctionTypeWithVarArgs(objectType34, jSType35, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList37); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); boolean boolean48 = jSType47.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType49 = jSType47.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter50 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry51 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter50); com.google.javascript.rhino.jstype.ObjectType objectType52 = null; com.google.javascript.rhino.jstype.JSType jSType53 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray54 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList55 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean56 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList55, jSTypeArray54); com.google.javascript.rhino.jstype.JSType jSType57 = jSTypeRegistry51.createFunctionTypeWithVarArgs(objectType52, jSType53, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList55); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); boolean boolean66 = jSType65.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType67 = jSType65.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray68 = new com.google.javascript.rhino.jstype.JSType[] { jSType21, jSType29, jSType35, jSType49, jSType57, objectType67 }; com.google.javascript.rhino.jstype.FunctionType functionType69 = jSTypeRegistry1.createConstructorType(jSType9, false, jSTypeArray68); boolean boolean70 = functionType69.hasReferenceName(); boolean boolean72 = functionType69.isPropertyInExterns("Not declared as a constructor"); boolean boolean74 = functionType69.isPropertyTypeInferred(""); boolean boolean75 = functionType69.isNumber(); com.google.javascript.rhino.jstype.FunctionType functionType76 = functionType69.toMaybeFunctionType(); boolean boolean77 = functionType69.hasCachedValues(); java.lang.Iterable<com.google.javascript.rhino.jstype.ObjectType> objectTypeIterable78 = functionType69.getAllImplementedInterfaces(); org.junit.Assert.assertNotNull(jSTypeArray6); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSType9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNotNull(jSTypeArray16); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSType19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(jSType21); org.junit.Assert.assertNotNull(jSTypeArray26); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(jSType31); org.junit.Assert.assertNotNull(jSTypeArray36); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(jSType49); org.junit.Assert.assertNotNull(jSTypeArray54); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertNotNull(objectType67); org.junit.Assert.assertNotNull(jSTypeArray68); org.junit.Assert.assertNotNull(functionType69); org.junit.Assert.assertTrue("'" + boolean70 + "' != '" + false + "'", boolean70 == false); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertTrue("'" + boolean74 + "' != '" + false + "'", boolean74 == false); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(functionType76); org.junit.Assert.assertTrue("'" + boolean77 + "' != '" + false + "'", boolean77 == false); org.junit.Assert.assertNotNull(objectTypeIterable78); } @Test public void test4422() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4422"); com.google.javascript.rhino.Node node2 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean3 = node2.isLabelName(); java.util.Set<java.lang.String> strSet4 = node2.getDirectives(); com.google.javascript.rhino.Node node6 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean7 = node6.isLabelName(); com.google.javascript.rhino.Node[] nodeArray8 = new com.google.javascript.rhino.Node[] { node2, node6 }; com.google.javascript.rhino.Node node11 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray8, 50, 50); com.google.javascript.rhino.Node node13 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node11.addChildToFront(node13); boolean boolean15 = node13.isDefaultCase(); com.google.javascript.rhino.Node node16 = node13.getParent(); node13.setWasEmptyNode(true); boolean boolean19 = node13.isDefaultCase(); int int20 = node13.getChildCount(); boolean boolean21 = com.google.javascript.jscomp.NodeUtil.isSymmetricOperation(node13); org.junit.Assert.assertNotNull(node2); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertNull(strSet4); org.junit.Assert.assertNotNull(node6); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertNotNull(nodeArray8); org.junit.Assert.assertNotNull(node13); org.junit.Assert.assertTrue("'" + boolean15 + "' != '" + false + "'", boolean15 == false); org.junit.Assert.assertNotNull(node16); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertTrue("'" + int20 + "' != '" + 0 + "'", int20 == 0); org.junit.Assert.assertTrue("'" + boolean21 + "' != '" + false + "'", boolean21 == false); } @Test public void test4423() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4423"); com.google.javascript.rhino.Node node1 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node2 = com.google.javascript.jscomp.NodeUtil.newExpr(node1); boolean boolean3 = node1.isScript(); boolean boolean4 = node1.isComma(); java.lang.String str5 = com.google.javascript.jscomp.NodeUtil.getNearestFunctionName(node1); com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec assertionFunctionSpec7 = new com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec("Not declared as a constructor"); com.google.javascript.rhino.Node node10 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean11 = node10.isLabelName(); java.util.Set<java.lang.String> strSet12 = node10.getDirectives(); com.google.javascript.rhino.Node node14 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean15 = node14.isLabelName(); com.google.javascript.rhino.Node[] nodeArray16 = new com.google.javascript.rhino.Node[] { node10, node14 }; com.google.javascript.rhino.Node node19 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray16, 50, 50); com.google.javascript.rhino.Node node21 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node19.addChildToFront(node21); boolean boolean23 = node21.isDefaultCase(); com.google.javascript.rhino.Node node24 = node21.getParent(); node21.detachChildren(); com.google.javascript.rhino.Node node28 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean29 = node28.isLabelName(); java.util.Set<java.lang.String> strSet30 = node28.getDirectives(); com.google.javascript.rhino.Node node32 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean33 = node32.isLabelName(); com.google.javascript.rhino.Node[] nodeArray34 = new com.google.javascript.rhino.Node[] { node28, node32 }; com.google.javascript.rhino.Node node37 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray34, 50, 50); com.google.javascript.rhino.Node node39 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node37.addChildToFront(node39); boolean boolean41 = node37.isNew(); java.lang.String[] strArray44 = new java.lang.String[] { "function (): ?", "" }; java.util.LinkedHashSet<java.lang.String> strSet45 = new java.util.LinkedHashSet<java.lang.String>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<java.lang.String>) strSet45, strArray44); node37.setDirectives((java.util.Set<java.lang.String>) strSet45); int int48 = node21.getIndexOfChild(node37); boolean boolean49 = node21.isAssignAdd(); com.google.javascript.rhino.Node node50 = assertionFunctionSpec7.getAssertedParam(node21); com.google.javascript.rhino.Node node51 = node1.copyInformationFrom(node50); boolean boolean52 = node51.isFunction(); com.google.javascript.rhino.Node node54 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean55 = node54.isLabelName(); boolean boolean56 = node54.isInc(); int int57 = node54.getChildCount(); boolean boolean58 = node54.isName(); com.google.javascript.rhino.InputId inputId59 = node54.getInputId(); com.google.javascript.rhino.Node node60 = node51.copyInformationFrom(node54); boolean boolean61 = node54.wasEmptyNode(); boolean boolean62 = node54.isGetProp(); org.junit.Assert.assertNotNull(node1); org.junit.Assert.assertNotNull(node2); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertTrue("'" + boolean4 + "' != '" + false + "'", boolean4 == false); org.junit.Assert.assertNull(str5); org.junit.Assert.assertNotNull(node10); org.junit.Assert.assertTrue("'" + boolean11 + "' != '" + false + "'", boolean11 == false); org.junit.Assert.assertNull(strSet12); org.junit.Assert.assertNotNull(node14); org.junit.Assert.assertTrue("'" + boolean15 + "' != '" + false + "'", boolean15 == false); org.junit.Assert.assertNotNull(nodeArray16); org.junit.Assert.assertNotNull(node21); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + false + "'", boolean23 == false); org.junit.Assert.assertNotNull(node24); org.junit.Assert.assertNotNull(node28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNull(strSet30); org.junit.Assert.assertNotNull(node32); org.junit.Assert.assertTrue("'" + boolean33 + "' != '" + false + "'", boolean33 == false); org.junit.Assert.assertNotNull(nodeArray34); org.junit.Assert.assertNotNull(node39); org.junit.Assert.assertTrue("'" + boolean41 + "' != '" + false + "'", boolean41 == false); org.junit.Assert.assertNotNull(strArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + true + "'", boolean46 == true); org.junit.Assert.assertTrue("'" + int48 + "' != '" + (-1) + "'", int48 == (-1)); org.junit.Assert.assertTrue("'" + boolean49 + "' != '" + false + "'", boolean49 == false); org.junit.Assert.assertNotNull(node50); org.junit.Assert.assertNotNull(node51); org.junit.Assert.assertTrue("'" + boolean52 + "' != '" + false + "'", boolean52 == false); org.junit.Assert.assertNotNull(node54); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertTrue("'" + int57 + "' != '" + 0 + "'", int57 == 0); org.junit.Assert.assertTrue("'" + boolean58 + "' != '" + false + "'", boolean58 == false); org.junit.Assert.assertNull(inputId59); org.junit.Assert.assertNotNull(node60); org.junit.Assert.assertTrue("'" + boolean61 + "' != '" + false + "'", boolean61 == false); org.junit.Assert.assertTrue("'" + boolean62 + "' != '" + false + "'", boolean62 == false); } @Test public void test4424() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4424"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); boolean boolean8 = jSType7.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter9 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry10 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter9); com.google.javascript.rhino.ErrorReporter errorReporter11 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry12 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter11); com.google.javascript.rhino.jstype.ObjectType objectType13 = null; com.google.javascript.rhino.jstype.JSType jSType14 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray15 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList16 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean17 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList16, jSTypeArray15); com.google.javascript.rhino.jstype.JSType jSType18 = jSTypeRegistry12.createFunctionTypeWithVarArgs(objectType13, jSType14, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList16); boolean boolean19 = jSType18.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter21 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry22 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter21); com.google.javascript.rhino.jstype.ObjectType objectType23 = null; com.google.javascript.rhino.jstype.JSType jSType24 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray25 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList26 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean27 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList26, jSTypeArray25); com.google.javascript.rhino.jstype.JSType jSType28 = jSTypeRegistry22.createFunctionTypeWithVarArgs(objectType23, jSType24, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList26); boolean boolean29 = jSType28.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType30 = jSType28.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter31 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry32 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter31); com.google.javascript.rhino.jstype.ObjectType objectType33 = null; com.google.javascript.rhino.jstype.JSType jSType34 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray35 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList36 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean37 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList36, jSTypeArray35); com.google.javascript.rhino.jstype.JSType jSType38 = jSTypeRegistry32.createFunctionTypeWithVarArgs(objectType33, jSType34, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList36); boolean boolean39 = jSType38.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType40 = jSType38.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter41 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry42 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter41); com.google.javascript.rhino.jstype.ObjectType objectType43 = null; com.google.javascript.rhino.jstype.JSType jSType44 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray45 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList46 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean47 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList46, jSTypeArray45); com.google.javascript.rhino.jstype.JSType jSType48 = jSTypeRegistry42.createFunctionTypeWithVarArgs(objectType43, jSType44, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList46); com.google.javascript.rhino.ErrorReporter errorReporter49 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry50 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter49); com.google.javascript.rhino.jstype.ObjectType objectType51 = null; com.google.javascript.rhino.jstype.JSType jSType52 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray53 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList54 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean55 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList54, jSTypeArray53); com.google.javascript.rhino.jstype.JSType jSType56 = jSTypeRegistry50.createFunctionTypeWithVarArgs(objectType51, jSType52, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList54); boolean boolean57 = jSType56.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType58 = jSType56.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter59 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry60 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter59); com.google.javascript.rhino.jstype.ObjectType objectType61 = null; com.google.javascript.rhino.jstype.JSType jSType62 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray63 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList64 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean65 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList64, jSTypeArray63); com.google.javascript.rhino.jstype.JSType jSType66 = jSTypeRegistry60.createFunctionTypeWithVarArgs(objectType61, jSType62, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList64); com.google.javascript.rhino.ErrorReporter errorReporter67 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry68 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter67); com.google.javascript.rhino.jstype.ObjectType objectType69 = null; com.google.javascript.rhino.jstype.JSType jSType70 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray71 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList72 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean73 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList72, jSTypeArray71); com.google.javascript.rhino.jstype.JSType jSType74 = jSTypeRegistry68.createFunctionTypeWithVarArgs(objectType69, jSType70, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList72); boolean boolean75 = jSType74.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType76 = jSType74.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray77 = new com.google.javascript.rhino.jstype.JSType[] { jSType30, jSType38, jSType44, jSType58, jSType66, objectType76 }; com.google.javascript.rhino.jstype.FunctionType functionType78 = jSTypeRegistry10.createConstructorType(jSType18, false, jSTypeArray77); boolean boolean79 = jSType7.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType78); com.google.javascript.rhino.jstype.ObjectType objectType80 = functionType78.getImplicitPrototype(); com.google.javascript.rhino.jstype.JSType jSType81 = functionType78.unboxesTo(); boolean boolean82 = functionType78.hasDisplayName(); com.google.javascript.rhino.jstype.ObjectType objectType83 = functionType78.getInstanceType(); boolean boolean84 = functionType78.hasReferenceName(); boolean boolean85 = functionType78.isVoidType(); boolean boolean87 = functionType78.hasOwnProperty("STRING Not declared as a constructor"); com.google.javascript.rhino.Node node89 = functionType78.getPropertyNode("[]"); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSTypeArray15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(jSType18); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(jSTypeArray25); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(jSType28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(jSType30); org.junit.Assert.assertNotNull(jSTypeArray35); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSType38); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(jSType40); org.junit.Assert.assertNotNull(jSTypeArray45); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(jSType48); org.junit.Assert.assertNotNull(jSTypeArray53); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); org.junit.Assert.assertNotNull(jSType56); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNotNull(jSType58); org.junit.Assert.assertNotNull(jSTypeArray63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(jSType66); org.junit.Assert.assertNotNull(jSTypeArray71); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNotNull(jSType74); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(objectType76); org.junit.Assert.assertNotNull(jSTypeArray77); org.junit.Assert.assertNotNull(functionType78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + true + "'", boolean79 == true); org.junit.Assert.assertNotNull(objectType80); org.junit.Assert.assertNull(jSType81); org.junit.Assert.assertTrue("'" + boolean82 + "' != '" + false + "'", boolean82 == false); org.junit.Assert.assertNotNull(objectType83); org.junit.Assert.assertTrue("'" + boolean84 + "' != '" + false + "'", boolean84 == false); org.junit.Assert.assertTrue("'" + boolean85 + "' != '" + false + "'", boolean85 == false); org.junit.Assert.assertTrue("'" + boolean87 + "' != '" + false + "'", boolean87 == false); org.junit.Assert.assertNull(node89); } @Test public void test4425() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4425"); com.google.javascript.rhino.JSDocInfo jSDocInfo0 = new com.google.javascript.rhino.JSDocInfo(); java.lang.String str1 = jSDocInfo0.getOriginalCommentString(); com.google.javascript.rhino.JSTypeExpression jSTypeExpression2 = jSDocInfo0.getThisType(); com.google.common.collect.ImmutableList<java.lang.String> strList3 = jSDocInfo0.getTemplateTypeNames(); java.lang.String str5 = jSDocInfo0.getDescriptionForParameter("()"); boolean boolean6 = jSDocInfo0.isConstant(); java.lang.String str7 = jSDocInfo0.toString(); org.junit.Assert.assertNull(str1); org.junit.Assert.assertNull(jSTypeExpression2); org.junit.Assert.assertNotNull(strList3); org.junit.Assert.assertNull(str5); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertEquals("'" + str7 + "' != '" + "JSDocInfo" + "'", str7, "JSDocInfo"); } @Test public void test4426() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4426"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); com.google.javascript.rhino.ErrorReporter errorReporter8 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry9 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter8); com.google.javascript.rhino.ErrorReporter errorReporter10 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry11 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter10); com.google.javascript.rhino.jstype.ObjectType objectType12 = null; com.google.javascript.rhino.jstype.JSType jSType13 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray14 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList15 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean16 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList15, jSTypeArray14); com.google.javascript.rhino.jstype.JSType jSType17 = jSTypeRegistry11.createFunctionTypeWithVarArgs(objectType12, jSType13, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList15); boolean boolean18 = jSType17.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter20 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry21 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter20); com.google.javascript.rhino.jstype.ObjectType objectType22 = null; com.google.javascript.rhino.jstype.JSType jSType23 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray24 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList25 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean26 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList25, jSTypeArray24); com.google.javascript.rhino.jstype.JSType jSType27 = jSTypeRegistry21.createFunctionTypeWithVarArgs(objectType22, jSType23, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList25); boolean boolean28 = jSType27.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType29 = jSType27.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter30 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry31 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter30); com.google.javascript.rhino.jstype.ObjectType objectType32 = null; com.google.javascript.rhino.jstype.JSType jSType33 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray34 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList35 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean36 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList35, jSTypeArray34); com.google.javascript.rhino.jstype.JSType jSType37 = jSTypeRegistry31.createFunctionTypeWithVarArgs(objectType32, jSType33, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList35); boolean boolean38 = jSType37.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType39 = jSType37.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); com.google.javascript.rhino.ErrorReporter errorReporter48 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry49 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter48); com.google.javascript.rhino.jstype.ObjectType objectType50 = null; com.google.javascript.rhino.jstype.JSType jSType51 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray52 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList53 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean54 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList53, jSTypeArray52); com.google.javascript.rhino.jstype.JSType jSType55 = jSTypeRegistry49.createFunctionTypeWithVarArgs(objectType50, jSType51, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList53); boolean boolean56 = jSType55.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType57 = jSType55.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); com.google.javascript.rhino.ErrorReporter errorReporter66 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry67 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter66); com.google.javascript.rhino.jstype.ObjectType objectType68 = null; com.google.javascript.rhino.jstype.JSType jSType69 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray70 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList71 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean72 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList71, jSTypeArray70); com.google.javascript.rhino.jstype.JSType jSType73 = jSTypeRegistry67.createFunctionTypeWithVarArgs(objectType68, jSType69, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList71); boolean boolean74 = jSType73.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType75 = jSType73.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray76 = new com.google.javascript.rhino.jstype.JSType[] { jSType29, jSType37, jSType43, jSType57, jSType65, objectType75 }; com.google.javascript.rhino.jstype.FunctionType functionType77 = jSTypeRegistry9.createConstructorType(jSType17, false, jSTypeArray76); com.google.javascript.rhino.jstype.JSType jSType78 = functionType77.unboxesTo(); com.google.javascript.rhino.ErrorReporter errorReporter79 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry80 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter79); com.google.javascript.rhino.jstype.ObjectType objectType81 = null; com.google.javascript.rhino.jstype.JSType jSType82 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray83 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList84 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean85 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList84, jSTypeArray83); com.google.javascript.rhino.jstype.JSType jSType86 = jSTypeRegistry80.createFunctionTypeWithVarArgs(objectType81, jSType82, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList84); boolean boolean87 = jSType86.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType88 = jSType86.toObjectType(); com.google.javascript.rhino.jstype.FunctionType functionType89 = jSTypeRegistry1.createFunctionTypeWithNewThisType(functionType77, objectType88); boolean boolean90 = functionType77.isNoObjectType(); java.lang.Iterable<com.google.javascript.rhino.jstype.ObjectType> objectTypeIterable91 = functionType77.getCtorImplementedInterfaces(); java.lang.String str92 = functionType77.getDisplayName(); boolean boolean93 = functionType77.hasCachedValues(); java.lang.Iterable<com.google.javascript.rhino.Node> nodeIterable94 = functionType77.getParameters(); com.google.javascript.rhino.jstype.ObjectType objectType95 = functionType77.getPrototype(); java.lang.Iterable<com.google.javascript.rhino.jstype.ObjectType> objectTypeIterable96 = functionType77.getOwnImplementedInterfaces(); boolean boolean97 = functionType77.isReturnTypeInferred(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertNotNull(jSTypeArray14); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertNotNull(jSType17); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSTypeArray24); org.junit.Assert.assertTrue("'" + boolean26 + "' != '" + false + "'", boolean26 == false); org.junit.Assert.assertNotNull(jSType27); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertNotNull(jSTypeArray34); org.junit.Assert.assertTrue("'" + boolean36 + "' != '" + false + "'", boolean36 == false); org.junit.Assert.assertNotNull(jSType37); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertNotNull(jSTypeArray52); org.junit.Assert.assertTrue("'" + boolean54 + "' != '" + false + "'", boolean54 == false); org.junit.Assert.assertNotNull(jSType55); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertNotNull(jSTypeArray70); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertNotNull(jSType73); org.junit.Assert.assertTrue("'" + boolean74 + "' != '" + false + "'", boolean74 == false); org.junit.Assert.assertNotNull(objectType75); org.junit.Assert.assertNotNull(jSTypeArray76); org.junit.Assert.assertNotNull(functionType77); org.junit.Assert.assertNull(jSType78); org.junit.Assert.assertNotNull(jSTypeArray83); org.junit.Assert.assertTrue("'" + boolean85 + "' != '" + false + "'", boolean85 == false); org.junit.Assert.assertNotNull(jSType86); org.junit.Assert.assertTrue("'" + boolean87 + "' != '" + false + "'", boolean87 == false); org.junit.Assert.assertNotNull(objectType88); org.junit.Assert.assertNotNull(functionType89); org.junit.Assert.assertTrue("'" + boolean90 + "' != '" + false + "'", boolean90 == false); org.junit.Assert.assertNotNull(objectTypeIterable91); org.junit.Assert.assertNull(str92); org.junit.Assert.assertTrue("'" + boolean93 + "' != '" + false + "'", boolean93 == false); org.junit.Assert.assertNotNull(nodeIterable94); org.junit.Assert.assertNotNull(objectType95); org.junit.Assert.assertNotNull(objectTypeIterable96); org.junit.Assert.assertTrue("'" + boolean97 + "' != '" + false + "'", boolean97 == false); } @Test public void test4427() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4427"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); com.google.javascript.rhino.ErrorReporter errorReporter8 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry9 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter8); com.google.javascript.rhino.ErrorReporter errorReporter10 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry11 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter10); com.google.javascript.rhino.jstype.ObjectType objectType12 = null; com.google.javascript.rhino.jstype.JSType jSType13 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray14 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList15 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean16 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList15, jSTypeArray14); com.google.javascript.rhino.jstype.JSType jSType17 = jSTypeRegistry11.createFunctionTypeWithVarArgs(objectType12, jSType13, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList15); boolean boolean18 = jSType17.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter20 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry21 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter20); com.google.javascript.rhino.jstype.ObjectType objectType22 = null; com.google.javascript.rhino.jstype.JSType jSType23 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray24 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList25 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean26 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList25, jSTypeArray24); com.google.javascript.rhino.jstype.JSType jSType27 = jSTypeRegistry21.createFunctionTypeWithVarArgs(objectType22, jSType23, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList25); boolean boolean28 = jSType27.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType29 = jSType27.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter30 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry31 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter30); com.google.javascript.rhino.jstype.ObjectType objectType32 = null; com.google.javascript.rhino.jstype.JSType jSType33 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray34 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList35 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean36 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList35, jSTypeArray34); com.google.javascript.rhino.jstype.JSType jSType37 = jSTypeRegistry31.createFunctionTypeWithVarArgs(objectType32, jSType33, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList35); boolean boolean38 = jSType37.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType39 = jSType37.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); com.google.javascript.rhino.ErrorReporter errorReporter48 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry49 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter48); com.google.javascript.rhino.jstype.ObjectType objectType50 = null; com.google.javascript.rhino.jstype.JSType jSType51 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray52 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList53 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean54 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList53, jSTypeArray52); com.google.javascript.rhino.jstype.JSType jSType55 = jSTypeRegistry49.createFunctionTypeWithVarArgs(objectType50, jSType51, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList53); boolean boolean56 = jSType55.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType57 = jSType55.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); com.google.javascript.rhino.ErrorReporter errorReporter66 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry67 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter66); com.google.javascript.rhino.jstype.ObjectType objectType68 = null; com.google.javascript.rhino.jstype.JSType jSType69 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray70 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList71 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean72 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList71, jSTypeArray70); com.google.javascript.rhino.jstype.JSType jSType73 = jSTypeRegistry67.createFunctionTypeWithVarArgs(objectType68, jSType69, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList71); boolean boolean74 = jSType73.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType75 = jSType73.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray76 = new com.google.javascript.rhino.jstype.JSType[] { jSType29, jSType37, jSType43, jSType57, jSType65, objectType75 }; com.google.javascript.rhino.jstype.FunctionType functionType77 = jSTypeRegistry9.createConstructorType(jSType17, false, jSTypeArray76); com.google.javascript.rhino.jstype.JSType jSType78 = functionType77.unboxesTo(); com.google.javascript.rhino.ErrorReporter errorReporter79 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry80 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter79); com.google.javascript.rhino.jstype.ObjectType objectType81 = null; com.google.javascript.rhino.jstype.JSType jSType82 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray83 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList84 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean85 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList84, jSTypeArray83); com.google.javascript.rhino.jstype.JSType jSType86 = jSTypeRegistry80.createFunctionTypeWithVarArgs(objectType81, jSType82, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList84); boolean boolean87 = jSType86.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType88 = jSType86.toObjectType(); com.google.javascript.rhino.jstype.FunctionType functionType89 = jSTypeRegistry1.createFunctionTypeWithNewThisType(functionType77, objectType88); com.google.javascript.rhino.jstype.StaticScope<com.google.javascript.rhino.jstype.JSType> jSTypeStaticScope90 = functionType77.getParentScope(); boolean boolean91 = functionType77.matchesInt32Context(); com.google.javascript.rhino.jstype.JSType jSType92 = functionType77.restrictByNotNullOrUndefined(); boolean boolean93 = functionType77.hasAnyTemplate(); int int94 = functionType77.getPropertiesCount(); boolean boolean95 = functionType77.isString(); boolean boolean96 = functionType77.isRecordType(); com.google.javascript.rhino.jstype.UnionType unionType97 = functionType77.toMaybeUnionType(); java.lang.Iterable<com.google.javascript.rhino.jstype.ObjectType> objectTypeIterable98 = functionType77.getAllExtendedInterfaces(); com.google.javascript.rhino.jstype.ObjectType objectType99 = functionType77.getTypeOfThis(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertNotNull(jSTypeArray14); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertNotNull(jSType17); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSTypeArray24); org.junit.Assert.assertTrue("'" + boolean26 + "' != '" + false + "'", boolean26 == false); org.junit.Assert.assertNotNull(jSType27); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertNotNull(jSTypeArray34); org.junit.Assert.assertTrue("'" + boolean36 + "' != '" + false + "'", boolean36 == false); org.junit.Assert.assertNotNull(jSType37); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertNotNull(jSTypeArray52); org.junit.Assert.assertTrue("'" + boolean54 + "' != '" + false + "'", boolean54 == false); org.junit.Assert.assertNotNull(jSType55); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertNotNull(jSTypeArray70); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertNotNull(jSType73); org.junit.Assert.assertTrue("'" + boolean74 + "' != '" + false + "'", boolean74 == false); org.junit.Assert.assertNotNull(objectType75); org.junit.Assert.assertNotNull(jSTypeArray76); org.junit.Assert.assertNotNull(functionType77); org.junit.Assert.assertNull(jSType78); org.junit.Assert.assertNotNull(jSTypeArray83); org.junit.Assert.assertTrue("'" + boolean85 + "' != '" + false + "'", boolean85 == false); org.junit.Assert.assertNotNull(jSType86); org.junit.Assert.assertTrue("'" + boolean87 + "' != '" + false + "'", boolean87 == false); org.junit.Assert.assertNotNull(objectType88); org.junit.Assert.assertNotNull(functionType89); org.junit.Assert.assertNotNull(jSTypeStaticScope90); org.junit.Assert.assertTrue("'" + boolean91 + "' != '" + false + "'", boolean91 == false); org.junit.Assert.assertNotNull(jSType92); org.junit.Assert.assertTrue("'" + boolean93 + "' != '" + false + "'", boolean93 == false); org.junit.Assert.assertTrue("'" + int94 + "' != '" + 0 + "'", int94 == 0); org.junit.Assert.assertTrue("'" + boolean95 + "' != '" + false + "'", boolean95 == false); org.junit.Assert.assertTrue("'" + boolean96 + "' != '" + false + "'", boolean96 == false); org.junit.Assert.assertNull(unionType97); org.junit.Assert.assertNotNull(objectTypeIterable98); org.junit.Assert.assertNotNull(objectType99); } @Test public void test4428() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4428"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); boolean boolean8 = jSType7.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter9 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry10 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter9); com.google.javascript.rhino.ErrorReporter errorReporter11 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry12 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter11); com.google.javascript.rhino.jstype.ObjectType objectType13 = null; com.google.javascript.rhino.jstype.JSType jSType14 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray15 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList16 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean17 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList16, jSTypeArray15); com.google.javascript.rhino.jstype.JSType jSType18 = jSTypeRegistry12.createFunctionTypeWithVarArgs(objectType13, jSType14, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList16); boolean boolean19 = jSType18.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter21 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry22 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter21); com.google.javascript.rhino.jstype.ObjectType objectType23 = null; com.google.javascript.rhino.jstype.JSType jSType24 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray25 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList26 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean27 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList26, jSTypeArray25); com.google.javascript.rhino.jstype.JSType jSType28 = jSTypeRegistry22.createFunctionTypeWithVarArgs(objectType23, jSType24, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList26); boolean boolean29 = jSType28.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType30 = jSType28.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter31 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry32 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter31); com.google.javascript.rhino.jstype.ObjectType objectType33 = null; com.google.javascript.rhino.jstype.JSType jSType34 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray35 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList36 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean37 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList36, jSTypeArray35); com.google.javascript.rhino.jstype.JSType jSType38 = jSTypeRegistry32.createFunctionTypeWithVarArgs(objectType33, jSType34, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList36); boolean boolean39 = jSType38.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType40 = jSType38.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter41 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry42 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter41); com.google.javascript.rhino.jstype.ObjectType objectType43 = null; com.google.javascript.rhino.jstype.JSType jSType44 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray45 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList46 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean47 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList46, jSTypeArray45); com.google.javascript.rhino.jstype.JSType jSType48 = jSTypeRegistry42.createFunctionTypeWithVarArgs(objectType43, jSType44, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList46); com.google.javascript.rhino.ErrorReporter errorReporter49 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry50 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter49); com.google.javascript.rhino.jstype.ObjectType objectType51 = null; com.google.javascript.rhino.jstype.JSType jSType52 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray53 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList54 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean55 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList54, jSTypeArray53); com.google.javascript.rhino.jstype.JSType jSType56 = jSTypeRegistry50.createFunctionTypeWithVarArgs(objectType51, jSType52, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList54); boolean boolean57 = jSType56.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType58 = jSType56.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter59 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry60 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter59); com.google.javascript.rhino.jstype.ObjectType objectType61 = null; com.google.javascript.rhino.jstype.JSType jSType62 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray63 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList64 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean65 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList64, jSTypeArray63); com.google.javascript.rhino.jstype.JSType jSType66 = jSTypeRegistry60.createFunctionTypeWithVarArgs(objectType61, jSType62, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList64); com.google.javascript.rhino.ErrorReporter errorReporter67 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry68 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter67); com.google.javascript.rhino.jstype.ObjectType objectType69 = null; com.google.javascript.rhino.jstype.JSType jSType70 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray71 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList72 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean73 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList72, jSTypeArray71); com.google.javascript.rhino.jstype.JSType jSType74 = jSTypeRegistry68.createFunctionTypeWithVarArgs(objectType69, jSType70, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList72); boolean boolean75 = jSType74.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType76 = jSType74.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray77 = new com.google.javascript.rhino.jstype.JSType[] { jSType30, jSType38, jSType44, jSType58, jSType66, objectType76 }; com.google.javascript.rhino.jstype.FunctionType functionType78 = jSTypeRegistry10.createConstructorType(jSType18, false, jSTypeArray77); boolean boolean79 = jSType7.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType78); com.google.javascript.rhino.jstype.FunctionType functionType80 = functionType78.toMaybeFunctionType(); com.google.javascript.rhino.JSDocInfo jSDocInfo81 = null; functionType78.setJSDocInfo(jSDocInfo81); com.google.javascript.rhino.jstype.ObjectType objectType84 = com.google.javascript.rhino.jstype.FunctionType.getTopDefiningInterface((com.google.javascript.rhino.jstype.ObjectType) functionType78, "hi!"); boolean boolean85 = functionType78.isCheckedUnknownType(); int int86 = functionType78.getMinArguments(); com.google.javascript.rhino.jstype.ObjectType objectType87 = functionType78.getTypeOfThis(); boolean boolean88 = functionType78.hasCachedValues(); com.google.javascript.rhino.jstype.UnionType unionType89 = functionType78.toMaybeUnionType(); boolean boolean91 = functionType78.hasProperty("EXPR_RESULT"); java.lang.Iterable<com.google.javascript.rhino.jstype.ObjectType> objectTypeIterable92 = functionType78.getCtorImplementedInterfaces(); boolean boolean93 = functionType78.isNoType(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSTypeArray15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(jSType18); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(jSTypeArray25); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(jSType28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(jSType30); org.junit.Assert.assertNotNull(jSTypeArray35); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSType38); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(jSType40); org.junit.Assert.assertNotNull(jSTypeArray45); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(jSType48); org.junit.Assert.assertNotNull(jSTypeArray53); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); org.junit.Assert.assertNotNull(jSType56); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNotNull(jSType58); org.junit.Assert.assertNotNull(jSTypeArray63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(jSType66); org.junit.Assert.assertNotNull(jSTypeArray71); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNotNull(jSType74); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(objectType76); org.junit.Assert.assertNotNull(jSTypeArray77); org.junit.Assert.assertNotNull(functionType78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + true + "'", boolean79 == true); org.junit.Assert.assertNotNull(functionType80); org.junit.Assert.assertNull(objectType84); org.junit.Assert.assertTrue("'" + boolean85 + "' != '" + false + "'", boolean85 == false); org.junit.Assert.assertTrue("'" + int86 + "' != '" + 6 + "'", int86 == 6); org.junit.Assert.assertNotNull(objectType87); org.junit.Assert.assertTrue("'" + boolean88 + "' != '" + true + "'", boolean88 == true); org.junit.Assert.assertNull(unionType89); org.junit.Assert.assertTrue("'" + boolean91 + "' != '" + false + "'", boolean91 == false); org.junit.Assert.assertNotNull(objectTypeIterable92); org.junit.Assert.assertTrue("'" + boolean93 + "' != '" + false + "'", boolean93 == false); } @Test public void test4429() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4429"); com.google.javascript.rhino.Node node2 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean3 = node2.isLabelName(); java.util.Set<java.lang.String> strSet4 = node2.getDirectives(); com.google.javascript.rhino.Node node6 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean7 = node6.isLabelName(); com.google.javascript.rhino.Node[] nodeArray8 = new com.google.javascript.rhino.Node[] { node2, node6 }; com.google.javascript.rhino.Node node11 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray8, 50, 50); com.google.javascript.rhino.Node node13 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node11.addChildToFront(node13); boolean boolean15 = node11.isNew(); java.lang.String[] strArray18 = new java.lang.String[] { "function (): ?", "" }; java.util.LinkedHashSet<java.lang.String> strSet19 = new java.util.LinkedHashSet<java.lang.String>(); boolean boolean20 = java.util.Collections.addAll((java.util.Collection<java.lang.String>) strSet19, strArray18); node11.setDirectives((java.util.Set<java.lang.String>) strSet19); com.google.javascript.rhino.ErrorReporter errorReporter22 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry23 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter22); com.google.javascript.rhino.jstype.ObjectType objectType24 = null; com.google.javascript.rhino.jstype.JSType jSType25 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray26 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList27 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean28 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList27, jSTypeArray26); com.google.javascript.rhino.jstype.JSType jSType29 = jSTypeRegistry23.createFunctionTypeWithVarArgs(objectType24, jSType25, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList27); com.google.javascript.rhino.ErrorReporter errorReporter30 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry31 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter30); com.google.javascript.rhino.jstype.ObjectType objectType32 = null; com.google.javascript.rhino.jstype.JSType jSType33 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray34 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList35 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean36 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList35, jSTypeArray34); com.google.javascript.rhino.jstype.JSType jSType37 = jSTypeRegistry31.createFunctionTypeWithVarArgs(objectType32, jSType33, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList35); com.google.javascript.rhino.ErrorReporter errorReporter38 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry39 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter38); com.google.javascript.rhino.jstype.ObjectType objectType40 = null; com.google.javascript.rhino.jstype.JSType jSType41 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray42 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList43 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean44 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList43, jSTypeArray42); com.google.javascript.rhino.jstype.JSType jSType45 = jSTypeRegistry39.createFunctionTypeWithVarArgs(objectType40, jSType41, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList43); boolean boolean46 = jSType45.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType47 = jSType45.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter48 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry49 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter48); com.google.javascript.rhino.jstype.ObjectType objectType50 = null; com.google.javascript.rhino.jstype.JSType jSType51 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray52 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList53 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean54 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList53, jSTypeArray52); com.google.javascript.rhino.jstype.JSType jSType55 = jSTypeRegistry49.createFunctionTypeWithVarArgs(objectType50, jSType51, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList53); com.google.javascript.rhino.jstype.JSType[] jSTypeArray56 = new com.google.javascript.rhino.jstype.JSType[] { jSType33, jSType47, objectType50 }; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList57 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean58 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList57, jSTypeArray56); boolean boolean59 = jSTypeList27.containsAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList57); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet60 = com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE; boolean boolean62 = booleanLiteralSet60.contains(false); boolean boolean64 = booleanLiteralSet60.contains(false); int int65 = jSTypeList27.lastIndexOf((java.lang.Object) false); com.google.common.collect.ImmutableList<java.lang.Iterable<com.google.javascript.rhino.jstype.JSType>> jSTypeIterableList66 = com.google.common.collect.ImmutableList.of((java.lang.Iterable<com.google.javascript.rhino.jstype.JSType>) jSTypeList27); com.google.javascript.rhino.jstype.JSType jSType67 = null; boolean boolean68 = jSTypeList27.add(jSType67); boolean boolean69 = strSet19.removeAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList27); int int70 = strSet19.size(); org.junit.Assert.assertNotNull(node2); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertNull(strSet4); org.junit.Assert.assertNotNull(node6); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertNotNull(nodeArray8); org.junit.Assert.assertNotNull(node13); org.junit.Assert.assertTrue("'" + boolean15 + "' != '" + false + "'", boolean15 == false); org.junit.Assert.assertNotNull(strArray18); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + true + "'", boolean20 == true); org.junit.Assert.assertNotNull(jSTypeArray26); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertNotNull(jSTypeArray34); org.junit.Assert.assertTrue("'" + boolean36 + "' != '" + false + "'", boolean36 == false); org.junit.Assert.assertNotNull(jSType37); org.junit.Assert.assertNotNull(jSTypeArray42); org.junit.Assert.assertTrue("'" + boolean44 + "' != '" + false + "'", boolean44 == false); org.junit.Assert.assertNotNull(jSType45); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertNotNull(jSTypeArray52); org.junit.Assert.assertTrue("'" + boolean54 + "' != '" + false + "'", boolean54 == false); org.junit.Assert.assertNotNull(jSType55); org.junit.Assert.assertNotNull(jSTypeArray56); org.junit.Assert.assertTrue("'" + boolean58 + "' != '" + true + "'", boolean58 == true); org.junit.Assert.assertTrue("'" + boolean59 + "' != '" + false + "'", boolean59 == false); org.junit.Assert.assertTrue("'" + booleanLiteralSet60 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE + "'", booleanLiteralSet60.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE)); org.junit.Assert.assertTrue("'" + boolean62 + "' != '" + true + "'", boolean62 == true); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + true + "'", boolean64 == true); org.junit.Assert.assertTrue("'" + int65 + "' != '" + (-1) + "'", int65 == (-1)); org.junit.Assert.assertNotNull(jSTypeIterableList66); org.junit.Assert.assertTrue("'" + boolean68 + "' != '" + true + "'", boolean68 == true); org.junit.Assert.assertTrue("'" + boolean69 + "' != '" + false + "'", boolean69 == false); org.junit.Assert.assertTrue("'" + int70 + "' != '" + 2 + "'", int70 == 2); } @Test public void test4430() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4430"); com.google.javascript.rhino.Node node1 = null; com.google.javascript.rhino.Node node2 = null; com.google.javascript.rhino.JSDocInfo.TypePosition typePosition3 = new com.google.javascript.rhino.JSDocInfo.TypePosition(); int int4 = typePosition3.getStartLine(); com.google.javascript.rhino.Node node9 = com.google.javascript.rhino.Node.newString((int) '4', "InputId: []", 41, 6); typePosition3.setItem(node9); boolean boolean11 = node9.isFalse(); com.google.javascript.rhino.Node node15 = com.google.javascript.rhino.Node.newNumber((double) (byte) 100, 0, 100); node15.setSourceFileForTesting("function (): {434720206}"); boolean boolean18 = node15.isTrue(); com.google.javascript.rhino.InputId inputId20 = new com.google.javascript.rhino.InputId("InputId: []"); java.lang.String str21 = inputId20.getIdName(); com.google.javascript.rhino.InputId inputId23 = new com.google.javascript.rhino.InputId("InputId: []"); com.google.javascript.rhino.InputId inputId25 = new com.google.javascript.rhino.InputId("InputId: []"); com.google.javascript.rhino.InputId inputId27 = new com.google.javascript.rhino.InputId("[]"); java.lang.String str28 = inputId27.getIdName(); java.lang.String str29 = inputId27.toString(); java.lang.String str30 = inputId27.toString(); java.lang.String str31 = inputId27.getIdName(); com.google.javascript.rhino.InputId inputId33 = new com.google.javascript.rhino.InputId("[]"); com.google.javascript.rhino.InputId inputId35 = new com.google.javascript.rhino.InputId("[]"); java.lang.String str36 = inputId35.getIdName(); java.lang.String str37 = inputId35.toString(); java.lang.String str38 = inputId35.getIdName(); com.google.javascript.rhino.InputId inputId40 = new com.google.javascript.rhino.InputId("[]"); java.lang.String str41 = inputId40.getIdName(); java.lang.String str42 = inputId40.toString(); java.lang.String str43 = inputId40.toString(); com.google.javascript.rhino.InputId inputId45 = new com.google.javascript.rhino.InputId("InputId: []"); com.google.common.collect.ImmutableList<com.google.javascript.rhino.InputId> inputIdList46 = com.google.common.collect.ImmutableList.of(inputId20, inputId23, inputId25, inputId27, inputId33, inputId35, inputId40, inputId45); node15.setInputId(inputId33); // The following exception was thrown during execution in test generation try { com.google.javascript.rhino.Node node48 = new com.google.javascript.rhino.Node(0, node1, node2, node9, node15); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0); org.junit.Assert.assertNotNull(node9); org.junit.Assert.assertTrue("'" + boolean11 + "' != '" + false + "'", boolean11 == false); org.junit.Assert.assertNotNull(node15); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertEquals("'" + str21 + "' != '" + "InputId: []" + "'", str21, "InputId: []"); org.junit.Assert.assertEquals("'" + str28 + "' != '" + "[]" + "'", str28, "[]"); org.junit.Assert.assertEquals("'" + str29 + "' != '" + "InputId: []" + "'", str29, "InputId: []"); org.junit.Assert.assertEquals("'" + str30 + "' != '" + "InputId: []" + "'", str30, "InputId: []"); org.junit.Assert.assertEquals("'" + str31 + "' != '" + "[]" + "'", str31, "[]"); org.junit.Assert.assertEquals("'" + str36 + "' != '" + "[]" + "'", str36, "[]"); org.junit.Assert.assertEquals("'" + str37 + "' != '" + "InputId: []" + "'", str37, "InputId: []"); org.junit.Assert.assertEquals("'" + str38 + "' != '" + "[]" + "'", str38, "[]"); org.junit.Assert.assertEquals("'" + str41 + "' != '" + "[]" + "'", str41, "[]"); org.junit.Assert.assertEquals("'" + str42 + "' != '" + "InputId: []" + "'", str42, "InputId: []"); org.junit.Assert.assertEquals("'" + str43 + "' != '" + "InputId: []" + "'", str43, "InputId: []"); org.junit.Assert.assertNotNull(inputIdList46); } @Test public void test4431() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4431"); com.google.javascript.rhino.Node node3 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean4 = node3.isLabelName(); java.util.Set<java.lang.String> strSet5 = node3.getDirectives(); com.google.javascript.rhino.Node node7 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean8 = node7.isLabelName(); com.google.javascript.rhino.Node[] nodeArray9 = new com.google.javascript.rhino.Node[] { node3, node7 }; com.google.javascript.rhino.Node node12 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray9, 50, 50); com.google.javascript.rhino.Node node14 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node12.addChildToFront(node14); boolean boolean16 = node14.isDefaultCase(); com.google.javascript.rhino.Node node17 = node14.getParent(); com.google.javascript.rhino.Node node20 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean21 = node20.isLabelName(); java.util.Set<java.lang.String> strSet22 = node20.getDirectives(); com.google.javascript.rhino.Node node24 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean25 = node24.isLabelName(); com.google.javascript.rhino.Node[] nodeArray26 = new com.google.javascript.rhino.Node[] { node20, node24 }; com.google.javascript.rhino.Node node29 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray26, 50, 50); com.google.javascript.rhino.Node node31 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node29.addChildToFront(node31); boolean boolean33 = node29.isNew(); com.google.javascript.rhino.JSDocInfo jSDocInfo34 = node29.getJSDocInfo(); com.google.javascript.rhino.Node node37 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean38 = node37.isLabelName(); java.util.Set<java.lang.String> strSet39 = node37.getDirectives(); com.google.javascript.rhino.Node node41 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean42 = node41.isLabelName(); com.google.javascript.rhino.Node[] nodeArray43 = new com.google.javascript.rhino.Node[] { node37, node41 }; com.google.javascript.rhino.Node node46 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray43, 50, 50); com.google.javascript.rhino.Node node48 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node46.addChildToFront(node48); com.google.javascript.rhino.Node node50 = node48.detachFromParent(); com.google.javascript.rhino.Node node53 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean54 = node53.isLabelName(); java.util.Set<java.lang.String> strSet55 = node53.getDirectives(); com.google.javascript.rhino.Node node57 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean58 = node57.isLabelName(); com.google.javascript.rhino.Node[] nodeArray59 = new com.google.javascript.rhino.Node[] { node53, node57 }; com.google.javascript.rhino.Node node62 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray59, 50, 50); com.google.javascript.rhino.Node node64 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node62.addChildToFront(node64); boolean boolean66 = node62.isNew(); com.google.javascript.rhino.Node node68 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node69 = node62.useSourceInfoFrom(node68); boolean boolean70 = node62.isFromExterns(); com.google.javascript.rhino.Node node71 = new com.google.javascript.rhino.Node((int) (byte) 100, node17, node29, node48, node62); com.google.javascript.rhino.Node node72 = node48.cloneTree(); java.lang.Iterable<com.google.javascript.rhino.Node> nodeIterable73 = node72.children(); boolean boolean74 = node72.isFalse(); java.lang.String str78 = node72.toString(true, true, false); boolean boolean79 = node72.isScript(); org.junit.Assert.assertNotNull(node3); org.junit.Assert.assertTrue("'" + boolean4 + "' != '" + false + "'", boolean4 == false); org.junit.Assert.assertNull(strSet5); org.junit.Assert.assertNotNull(node7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(nodeArray9); org.junit.Assert.assertNotNull(node14); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertNotNull(node17); org.junit.Assert.assertNotNull(node20); org.junit.Assert.assertTrue("'" + boolean21 + "' != '" + false + "'", boolean21 == false); org.junit.Assert.assertNull(strSet22); org.junit.Assert.assertNotNull(node24); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); org.junit.Assert.assertNotNull(nodeArray26); org.junit.Assert.assertNotNull(node31); org.junit.Assert.assertTrue("'" + boolean33 + "' != '" + false + "'", boolean33 == false); org.junit.Assert.assertNull(jSDocInfo34); org.junit.Assert.assertNotNull(node37); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNull(strSet39); org.junit.Assert.assertNotNull(node41); org.junit.Assert.assertTrue("'" + boolean42 + "' != '" + false + "'", boolean42 == false); org.junit.Assert.assertNotNull(nodeArray43); org.junit.Assert.assertNotNull(node48); org.junit.Assert.assertNotNull(node50); org.junit.Assert.assertNotNull(node53); org.junit.Assert.assertTrue("'" + boolean54 + "' != '" + false + "'", boolean54 == false); org.junit.Assert.assertNull(strSet55); org.junit.Assert.assertNotNull(node57); org.junit.Assert.assertTrue("'" + boolean58 + "' != '" + false + "'", boolean58 == false); org.junit.Assert.assertNotNull(nodeArray59); org.junit.Assert.assertNotNull(node64); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertNotNull(node68); org.junit.Assert.assertNotNull(node69); org.junit.Assert.assertTrue("'" + boolean70 + "' != '" + false + "'", boolean70 == false); org.junit.Assert.assertNotNull(node72); org.junit.Assert.assertNotNull(nodeIterable73); org.junit.Assert.assertTrue("'" + boolean74 + "' != '" + false + "'", boolean74 == false); org.junit.Assert.assertEquals("'" + str78 + "' != '" + "STRING Not declared as a constructor" + "'", str78, "STRING Not declared as a constructor"); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + false + "'", boolean79 == false); } @Test public void test4432() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4432"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry2 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0, false); jSTypeRegistry2.identifyNonNullableName("(function (): {889988203})"); com.google.javascript.rhino.ErrorReporter errorReporter6 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry7 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter6); com.google.javascript.rhino.jstype.ObjectType objectType8 = null; com.google.javascript.rhino.jstype.JSType jSType9 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray10 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList11 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean12 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList11, jSTypeArray10); com.google.javascript.rhino.jstype.JSType jSType13 = jSTypeRegistry7.createFunctionTypeWithVarArgs(objectType8, jSType9, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList11); boolean boolean14 = jSType13.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter15 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry16 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter15); com.google.javascript.rhino.ErrorReporter errorReporter17 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry18 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter17); com.google.javascript.rhino.jstype.ObjectType objectType19 = null; com.google.javascript.rhino.jstype.JSType jSType20 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray21 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList22 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean23 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList22, jSTypeArray21); com.google.javascript.rhino.jstype.JSType jSType24 = jSTypeRegistry18.createFunctionTypeWithVarArgs(objectType19, jSType20, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList22); boolean boolean25 = jSType24.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter27 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry28 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter27); com.google.javascript.rhino.jstype.ObjectType objectType29 = null; com.google.javascript.rhino.jstype.JSType jSType30 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray31 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList32 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean33 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList32, jSTypeArray31); com.google.javascript.rhino.jstype.JSType jSType34 = jSTypeRegistry28.createFunctionTypeWithVarArgs(objectType29, jSType30, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList32); boolean boolean35 = jSType34.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType36 = jSType34.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter37 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry38 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter37); com.google.javascript.rhino.jstype.ObjectType objectType39 = null; com.google.javascript.rhino.jstype.JSType jSType40 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray41 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList42 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean43 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList42, jSTypeArray41); com.google.javascript.rhino.jstype.JSType jSType44 = jSTypeRegistry38.createFunctionTypeWithVarArgs(objectType39, jSType40, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList42); boolean boolean45 = jSType44.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType46 = jSType44.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter47 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry48 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter47); com.google.javascript.rhino.jstype.ObjectType objectType49 = null; com.google.javascript.rhino.jstype.JSType jSType50 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray51 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList52 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean53 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList52, jSTypeArray51); com.google.javascript.rhino.jstype.JSType jSType54 = jSTypeRegistry48.createFunctionTypeWithVarArgs(objectType49, jSType50, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList52); com.google.javascript.rhino.ErrorReporter errorReporter55 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry56 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter55); com.google.javascript.rhino.jstype.ObjectType objectType57 = null; com.google.javascript.rhino.jstype.JSType jSType58 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray59 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList60 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean61 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList60, jSTypeArray59); com.google.javascript.rhino.jstype.JSType jSType62 = jSTypeRegistry56.createFunctionTypeWithVarArgs(objectType57, jSType58, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList60); boolean boolean63 = jSType62.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType64 = jSType62.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter65 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry66 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter65); com.google.javascript.rhino.jstype.ObjectType objectType67 = null; com.google.javascript.rhino.jstype.JSType jSType68 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray69 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList70 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean71 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList70, jSTypeArray69); com.google.javascript.rhino.jstype.JSType jSType72 = jSTypeRegistry66.createFunctionTypeWithVarArgs(objectType67, jSType68, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList70); com.google.javascript.rhino.ErrorReporter errorReporter73 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry74 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter73); com.google.javascript.rhino.jstype.ObjectType objectType75 = null; com.google.javascript.rhino.jstype.JSType jSType76 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray77 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList78 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean79 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList78, jSTypeArray77); com.google.javascript.rhino.jstype.JSType jSType80 = jSTypeRegistry74.createFunctionTypeWithVarArgs(objectType75, jSType76, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList78); boolean boolean81 = jSType80.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType82 = jSType80.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray83 = new com.google.javascript.rhino.jstype.JSType[] { jSType36, jSType44, jSType50, jSType64, jSType72, objectType82 }; com.google.javascript.rhino.jstype.FunctionType functionType84 = jSTypeRegistry16.createConstructorType(jSType24, false, jSTypeArray83); boolean boolean85 = jSType13.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType84); com.google.javascript.rhino.jstype.FunctionType functionType86 = functionType84.toMaybeFunctionType(); com.google.javascript.rhino.jstype.FunctionType functionType88 = functionType84.getBindReturnType(39); jSTypeRegistry2.unregisterPropertyOnType("function (): {160022603}", (com.google.javascript.rhino.jstype.JSType) functionType88); jSTypeRegistry2.incrementGeneration(); org.junit.Assert.assertNotNull(jSTypeArray10); org.junit.Assert.assertTrue("'" + boolean12 + "' != '" + false + "'", boolean12 == false); org.junit.Assert.assertNotNull(jSType13); org.junit.Assert.assertTrue("'" + boolean14 + "' != '" + false + "'", boolean14 == false); org.junit.Assert.assertNotNull(jSTypeArray21); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + false + "'", boolean23 == false); org.junit.Assert.assertNotNull(jSType24); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); org.junit.Assert.assertNotNull(jSTypeArray31); org.junit.Assert.assertTrue("'" + boolean33 + "' != '" + false + "'", boolean33 == false); org.junit.Assert.assertNotNull(jSType34); org.junit.Assert.assertTrue("'" + boolean35 + "' != '" + false + "'", boolean35 == false); org.junit.Assert.assertNotNull(jSType36); org.junit.Assert.assertNotNull(jSTypeArray41); org.junit.Assert.assertTrue("'" + boolean43 + "' != '" + false + "'", boolean43 == false); org.junit.Assert.assertNotNull(jSType44); org.junit.Assert.assertTrue("'" + boolean45 + "' != '" + false + "'", boolean45 == false); org.junit.Assert.assertNotNull(jSType46); org.junit.Assert.assertNotNull(jSTypeArray51); org.junit.Assert.assertTrue("'" + boolean53 + "' != '" + false + "'", boolean53 == false); org.junit.Assert.assertNotNull(jSType54); org.junit.Assert.assertNotNull(jSTypeArray59); org.junit.Assert.assertTrue("'" + boolean61 + "' != '" + false + "'", boolean61 == false); org.junit.Assert.assertNotNull(jSType62); org.junit.Assert.assertTrue("'" + boolean63 + "' != '" + false + "'", boolean63 == false); org.junit.Assert.assertNotNull(jSType64); org.junit.Assert.assertNotNull(jSTypeArray69); org.junit.Assert.assertTrue("'" + boolean71 + "' != '" + false + "'", boolean71 == false); org.junit.Assert.assertNotNull(jSType72); org.junit.Assert.assertNotNull(jSTypeArray77); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + false + "'", boolean79 == false); org.junit.Assert.assertNotNull(jSType80); org.junit.Assert.assertTrue("'" + boolean81 + "' != '" + false + "'", boolean81 == false); org.junit.Assert.assertNotNull(objectType82); org.junit.Assert.assertNotNull(jSTypeArray83); org.junit.Assert.assertNotNull(functionType84); org.junit.Assert.assertTrue("'" + boolean85 + "' != '" + true + "'", boolean85 == true); org.junit.Assert.assertNotNull(functionType86); org.junit.Assert.assertNotNull(functionType88); } @Test public void test4433() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4433"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); boolean boolean8 = jSType7.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter9 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry10 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter9); com.google.javascript.rhino.ErrorReporter errorReporter11 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry12 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter11); com.google.javascript.rhino.jstype.ObjectType objectType13 = null; com.google.javascript.rhino.jstype.JSType jSType14 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray15 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList16 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean17 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList16, jSTypeArray15); com.google.javascript.rhino.jstype.JSType jSType18 = jSTypeRegistry12.createFunctionTypeWithVarArgs(objectType13, jSType14, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList16); boolean boolean19 = jSType18.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter21 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry22 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter21); com.google.javascript.rhino.jstype.ObjectType objectType23 = null; com.google.javascript.rhino.jstype.JSType jSType24 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray25 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList26 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean27 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList26, jSTypeArray25); com.google.javascript.rhino.jstype.JSType jSType28 = jSTypeRegistry22.createFunctionTypeWithVarArgs(objectType23, jSType24, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList26); boolean boolean29 = jSType28.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType30 = jSType28.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter31 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry32 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter31); com.google.javascript.rhino.jstype.ObjectType objectType33 = null; com.google.javascript.rhino.jstype.JSType jSType34 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray35 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList36 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean37 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList36, jSTypeArray35); com.google.javascript.rhino.jstype.JSType jSType38 = jSTypeRegistry32.createFunctionTypeWithVarArgs(objectType33, jSType34, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList36); boolean boolean39 = jSType38.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType40 = jSType38.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter41 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry42 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter41); com.google.javascript.rhino.jstype.ObjectType objectType43 = null; com.google.javascript.rhino.jstype.JSType jSType44 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray45 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList46 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean47 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList46, jSTypeArray45); com.google.javascript.rhino.jstype.JSType jSType48 = jSTypeRegistry42.createFunctionTypeWithVarArgs(objectType43, jSType44, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList46); com.google.javascript.rhino.ErrorReporter errorReporter49 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry50 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter49); com.google.javascript.rhino.jstype.ObjectType objectType51 = null; com.google.javascript.rhino.jstype.JSType jSType52 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray53 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList54 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean55 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList54, jSTypeArray53); com.google.javascript.rhino.jstype.JSType jSType56 = jSTypeRegistry50.createFunctionTypeWithVarArgs(objectType51, jSType52, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList54); boolean boolean57 = jSType56.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType58 = jSType56.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter59 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry60 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter59); com.google.javascript.rhino.jstype.ObjectType objectType61 = null; com.google.javascript.rhino.jstype.JSType jSType62 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray63 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList64 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean65 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList64, jSTypeArray63); com.google.javascript.rhino.jstype.JSType jSType66 = jSTypeRegistry60.createFunctionTypeWithVarArgs(objectType61, jSType62, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList64); com.google.javascript.rhino.ErrorReporter errorReporter67 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry68 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter67); com.google.javascript.rhino.jstype.ObjectType objectType69 = null; com.google.javascript.rhino.jstype.JSType jSType70 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray71 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList72 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean73 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList72, jSTypeArray71); com.google.javascript.rhino.jstype.JSType jSType74 = jSTypeRegistry68.createFunctionTypeWithVarArgs(objectType69, jSType70, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList72); boolean boolean75 = jSType74.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType76 = jSType74.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray77 = new com.google.javascript.rhino.jstype.JSType[] { jSType30, jSType38, jSType44, jSType58, jSType66, objectType76 }; com.google.javascript.rhino.jstype.FunctionType functionType78 = jSTypeRegistry10.createConstructorType(jSType18, false, jSTypeArray77); boolean boolean79 = jSType7.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType78); com.google.javascript.rhino.jstype.FunctionType functionType80 = functionType78.toMaybeFunctionType(); functionType78.clearResolved(); boolean boolean82 = functionType78.isEnumType(); boolean boolean83 = functionType78.isConstructor(); com.google.javascript.rhino.jstype.FunctionType functionType84 = functionType78.getSuperClassConstructor(); functionType78.clearCachedValues(); com.google.javascript.rhino.jstype.ObjectType objectType86 = functionType78.getImplicitPrototype(); com.google.javascript.rhino.jstype.JSType jSType88 = objectType86.getRestrictedTypeGivenToBooleanOutcome(true); boolean boolean89 = jSType88.isNullType(); boolean boolean90 = jSType88.matchesNumberContext(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSTypeArray15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(jSType18); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(jSTypeArray25); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(jSType28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(jSType30); org.junit.Assert.assertNotNull(jSTypeArray35); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSType38); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(jSType40); org.junit.Assert.assertNotNull(jSTypeArray45); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(jSType48); org.junit.Assert.assertNotNull(jSTypeArray53); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); org.junit.Assert.assertNotNull(jSType56); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNotNull(jSType58); org.junit.Assert.assertNotNull(jSTypeArray63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(jSType66); org.junit.Assert.assertNotNull(jSTypeArray71); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNotNull(jSType74); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(objectType76); org.junit.Assert.assertNotNull(jSTypeArray77); org.junit.Assert.assertNotNull(functionType78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + true + "'", boolean79 == true); org.junit.Assert.assertNotNull(functionType80); org.junit.Assert.assertTrue("'" + boolean82 + "' != '" + false + "'", boolean82 == false); org.junit.Assert.assertTrue("'" + boolean83 + "' != '" + true + "'", boolean83 == true); org.junit.Assert.assertNull(functionType84); org.junit.Assert.assertNotNull(objectType86); org.junit.Assert.assertNotNull(jSType88); org.junit.Assert.assertTrue("'" + boolean89 + "' != '" + false + "'", boolean89 == false); org.junit.Assert.assertTrue("'" + boolean90 + "' != '" + false + "'", boolean90 == false); } @Test public void test4434() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4434"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); boolean boolean8 = jSType7.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter9 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry10 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter9); com.google.javascript.rhino.ErrorReporter errorReporter11 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry12 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter11); com.google.javascript.rhino.jstype.ObjectType objectType13 = null; com.google.javascript.rhino.jstype.JSType jSType14 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray15 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList16 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean17 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList16, jSTypeArray15); com.google.javascript.rhino.jstype.JSType jSType18 = jSTypeRegistry12.createFunctionTypeWithVarArgs(objectType13, jSType14, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList16); boolean boolean19 = jSType18.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter21 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry22 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter21); com.google.javascript.rhino.jstype.ObjectType objectType23 = null; com.google.javascript.rhino.jstype.JSType jSType24 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray25 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList26 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean27 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList26, jSTypeArray25); com.google.javascript.rhino.jstype.JSType jSType28 = jSTypeRegistry22.createFunctionTypeWithVarArgs(objectType23, jSType24, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList26); boolean boolean29 = jSType28.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType30 = jSType28.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter31 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry32 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter31); com.google.javascript.rhino.jstype.ObjectType objectType33 = null; com.google.javascript.rhino.jstype.JSType jSType34 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray35 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList36 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean37 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList36, jSTypeArray35); com.google.javascript.rhino.jstype.JSType jSType38 = jSTypeRegistry32.createFunctionTypeWithVarArgs(objectType33, jSType34, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList36); boolean boolean39 = jSType38.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType40 = jSType38.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter41 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry42 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter41); com.google.javascript.rhino.jstype.ObjectType objectType43 = null; com.google.javascript.rhino.jstype.JSType jSType44 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray45 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList46 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean47 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList46, jSTypeArray45); com.google.javascript.rhino.jstype.JSType jSType48 = jSTypeRegistry42.createFunctionTypeWithVarArgs(objectType43, jSType44, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList46); com.google.javascript.rhino.ErrorReporter errorReporter49 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry50 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter49); com.google.javascript.rhino.jstype.ObjectType objectType51 = null; com.google.javascript.rhino.jstype.JSType jSType52 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray53 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList54 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean55 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList54, jSTypeArray53); com.google.javascript.rhino.jstype.JSType jSType56 = jSTypeRegistry50.createFunctionTypeWithVarArgs(objectType51, jSType52, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList54); boolean boolean57 = jSType56.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType58 = jSType56.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter59 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry60 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter59); com.google.javascript.rhino.jstype.ObjectType objectType61 = null; com.google.javascript.rhino.jstype.JSType jSType62 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray63 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList64 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean65 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList64, jSTypeArray63); com.google.javascript.rhino.jstype.JSType jSType66 = jSTypeRegistry60.createFunctionTypeWithVarArgs(objectType61, jSType62, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList64); com.google.javascript.rhino.ErrorReporter errorReporter67 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry68 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter67); com.google.javascript.rhino.jstype.ObjectType objectType69 = null; com.google.javascript.rhino.jstype.JSType jSType70 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray71 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList72 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean73 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList72, jSTypeArray71); com.google.javascript.rhino.jstype.JSType jSType74 = jSTypeRegistry68.createFunctionTypeWithVarArgs(objectType69, jSType70, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList72); boolean boolean75 = jSType74.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType76 = jSType74.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray77 = new com.google.javascript.rhino.jstype.JSType[] { jSType30, jSType38, jSType44, jSType58, jSType66, objectType76 }; com.google.javascript.rhino.jstype.FunctionType functionType78 = jSTypeRegistry10.createConstructorType(jSType18, false, jSTypeArray77); boolean boolean79 = jSType7.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType78); com.google.javascript.rhino.jstype.FunctionType functionType80 = functionType78.toMaybeFunctionType(); functionType78.clearResolved(); boolean boolean82 = functionType78.isEnumType(); boolean boolean83 = functionType78.isConstructor(); com.google.javascript.rhino.jstype.FunctionType functionType84 = functionType78.getSuperClassConstructor(); functionType78.clearCachedValues(); com.google.javascript.rhino.jstype.StaticSlot<com.google.javascript.rhino.jstype.JSType> jSTypeStaticSlot87 = functionType78.getSlot("STRING Not declared as a constructor"); boolean boolean88 = functionType78.isDateType(); boolean boolean89 = functionType78.isNominalConstructor(); boolean boolean90 = functionType78.hasAnyTemplate(); boolean boolean91 = functionType78.matchesNumberContext(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSTypeArray15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(jSType18); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(jSTypeArray25); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(jSType28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(jSType30); org.junit.Assert.assertNotNull(jSTypeArray35); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSType38); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(jSType40); org.junit.Assert.assertNotNull(jSTypeArray45); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(jSType48); org.junit.Assert.assertNotNull(jSTypeArray53); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); org.junit.Assert.assertNotNull(jSType56); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNotNull(jSType58); org.junit.Assert.assertNotNull(jSTypeArray63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(jSType66); org.junit.Assert.assertNotNull(jSTypeArray71); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNotNull(jSType74); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(objectType76); org.junit.Assert.assertNotNull(jSTypeArray77); org.junit.Assert.assertNotNull(functionType78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + true + "'", boolean79 == true); org.junit.Assert.assertNotNull(functionType80); org.junit.Assert.assertTrue("'" + boolean82 + "' != '" + false + "'", boolean82 == false); org.junit.Assert.assertTrue("'" + boolean83 + "' != '" + true + "'", boolean83 == true); org.junit.Assert.assertNull(functionType84); org.junit.Assert.assertNull(jSTypeStaticSlot87); org.junit.Assert.assertTrue("'" + boolean88 + "' != '" + false + "'", boolean88 == false); org.junit.Assert.assertTrue("'" + boolean89 + "' != '" + false + "'", boolean89 == false); org.junit.Assert.assertTrue("'" + boolean90 + "' != '" + false + "'", boolean90 == false); org.junit.Assert.assertTrue("'" + boolean91 + "' != '" + false + "'", boolean91 == false); } @Test public void test4435() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4435"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); com.google.javascript.rhino.jstype.JSType jSType8 = null; com.google.javascript.rhino.ErrorReporter errorReporter9 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry10 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter9); com.google.javascript.rhino.ErrorReporter errorReporter11 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry12 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter11); com.google.javascript.rhino.jstype.ObjectType objectType13 = null; com.google.javascript.rhino.jstype.JSType jSType14 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray15 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList16 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean17 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList16, jSTypeArray15); com.google.javascript.rhino.jstype.JSType jSType18 = jSTypeRegistry12.createFunctionTypeWithVarArgs(objectType13, jSType14, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList16); boolean boolean19 = jSType18.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter21 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry22 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter21); com.google.javascript.rhino.jstype.ObjectType objectType23 = null; com.google.javascript.rhino.jstype.JSType jSType24 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray25 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList26 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean27 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList26, jSTypeArray25); com.google.javascript.rhino.jstype.JSType jSType28 = jSTypeRegistry22.createFunctionTypeWithVarArgs(objectType23, jSType24, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList26); boolean boolean29 = jSType28.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType30 = jSType28.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter31 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry32 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter31); com.google.javascript.rhino.jstype.ObjectType objectType33 = null; com.google.javascript.rhino.jstype.JSType jSType34 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray35 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList36 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean37 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList36, jSTypeArray35); com.google.javascript.rhino.jstype.JSType jSType38 = jSTypeRegistry32.createFunctionTypeWithVarArgs(objectType33, jSType34, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList36); boolean boolean39 = jSType38.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType40 = jSType38.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter41 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry42 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter41); com.google.javascript.rhino.jstype.ObjectType objectType43 = null; com.google.javascript.rhino.jstype.JSType jSType44 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray45 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList46 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean47 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList46, jSTypeArray45); com.google.javascript.rhino.jstype.JSType jSType48 = jSTypeRegistry42.createFunctionTypeWithVarArgs(objectType43, jSType44, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList46); com.google.javascript.rhino.ErrorReporter errorReporter49 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry50 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter49); com.google.javascript.rhino.jstype.ObjectType objectType51 = null; com.google.javascript.rhino.jstype.JSType jSType52 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray53 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList54 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean55 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList54, jSTypeArray53); com.google.javascript.rhino.jstype.JSType jSType56 = jSTypeRegistry50.createFunctionTypeWithVarArgs(objectType51, jSType52, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList54); boolean boolean57 = jSType56.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType58 = jSType56.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter59 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry60 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter59); com.google.javascript.rhino.jstype.ObjectType objectType61 = null; com.google.javascript.rhino.jstype.JSType jSType62 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray63 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList64 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean65 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList64, jSTypeArray63); com.google.javascript.rhino.jstype.JSType jSType66 = jSTypeRegistry60.createFunctionTypeWithVarArgs(objectType61, jSType62, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList64); com.google.javascript.rhino.ErrorReporter errorReporter67 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry68 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter67); com.google.javascript.rhino.jstype.ObjectType objectType69 = null; com.google.javascript.rhino.jstype.JSType jSType70 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray71 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList72 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean73 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList72, jSTypeArray71); com.google.javascript.rhino.jstype.JSType jSType74 = jSTypeRegistry68.createFunctionTypeWithVarArgs(objectType69, jSType70, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList72); boolean boolean75 = jSType74.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType76 = jSType74.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray77 = new com.google.javascript.rhino.jstype.JSType[] { jSType30, jSType38, jSType44, jSType58, jSType66, objectType76 }; com.google.javascript.rhino.jstype.FunctionType functionType78 = jSTypeRegistry10.createConstructorType(jSType18, false, jSTypeArray77); com.google.javascript.rhino.jstype.FunctionType functionType79 = jSTypeRegistry1.createFunctionTypeWithVarArgs(jSType8, jSTypeArray77); boolean boolean80 = jSTypeRegistry1.shouldTolerateUndefinedValues(); jSTypeRegistry1.incrementGeneration(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray82 = null; // The following exception was thrown during execution in test generation try { com.google.javascript.rhino.Node node83 = jSTypeRegistry1.createParameters(jSTypeArray82); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertNotNull(jSTypeArray15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(jSType18); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(jSTypeArray25); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(jSType28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(jSType30); org.junit.Assert.assertNotNull(jSTypeArray35); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSType38); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(jSType40); org.junit.Assert.assertNotNull(jSTypeArray45); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(jSType48); org.junit.Assert.assertNotNull(jSTypeArray53); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); org.junit.Assert.assertNotNull(jSType56); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNotNull(jSType58); org.junit.Assert.assertNotNull(jSTypeArray63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(jSType66); org.junit.Assert.assertNotNull(jSTypeArray71); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNotNull(jSType74); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(objectType76); org.junit.Assert.assertNotNull(jSTypeArray77); org.junit.Assert.assertNotNull(functionType78); org.junit.Assert.assertNotNull(functionType79); org.junit.Assert.assertTrue("'" + boolean80 + "' != '" + false + "'", boolean80 == false); } @Test public void test4436() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4436"); com.google.javascript.rhino.JSDocInfo jSDocInfo0 = new com.google.javascript.rhino.JSDocInfo(); java.lang.String str1 = jSDocInfo0.getDescription(); boolean boolean2 = jSDocInfo0.isInterface(); boolean boolean3 = jSDocInfo0.isDeprecated(); java.lang.String str4 = jSDocInfo0.getBlockDescription(); boolean boolean5 = jSDocInfo0.isConstructor(); boolean boolean7 = jSDocInfo0.hasParameterType("OR\n"); boolean boolean8 = jSDocInfo0.isIdGenerator(); com.google.javascript.rhino.JSTypeExpression jSTypeExpression9 = jSDocInfo0.getThisType(); java.lang.String str10 = jSDocInfo0.getFileOverview(); org.junit.Assert.assertNull(str1); org.junit.Assert.assertTrue("'" + boolean2 + "' != '" + false + "'", boolean2 == false); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertNull(str4); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNull(jSTypeExpression9); org.junit.Assert.assertNull(str10); } @Test public void test4437() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4437"); com.google.javascript.rhino.Node node1 = new com.google.javascript.rhino.Node((int) (short) 100); boolean boolean2 = node1.isFor(); boolean boolean3 = node1.isParamList(); com.google.javascript.rhino.Node node6 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean7 = node6.isLabelName(); java.util.Set<java.lang.String> strSet8 = node6.getDirectives(); com.google.javascript.rhino.Node node10 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean11 = node10.isLabelName(); com.google.javascript.rhino.Node[] nodeArray12 = new com.google.javascript.rhino.Node[] { node6, node10 }; com.google.javascript.rhino.Node node15 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray12, 50, 50); com.google.javascript.rhino.Node node17 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node15.addChildToFront(node17); boolean boolean19 = node17.isDefaultCase(); com.google.javascript.rhino.Node node20 = node17.getParent(); node17.detachChildren(); boolean boolean22 = node17.hasMoreThanOneChild(); com.google.javascript.rhino.Node node23 = node1.useSourceInfoIfMissingFrom(node17); boolean boolean24 = node17.isComma(); boolean boolean25 = node17.isSyntheticBlock(); node17.setLineno((int) (short) 100); org.junit.Assert.assertTrue("'" + boolean2 + "' != '" + false + "'", boolean2 == false); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertNotNull(node6); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertNull(strSet8); org.junit.Assert.assertNotNull(node10); org.junit.Assert.assertTrue("'" + boolean11 + "' != '" + false + "'", boolean11 == false); org.junit.Assert.assertNotNull(nodeArray12); org.junit.Assert.assertNotNull(node17); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(node20); org.junit.Assert.assertTrue("'" + boolean22 + "' != '" + false + "'", boolean22 == false); org.junit.Assert.assertNotNull(node23); org.junit.Assert.assertTrue("'" + boolean24 + "' != '" + false + "'", boolean24 == false); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); } @Test public void test4438() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4438"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); boolean boolean8 = jSType7.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter9 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry10 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter9); com.google.javascript.rhino.ErrorReporter errorReporter11 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry12 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter11); com.google.javascript.rhino.jstype.ObjectType objectType13 = null; com.google.javascript.rhino.jstype.JSType jSType14 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray15 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList16 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean17 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList16, jSTypeArray15); com.google.javascript.rhino.jstype.JSType jSType18 = jSTypeRegistry12.createFunctionTypeWithVarArgs(objectType13, jSType14, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList16); boolean boolean19 = jSType18.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter21 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry22 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter21); com.google.javascript.rhino.jstype.ObjectType objectType23 = null; com.google.javascript.rhino.jstype.JSType jSType24 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray25 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList26 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean27 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList26, jSTypeArray25); com.google.javascript.rhino.jstype.JSType jSType28 = jSTypeRegistry22.createFunctionTypeWithVarArgs(objectType23, jSType24, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList26); boolean boolean29 = jSType28.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType30 = jSType28.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter31 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry32 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter31); com.google.javascript.rhino.jstype.ObjectType objectType33 = null; com.google.javascript.rhino.jstype.JSType jSType34 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray35 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList36 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean37 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList36, jSTypeArray35); com.google.javascript.rhino.jstype.JSType jSType38 = jSTypeRegistry32.createFunctionTypeWithVarArgs(objectType33, jSType34, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList36); boolean boolean39 = jSType38.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType40 = jSType38.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter41 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry42 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter41); com.google.javascript.rhino.jstype.ObjectType objectType43 = null; com.google.javascript.rhino.jstype.JSType jSType44 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray45 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList46 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean47 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList46, jSTypeArray45); com.google.javascript.rhino.jstype.JSType jSType48 = jSTypeRegistry42.createFunctionTypeWithVarArgs(objectType43, jSType44, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList46); com.google.javascript.rhino.ErrorReporter errorReporter49 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry50 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter49); com.google.javascript.rhino.jstype.ObjectType objectType51 = null; com.google.javascript.rhino.jstype.JSType jSType52 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray53 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList54 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean55 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList54, jSTypeArray53); com.google.javascript.rhino.jstype.JSType jSType56 = jSTypeRegistry50.createFunctionTypeWithVarArgs(objectType51, jSType52, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList54); boolean boolean57 = jSType56.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType58 = jSType56.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter59 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry60 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter59); com.google.javascript.rhino.jstype.ObjectType objectType61 = null; com.google.javascript.rhino.jstype.JSType jSType62 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray63 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList64 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean65 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList64, jSTypeArray63); com.google.javascript.rhino.jstype.JSType jSType66 = jSTypeRegistry60.createFunctionTypeWithVarArgs(objectType61, jSType62, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList64); com.google.javascript.rhino.ErrorReporter errorReporter67 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry68 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter67); com.google.javascript.rhino.jstype.ObjectType objectType69 = null; com.google.javascript.rhino.jstype.JSType jSType70 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray71 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList72 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean73 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList72, jSTypeArray71); com.google.javascript.rhino.jstype.JSType jSType74 = jSTypeRegistry68.createFunctionTypeWithVarArgs(objectType69, jSType70, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList72); boolean boolean75 = jSType74.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType76 = jSType74.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray77 = new com.google.javascript.rhino.jstype.JSType[] { jSType30, jSType38, jSType44, jSType58, jSType66, objectType76 }; com.google.javascript.rhino.jstype.FunctionType functionType78 = jSTypeRegistry10.createConstructorType(jSType18, false, jSTypeArray77); boolean boolean79 = jSType7.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType78); com.google.javascript.rhino.jstype.FunctionType functionType80 = functionType78.toMaybeFunctionType(); com.google.javascript.rhino.jstype.FunctionType functionType82 = functionType78.getBindReturnType(39); functionType82.clearCachedValues(); com.google.javascript.rhino.jstype.JSType jSType84 = functionType82.getReturnType(); boolean boolean86 = functionType82.isPropertyTypeInferred("JSDocInfo"); boolean boolean87 = functionType82.hasReferenceName(); com.google.javascript.rhino.jstype.ParameterizedType parameterizedType88 = functionType82.toMaybeParameterizedType(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSTypeArray15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(jSType18); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(jSTypeArray25); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(jSType28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(jSType30); org.junit.Assert.assertNotNull(jSTypeArray35); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSType38); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(jSType40); org.junit.Assert.assertNotNull(jSTypeArray45); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(jSType48); org.junit.Assert.assertNotNull(jSTypeArray53); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); org.junit.Assert.assertNotNull(jSType56); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNotNull(jSType58); org.junit.Assert.assertNotNull(jSTypeArray63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(jSType66); org.junit.Assert.assertNotNull(jSTypeArray71); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNotNull(jSType74); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(objectType76); org.junit.Assert.assertNotNull(jSTypeArray77); org.junit.Assert.assertNotNull(functionType78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + true + "'", boolean79 == true); org.junit.Assert.assertNotNull(functionType80); org.junit.Assert.assertNotNull(functionType82); org.junit.Assert.assertNotNull(jSType84); org.junit.Assert.assertTrue("'" + boolean86 + "' != '" + false + "'", boolean86 == false); org.junit.Assert.assertTrue("'" + boolean87 + "' != '" + false + "'", boolean87 == false); org.junit.Assert.assertNull(parameterizedType88); } @Test public void test4439() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4439"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.ErrorReporter errorReporter2 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry3 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter2); com.google.javascript.rhino.jstype.ObjectType objectType4 = null; com.google.javascript.rhino.jstype.JSType jSType5 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray6 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList7 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean8 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList7, jSTypeArray6); com.google.javascript.rhino.jstype.JSType jSType9 = jSTypeRegistry3.createFunctionTypeWithVarArgs(objectType4, jSType5, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList7); boolean boolean10 = jSType9.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter12 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry13 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter12); com.google.javascript.rhino.jstype.ObjectType objectType14 = null; com.google.javascript.rhino.jstype.JSType jSType15 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray16 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList17 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean18 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList17, jSTypeArray16); com.google.javascript.rhino.jstype.JSType jSType19 = jSTypeRegistry13.createFunctionTypeWithVarArgs(objectType14, jSType15, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList17); boolean boolean20 = jSType19.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType21 = jSType19.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter22 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry23 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter22); com.google.javascript.rhino.jstype.ObjectType objectType24 = null; com.google.javascript.rhino.jstype.JSType jSType25 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray26 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList27 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean28 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList27, jSTypeArray26); com.google.javascript.rhino.jstype.JSType jSType29 = jSTypeRegistry23.createFunctionTypeWithVarArgs(objectType24, jSType25, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList27); boolean boolean30 = jSType29.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType31 = jSType29.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter32 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry33 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter32); com.google.javascript.rhino.jstype.ObjectType objectType34 = null; com.google.javascript.rhino.jstype.JSType jSType35 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray36 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList37 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean38 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList37, jSTypeArray36); com.google.javascript.rhino.jstype.JSType jSType39 = jSTypeRegistry33.createFunctionTypeWithVarArgs(objectType34, jSType35, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList37); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); boolean boolean48 = jSType47.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType49 = jSType47.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter50 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry51 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter50); com.google.javascript.rhino.jstype.ObjectType objectType52 = null; com.google.javascript.rhino.jstype.JSType jSType53 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray54 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList55 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean56 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList55, jSTypeArray54); com.google.javascript.rhino.jstype.JSType jSType57 = jSTypeRegistry51.createFunctionTypeWithVarArgs(objectType52, jSType53, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList55); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); boolean boolean66 = jSType65.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType67 = jSType65.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray68 = new com.google.javascript.rhino.jstype.JSType[] { jSType21, jSType29, jSType35, jSType49, jSType57, objectType67 }; com.google.javascript.rhino.jstype.FunctionType functionType69 = jSTypeRegistry1.createConstructorType(jSType9, false, jSTypeArray68); boolean boolean70 = functionType69.hasReferenceName(); boolean boolean71 = functionType69.isNoType(); boolean boolean72 = functionType69.isNumberValueType(); com.google.javascript.rhino.Node node73 = functionType69.getRootNode(); com.google.javascript.rhino.Node node74 = functionType69.getParametersNode(); java.lang.Iterable<com.google.javascript.rhino.jstype.ObjectType> objectTypeIterable75 = functionType69.getImplementedInterfaces(); com.google.javascript.rhino.jstype.ObjectType objectType77 = functionType69.getTopMostDefiningType("(function (): {2126091289})"); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet78 = objectType77.getPossibleToBooleanOutcomes(); org.junit.Assert.assertNotNull(jSTypeArray6); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSType9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNotNull(jSTypeArray16); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSType19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(jSType21); org.junit.Assert.assertNotNull(jSTypeArray26); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(jSType31); org.junit.Assert.assertNotNull(jSTypeArray36); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(jSType49); org.junit.Assert.assertNotNull(jSTypeArray54); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertNotNull(objectType67); org.junit.Assert.assertNotNull(jSTypeArray68); org.junit.Assert.assertNotNull(functionType69); org.junit.Assert.assertTrue("'" + boolean70 + "' != '" + false + "'", boolean70 == false); org.junit.Assert.assertTrue("'" + boolean71 + "' != '" + false + "'", boolean71 == false); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertNull(node73); org.junit.Assert.assertNotNull(node74); org.junit.Assert.assertNotNull(objectTypeIterable75); org.junit.Assert.assertNotNull(objectType77); org.junit.Assert.assertTrue("'" + booleanLiteralSet78 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.TRUE + "'", booleanLiteralSet78.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.TRUE)); } @Test public void test4440() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4440"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); boolean boolean8 = jSType7.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType9 = jSType7.toObjectType(); java.lang.String str10 = objectType9.toString(); com.google.javascript.rhino.JSDocInfo jSDocInfo11 = objectType9.getJSDocInfo(); boolean boolean12 = objectType9.hasAnyTemplate(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(objectType9); org.junit.Assert.assertEquals("'" + str10 + "' != '" + "function (): ?" + "'", str10, "function (): ?"); org.junit.Assert.assertNull(jSDocInfo11); org.junit.Assert.assertTrue("'" + boolean12 + "' != '" + false + "'", boolean12 == false); } @Test public void test4441() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4441"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); boolean boolean8 = jSType7.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter9 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry10 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter9); com.google.javascript.rhino.ErrorReporter errorReporter11 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry12 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter11); com.google.javascript.rhino.jstype.ObjectType objectType13 = null; com.google.javascript.rhino.jstype.JSType jSType14 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray15 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList16 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean17 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList16, jSTypeArray15); com.google.javascript.rhino.jstype.JSType jSType18 = jSTypeRegistry12.createFunctionTypeWithVarArgs(objectType13, jSType14, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList16); boolean boolean19 = jSType18.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter21 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry22 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter21); com.google.javascript.rhino.jstype.ObjectType objectType23 = null; com.google.javascript.rhino.jstype.JSType jSType24 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray25 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList26 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean27 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList26, jSTypeArray25); com.google.javascript.rhino.jstype.JSType jSType28 = jSTypeRegistry22.createFunctionTypeWithVarArgs(objectType23, jSType24, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList26); boolean boolean29 = jSType28.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType30 = jSType28.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter31 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry32 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter31); com.google.javascript.rhino.jstype.ObjectType objectType33 = null; com.google.javascript.rhino.jstype.JSType jSType34 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray35 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList36 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean37 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList36, jSTypeArray35); com.google.javascript.rhino.jstype.JSType jSType38 = jSTypeRegistry32.createFunctionTypeWithVarArgs(objectType33, jSType34, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList36); boolean boolean39 = jSType38.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType40 = jSType38.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter41 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry42 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter41); com.google.javascript.rhino.jstype.ObjectType objectType43 = null; com.google.javascript.rhino.jstype.JSType jSType44 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray45 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList46 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean47 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList46, jSTypeArray45); com.google.javascript.rhino.jstype.JSType jSType48 = jSTypeRegistry42.createFunctionTypeWithVarArgs(objectType43, jSType44, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList46); com.google.javascript.rhino.ErrorReporter errorReporter49 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry50 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter49); com.google.javascript.rhino.jstype.ObjectType objectType51 = null; com.google.javascript.rhino.jstype.JSType jSType52 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray53 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList54 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean55 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList54, jSTypeArray53); com.google.javascript.rhino.jstype.JSType jSType56 = jSTypeRegistry50.createFunctionTypeWithVarArgs(objectType51, jSType52, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList54); boolean boolean57 = jSType56.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType58 = jSType56.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter59 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry60 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter59); com.google.javascript.rhino.jstype.ObjectType objectType61 = null; com.google.javascript.rhino.jstype.JSType jSType62 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray63 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList64 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean65 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList64, jSTypeArray63); com.google.javascript.rhino.jstype.JSType jSType66 = jSTypeRegistry60.createFunctionTypeWithVarArgs(objectType61, jSType62, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList64); com.google.javascript.rhino.ErrorReporter errorReporter67 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry68 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter67); com.google.javascript.rhino.jstype.ObjectType objectType69 = null; com.google.javascript.rhino.jstype.JSType jSType70 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray71 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList72 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean73 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList72, jSTypeArray71); com.google.javascript.rhino.jstype.JSType jSType74 = jSTypeRegistry68.createFunctionTypeWithVarArgs(objectType69, jSType70, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList72); boolean boolean75 = jSType74.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType76 = jSType74.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray77 = new com.google.javascript.rhino.jstype.JSType[] { jSType30, jSType38, jSType44, jSType58, jSType66, objectType76 }; com.google.javascript.rhino.jstype.FunctionType functionType78 = jSTypeRegistry10.createConstructorType(jSType18, false, jSTypeArray77); boolean boolean79 = jSType7.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType78); com.google.javascript.rhino.jstype.FunctionType functionType80 = functionType78.toMaybeFunctionType(); boolean boolean81 = functionType78.matchesInt32Context(); com.google.javascript.rhino.jstype.ObjectType objectType82 = functionType78.getTypeOfThis(); com.google.javascript.rhino.jstype.ObjectType.Property property84 = functionType78.getOwnSlot("OR"); com.google.javascript.rhino.Node node85 = functionType78.getParametersNode(); com.google.javascript.rhino.jstype.JSType jSType87 = functionType78.findPropertyType("(function (): {2126091289})"); java.lang.Iterable iterable88 = functionType78.getCtorExtendedInterfaces(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSTypeArray15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(jSType18); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(jSTypeArray25); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(jSType28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(jSType30); org.junit.Assert.assertNotNull(jSTypeArray35); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSType38); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(jSType40); org.junit.Assert.assertNotNull(jSTypeArray45); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(jSType48); org.junit.Assert.assertNotNull(jSTypeArray53); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); org.junit.Assert.assertNotNull(jSType56); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNotNull(jSType58); org.junit.Assert.assertNotNull(jSTypeArray63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(jSType66); org.junit.Assert.assertNotNull(jSTypeArray71); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNotNull(jSType74); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(objectType76); org.junit.Assert.assertNotNull(jSTypeArray77); org.junit.Assert.assertNotNull(functionType78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + true + "'", boolean79 == true); org.junit.Assert.assertNotNull(functionType80); org.junit.Assert.assertTrue("'" + boolean81 + "' != '" + false + "'", boolean81 == false); org.junit.Assert.assertNotNull(objectType82); org.junit.Assert.assertNull(property84); org.junit.Assert.assertNotNull(node85); org.junit.Assert.assertNull(jSType87); org.junit.Assert.assertNotNull(iterable88); } @Test public void test4442() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4442"); com.google.javascript.rhino.Node node3 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean4 = node3.isLabelName(); java.util.Set<java.lang.String> strSet5 = node3.getDirectives(); com.google.javascript.rhino.Node node7 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean8 = node7.isLabelName(); com.google.javascript.rhino.Node[] nodeArray9 = new com.google.javascript.rhino.Node[] { node3, node7 }; com.google.javascript.rhino.Node node12 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray9, 50, 50); com.google.javascript.rhino.Node node14 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node12.addChildToFront(node14); boolean boolean16 = node14.isDefaultCase(); com.google.javascript.rhino.Node node17 = node14.getParent(); com.google.javascript.rhino.Node node20 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean21 = node20.isLabelName(); java.util.Set<java.lang.String> strSet22 = node20.getDirectives(); com.google.javascript.rhino.Node node24 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean25 = node24.isLabelName(); com.google.javascript.rhino.Node[] nodeArray26 = new com.google.javascript.rhino.Node[] { node20, node24 }; com.google.javascript.rhino.Node node29 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray26, 50, 50); com.google.javascript.rhino.Node node31 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node29.addChildToFront(node31); boolean boolean33 = node29.isNew(); com.google.javascript.rhino.JSDocInfo jSDocInfo34 = node29.getJSDocInfo(); com.google.javascript.rhino.Node node37 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean38 = node37.isLabelName(); java.util.Set<java.lang.String> strSet39 = node37.getDirectives(); com.google.javascript.rhino.Node node41 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean42 = node41.isLabelName(); com.google.javascript.rhino.Node[] nodeArray43 = new com.google.javascript.rhino.Node[] { node37, node41 }; com.google.javascript.rhino.Node node46 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray43, 50, 50); com.google.javascript.rhino.Node node48 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node46.addChildToFront(node48); com.google.javascript.rhino.Node node50 = node48.detachFromParent(); com.google.javascript.rhino.Node node53 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean54 = node53.isLabelName(); java.util.Set<java.lang.String> strSet55 = node53.getDirectives(); com.google.javascript.rhino.Node node57 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean58 = node57.isLabelName(); com.google.javascript.rhino.Node[] nodeArray59 = new com.google.javascript.rhino.Node[] { node53, node57 }; com.google.javascript.rhino.Node node62 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray59, 50, 50); com.google.javascript.rhino.Node node64 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node62.addChildToFront(node64); boolean boolean66 = node62.isNew(); com.google.javascript.rhino.Node node68 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node69 = node62.useSourceInfoFrom(node68); boolean boolean70 = node62.isFromExterns(); com.google.javascript.rhino.Node node71 = new com.google.javascript.rhino.Node((int) (byte) 100, node17, node29, node48, node62); boolean boolean72 = node29.isNoSideEffectsCall(); boolean boolean73 = node29.hasOneChild(); // The following exception was thrown during execution in test generation try { com.google.javascript.rhino.Node node74 = com.google.javascript.jscomp.NodeUtil.getFunctionParameters(node29); org.junit.Assert.fail("Expected exception of type java.lang.IllegalArgumentException; message: null"); } catch (java.lang.IllegalArgumentException e) { // Expected exception. } org.junit.Assert.assertNotNull(node3); org.junit.Assert.assertTrue("'" + boolean4 + "' != '" + false + "'", boolean4 == false); org.junit.Assert.assertNull(strSet5); org.junit.Assert.assertNotNull(node7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(nodeArray9); org.junit.Assert.assertNotNull(node14); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertNotNull(node17); org.junit.Assert.assertNotNull(node20); org.junit.Assert.assertTrue("'" + boolean21 + "' != '" + false + "'", boolean21 == false); org.junit.Assert.assertNull(strSet22); org.junit.Assert.assertNotNull(node24); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); org.junit.Assert.assertNotNull(nodeArray26); org.junit.Assert.assertNotNull(node31); org.junit.Assert.assertTrue("'" + boolean33 + "' != '" + false + "'", boolean33 == false); org.junit.Assert.assertNull(jSDocInfo34); org.junit.Assert.assertNotNull(node37); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNull(strSet39); org.junit.Assert.assertNotNull(node41); org.junit.Assert.assertTrue("'" + boolean42 + "' != '" + false + "'", boolean42 == false); org.junit.Assert.assertNotNull(nodeArray43); org.junit.Assert.assertNotNull(node48); org.junit.Assert.assertNotNull(node50); org.junit.Assert.assertNotNull(node53); org.junit.Assert.assertTrue("'" + boolean54 + "' != '" + false + "'", boolean54 == false); org.junit.Assert.assertNull(strSet55); org.junit.Assert.assertNotNull(node57); org.junit.Assert.assertTrue("'" + boolean58 + "' != '" + false + "'", boolean58 == false); org.junit.Assert.assertNotNull(nodeArray59); org.junit.Assert.assertNotNull(node64); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertNotNull(node68); org.junit.Assert.assertNotNull(node69); org.junit.Assert.assertTrue("'" + boolean70 + "' != '" + false + "'", boolean70 == false); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); } @Test public void test4443() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4443"); com.google.javascript.rhino.Node node2 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean3 = node2.isLabelName(); java.util.Set<java.lang.String> strSet4 = node2.getDirectives(); com.google.javascript.rhino.Node node6 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean7 = node6.isLabelName(); com.google.javascript.rhino.Node[] nodeArray8 = new com.google.javascript.rhino.Node[] { node2, node6 }; com.google.javascript.rhino.Node node11 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray8, 50, 50); com.google.javascript.rhino.Node node13 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node11.addChildToFront(node13); boolean boolean15 = node11.isNoSideEffectsCall(); boolean boolean16 = node11.isName(); boolean boolean17 = node11.isAdd(); boolean boolean18 = node11.isHook(); com.google.javascript.rhino.Node node21 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean22 = node21.isLabelName(); java.util.Set<java.lang.String> strSet23 = node21.getDirectives(); com.google.javascript.rhino.Node node25 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean26 = node25.isLabelName(); com.google.javascript.rhino.Node[] nodeArray27 = new com.google.javascript.rhino.Node[] { node21, node25 }; com.google.javascript.rhino.Node node30 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray27, 50, 50); com.google.javascript.rhino.Node node32 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node30.addChildToFront(node32); boolean boolean34 = node30.isNoSideEffectsCall(); boolean boolean35 = node30.isName(); boolean boolean36 = node30.isAdd(); boolean boolean37 = node30.isHook(); com.google.javascript.rhino.Node node38 = node11.useSourceInfoIfMissingFromForTree(node30); node30.detachChildren(); boolean boolean40 = node30.isOptionalArg(); java.lang.Iterable<com.google.javascript.rhino.Node> nodeIterable41 = node30.siblings(); org.junit.Assert.assertNotNull(node2); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertNull(strSet4); org.junit.Assert.assertNotNull(node6); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertNotNull(nodeArray8); org.junit.Assert.assertNotNull(node13); org.junit.Assert.assertTrue("'" + boolean15 + "' != '" + false + "'", boolean15 == false); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(node21); org.junit.Assert.assertTrue("'" + boolean22 + "' != '" + false + "'", boolean22 == false); org.junit.Assert.assertNull(strSet23); org.junit.Assert.assertNotNull(node25); org.junit.Assert.assertTrue("'" + boolean26 + "' != '" + false + "'", boolean26 == false); org.junit.Assert.assertNotNull(nodeArray27); org.junit.Assert.assertNotNull(node32); org.junit.Assert.assertTrue("'" + boolean34 + "' != '" + false + "'", boolean34 == false); org.junit.Assert.assertTrue("'" + boolean35 + "' != '" + false + "'", boolean35 == false); org.junit.Assert.assertTrue("'" + boolean36 + "' != '" + false + "'", boolean36 == false); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(node38); org.junit.Assert.assertTrue("'" + boolean40 + "' != '" + false + "'", boolean40 == false); org.junit.Assert.assertNotNull(nodeIterable41); } @Test public void test4444() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4444"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.ErrorReporter errorReporter2 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry3 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter2); com.google.javascript.rhino.jstype.ObjectType objectType4 = null; com.google.javascript.rhino.jstype.JSType jSType5 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray6 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList7 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean8 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList7, jSTypeArray6); com.google.javascript.rhino.jstype.JSType jSType9 = jSTypeRegistry3.createFunctionTypeWithVarArgs(objectType4, jSType5, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList7); boolean boolean10 = jSType9.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter12 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry13 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter12); com.google.javascript.rhino.jstype.ObjectType objectType14 = null; com.google.javascript.rhino.jstype.JSType jSType15 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray16 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList17 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean18 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList17, jSTypeArray16); com.google.javascript.rhino.jstype.JSType jSType19 = jSTypeRegistry13.createFunctionTypeWithVarArgs(objectType14, jSType15, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList17); boolean boolean20 = jSType19.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType21 = jSType19.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter22 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry23 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter22); com.google.javascript.rhino.jstype.ObjectType objectType24 = null; com.google.javascript.rhino.jstype.JSType jSType25 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray26 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList27 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean28 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList27, jSTypeArray26); com.google.javascript.rhino.jstype.JSType jSType29 = jSTypeRegistry23.createFunctionTypeWithVarArgs(objectType24, jSType25, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList27); boolean boolean30 = jSType29.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType31 = jSType29.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter32 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry33 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter32); com.google.javascript.rhino.jstype.ObjectType objectType34 = null; com.google.javascript.rhino.jstype.JSType jSType35 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray36 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList37 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean38 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList37, jSTypeArray36); com.google.javascript.rhino.jstype.JSType jSType39 = jSTypeRegistry33.createFunctionTypeWithVarArgs(objectType34, jSType35, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList37); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); boolean boolean48 = jSType47.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType49 = jSType47.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter50 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry51 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter50); com.google.javascript.rhino.jstype.ObjectType objectType52 = null; com.google.javascript.rhino.jstype.JSType jSType53 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray54 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList55 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean56 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList55, jSTypeArray54); com.google.javascript.rhino.jstype.JSType jSType57 = jSTypeRegistry51.createFunctionTypeWithVarArgs(objectType52, jSType53, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList55); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); boolean boolean66 = jSType65.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType67 = jSType65.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray68 = new com.google.javascript.rhino.jstype.JSType[] { jSType21, jSType29, jSType35, jSType49, jSType57, objectType67 }; com.google.javascript.rhino.jstype.FunctionType functionType69 = jSTypeRegistry1.createConstructorType(jSType9, false, jSTypeArray68); boolean boolean70 = functionType69.hasReferenceName(); boolean boolean72 = functionType69.isPropertyInExterns("Not declared as a constructor"); boolean boolean74 = functionType69.isPropertyTypeInferred(""); java.util.Set<java.lang.String> strSet75 = functionType69.getPropertyNames(); com.google.javascript.rhino.jstype.JSType jSType77 = functionType69.getPropertyType("[]"); com.google.javascript.rhino.Node node79 = functionType69.getPropertyNode("STRING Not declared as a constructor"); boolean boolean80 = functionType69.isConstructor(); com.google.javascript.rhino.jstype.FunctionType functionType81 = functionType69.getOwnerFunction(); // The following exception was thrown during execution in test generation try { boolean boolean82 = functionType81.isNumber(); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(jSTypeArray6); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSType9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNotNull(jSTypeArray16); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSType19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(jSType21); org.junit.Assert.assertNotNull(jSTypeArray26); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(jSType31); org.junit.Assert.assertNotNull(jSTypeArray36); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(jSType49); org.junit.Assert.assertNotNull(jSTypeArray54); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertNotNull(objectType67); org.junit.Assert.assertNotNull(jSTypeArray68); org.junit.Assert.assertNotNull(functionType69); org.junit.Assert.assertTrue("'" + boolean70 + "' != '" + false + "'", boolean70 == false); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertTrue("'" + boolean74 + "' != '" + false + "'", boolean74 == false); org.junit.Assert.assertNotNull(strSet75); org.junit.Assert.assertNotNull(jSType77); org.junit.Assert.assertNull(node79); org.junit.Assert.assertTrue("'" + boolean80 + "' != '" + true + "'", boolean80 == true); org.junit.Assert.assertNull(functionType81); } @Test public void test4445() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4445"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); boolean boolean8 = jSType7.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter9 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry10 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter9); com.google.javascript.rhino.ErrorReporter errorReporter11 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry12 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter11); com.google.javascript.rhino.jstype.ObjectType objectType13 = null; com.google.javascript.rhino.jstype.JSType jSType14 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray15 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList16 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean17 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList16, jSTypeArray15); com.google.javascript.rhino.jstype.JSType jSType18 = jSTypeRegistry12.createFunctionTypeWithVarArgs(objectType13, jSType14, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList16); boolean boolean19 = jSType18.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter21 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry22 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter21); com.google.javascript.rhino.jstype.ObjectType objectType23 = null; com.google.javascript.rhino.jstype.JSType jSType24 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray25 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList26 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean27 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList26, jSTypeArray25); com.google.javascript.rhino.jstype.JSType jSType28 = jSTypeRegistry22.createFunctionTypeWithVarArgs(objectType23, jSType24, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList26); boolean boolean29 = jSType28.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType30 = jSType28.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter31 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry32 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter31); com.google.javascript.rhino.jstype.ObjectType objectType33 = null; com.google.javascript.rhino.jstype.JSType jSType34 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray35 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList36 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean37 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList36, jSTypeArray35); com.google.javascript.rhino.jstype.JSType jSType38 = jSTypeRegistry32.createFunctionTypeWithVarArgs(objectType33, jSType34, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList36); boolean boolean39 = jSType38.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType40 = jSType38.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter41 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry42 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter41); com.google.javascript.rhino.jstype.ObjectType objectType43 = null; com.google.javascript.rhino.jstype.JSType jSType44 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray45 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList46 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean47 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList46, jSTypeArray45); com.google.javascript.rhino.jstype.JSType jSType48 = jSTypeRegistry42.createFunctionTypeWithVarArgs(objectType43, jSType44, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList46); com.google.javascript.rhino.ErrorReporter errorReporter49 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry50 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter49); com.google.javascript.rhino.jstype.ObjectType objectType51 = null; com.google.javascript.rhino.jstype.JSType jSType52 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray53 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList54 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean55 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList54, jSTypeArray53); com.google.javascript.rhino.jstype.JSType jSType56 = jSTypeRegistry50.createFunctionTypeWithVarArgs(objectType51, jSType52, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList54); boolean boolean57 = jSType56.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType58 = jSType56.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter59 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry60 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter59); com.google.javascript.rhino.jstype.ObjectType objectType61 = null; com.google.javascript.rhino.jstype.JSType jSType62 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray63 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList64 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean65 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList64, jSTypeArray63); com.google.javascript.rhino.jstype.JSType jSType66 = jSTypeRegistry60.createFunctionTypeWithVarArgs(objectType61, jSType62, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList64); com.google.javascript.rhino.ErrorReporter errorReporter67 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry68 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter67); com.google.javascript.rhino.jstype.ObjectType objectType69 = null; com.google.javascript.rhino.jstype.JSType jSType70 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray71 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList72 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean73 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList72, jSTypeArray71); com.google.javascript.rhino.jstype.JSType jSType74 = jSTypeRegistry68.createFunctionTypeWithVarArgs(objectType69, jSType70, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList72); boolean boolean75 = jSType74.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType76 = jSType74.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray77 = new com.google.javascript.rhino.jstype.JSType[] { jSType30, jSType38, jSType44, jSType58, jSType66, objectType76 }; com.google.javascript.rhino.jstype.FunctionType functionType78 = jSTypeRegistry10.createConstructorType(jSType18, false, jSTypeArray77); boolean boolean79 = jSType7.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType78); com.google.javascript.rhino.jstype.StaticSlot staticSlot81 = functionType78.getSlot("Not declared as a constructor"); com.google.javascript.rhino.jstype.StaticScope<com.google.javascript.rhino.jstype.JSType> jSTypeStaticScope82 = functionType78.getParentScope(); functionType78.clearCachedValues(); com.google.javascript.rhino.Node node84 = functionType78.getParametersNode(); java.util.Set<java.lang.String> strSet85 = functionType78.getOwnPropertyNames(); com.google.javascript.rhino.jstype.JSType jSType87 = functionType78.getPropertyType("OR"); com.google.javascript.rhino.jstype.TemplateType templateType88 = functionType78.toMaybeTemplateType(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSTypeArray15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(jSType18); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(jSTypeArray25); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(jSType28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(jSType30); org.junit.Assert.assertNotNull(jSTypeArray35); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSType38); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(jSType40); org.junit.Assert.assertNotNull(jSTypeArray45); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(jSType48); org.junit.Assert.assertNotNull(jSTypeArray53); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); org.junit.Assert.assertNotNull(jSType56); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNotNull(jSType58); org.junit.Assert.assertNotNull(jSTypeArray63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(jSType66); org.junit.Assert.assertNotNull(jSTypeArray71); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNotNull(jSType74); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(objectType76); org.junit.Assert.assertNotNull(jSTypeArray77); org.junit.Assert.assertNotNull(functionType78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + true + "'", boolean79 == true); org.junit.Assert.assertNull(staticSlot81); org.junit.Assert.assertNotNull(jSTypeStaticScope82); org.junit.Assert.assertNotNull(node84); org.junit.Assert.assertNotNull(strSet85); org.junit.Assert.assertNotNull(jSType87); org.junit.Assert.assertNull(templateType88); } @Test public void test4446() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4446"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); com.google.javascript.rhino.ErrorReporter errorReporter8 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry9 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter8); com.google.javascript.rhino.ErrorReporter errorReporter10 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry11 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter10); com.google.javascript.rhino.jstype.ObjectType objectType12 = null; com.google.javascript.rhino.jstype.JSType jSType13 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray14 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList15 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean16 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList15, jSTypeArray14); com.google.javascript.rhino.jstype.JSType jSType17 = jSTypeRegistry11.createFunctionTypeWithVarArgs(objectType12, jSType13, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList15); boolean boolean18 = jSType17.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter20 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry21 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter20); com.google.javascript.rhino.jstype.ObjectType objectType22 = null; com.google.javascript.rhino.jstype.JSType jSType23 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray24 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList25 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean26 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList25, jSTypeArray24); com.google.javascript.rhino.jstype.JSType jSType27 = jSTypeRegistry21.createFunctionTypeWithVarArgs(objectType22, jSType23, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList25); boolean boolean28 = jSType27.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType29 = jSType27.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter30 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry31 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter30); com.google.javascript.rhino.jstype.ObjectType objectType32 = null; com.google.javascript.rhino.jstype.JSType jSType33 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray34 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList35 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean36 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList35, jSTypeArray34); com.google.javascript.rhino.jstype.JSType jSType37 = jSTypeRegistry31.createFunctionTypeWithVarArgs(objectType32, jSType33, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList35); boolean boolean38 = jSType37.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType39 = jSType37.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); com.google.javascript.rhino.ErrorReporter errorReporter48 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry49 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter48); com.google.javascript.rhino.jstype.ObjectType objectType50 = null; com.google.javascript.rhino.jstype.JSType jSType51 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray52 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList53 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean54 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList53, jSTypeArray52); com.google.javascript.rhino.jstype.JSType jSType55 = jSTypeRegistry49.createFunctionTypeWithVarArgs(objectType50, jSType51, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList53); boolean boolean56 = jSType55.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType57 = jSType55.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); com.google.javascript.rhino.ErrorReporter errorReporter66 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry67 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter66); com.google.javascript.rhino.jstype.ObjectType objectType68 = null; com.google.javascript.rhino.jstype.JSType jSType69 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray70 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList71 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean72 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList71, jSTypeArray70); com.google.javascript.rhino.jstype.JSType jSType73 = jSTypeRegistry67.createFunctionTypeWithVarArgs(objectType68, jSType69, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList71); boolean boolean74 = jSType73.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType75 = jSType73.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray76 = new com.google.javascript.rhino.jstype.JSType[] { jSType29, jSType37, jSType43, jSType57, jSType65, objectType75 }; com.google.javascript.rhino.jstype.FunctionType functionType77 = jSTypeRegistry9.createConstructorType(jSType17, false, jSTypeArray76); com.google.javascript.rhino.jstype.JSType jSType78 = functionType77.unboxesTo(); com.google.javascript.rhino.ErrorReporter errorReporter79 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry80 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter79); com.google.javascript.rhino.jstype.ObjectType objectType81 = null; com.google.javascript.rhino.jstype.JSType jSType82 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray83 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList84 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean85 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList84, jSTypeArray83); com.google.javascript.rhino.jstype.JSType jSType86 = jSTypeRegistry80.createFunctionTypeWithVarArgs(objectType81, jSType82, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList84); boolean boolean87 = jSType86.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType88 = jSType86.toObjectType(); com.google.javascript.rhino.jstype.FunctionType functionType89 = jSTypeRegistry1.createFunctionTypeWithNewThisType(functionType77, objectType88); com.google.javascript.rhino.jstype.StaticScope<com.google.javascript.rhino.jstype.JSType> jSTypeStaticScope90 = functionType77.getParentScope(); boolean boolean91 = functionType77.matchesInt32Context(); boolean boolean92 = functionType77.matchesStringContext(); java.util.Set<java.lang.String> strSet93 = functionType77.getPropertyNames(); com.google.javascript.rhino.jstype.StaticScope<com.google.javascript.rhino.jstype.JSType> jSTypeStaticScope94 = functionType77.getParentScope(); com.google.javascript.rhino.jstype.FunctionType functionType95 = functionType77.toMaybeFunctionType(); com.google.javascript.rhino.jstype.JSType jSType96 = functionType95.getIndexType(); boolean boolean97 = functionType95.canBeCalled(); com.google.javascript.rhino.jstype.ObjectType objectType98 = functionType95.getTypeOfThis(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertNotNull(jSTypeArray14); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertNotNull(jSType17); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSTypeArray24); org.junit.Assert.assertTrue("'" + boolean26 + "' != '" + false + "'", boolean26 == false); org.junit.Assert.assertNotNull(jSType27); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertNotNull(jSTypeArray34); org.junit.Assert.assertTrue("'" + boolean36 + "' != '" + false + "'", boolean36 == false); org.junit.Assert.assertNotNull(jSType37); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertNotNull(jSTypeArray52); org.junit.Assert.assertTrue("'" + boolean54 + "' != '" + false + "'", boolean54 == false); org.junit.Assert.assertNotNull(jSType55); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertNotNull(jSTypeArray70); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertNotNull(jSType73); org.junit.Assert.assertTrue("'" + boolean74 + "' != '" + false + "'", boolean74 == false); org.junit.Assert.assertNotNull(objectType75); org.junit.Assert.assertNotNull(jSTypeArray76); org.junit.Assert.assertNotNull(functionType77); org.junit.Assert.assertNull(jSType78); org.junit.Assert.assertNotNull(jSTypeArray83); org.junit.Assert.assertTrue("'" + boolean85 + "' != '" + false + "'", boolean85 == false); org.junit.Assert.assertNotNull(jSType86); org.junit.Assert.assertTrue("'" + boolean87 + "' != '" + false + "'", boolean87 == false); org.junit.Assert.assertNotNull(objectType88); org.junit.Assert.assertNotNull(functionType89); org.junit.Assert.assertNotNull(jSTypeStaticScope90); org.junit.Assert.assertTrue("'" + boolean91 + "' != '" + false + "'", boolean91 == false); org.junit.Assert.assertTrue("'" + boolean92 + "' != '" + false + "'", boolean92 == false); org.junit.Assert.assertNotNull(strSet93); org.junit.Assert.assertNotNull(jSTypeStaticScope94); org.junit.Assert.assertNotNull(functionType95); org.junit.Assert.assertNull(jSType96); org.junit.Assert.assertTrue("'" + boolean97 + "' != '" + true + "'", boolean97 == true); org.junit.Assert.assertNotNull(objectType98); } @Test public void test4447() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4447"); java.lang.String[] strArray5 = new java.lang.String[] { "Not declared as a constructor", "", "[]", "Not declared as a type name", "hi!" }; java.util.LinkedHashSet<java.lang.String> strSet6 = new java.util.LinkedHashSet<java.lang.String>(); boolean boolean7 = java.util.Collections.addAll((java.util.Collection<java.lang.String>) strSet6, strArray5); com.google.javascript.rhino.ErrorReporter errorReporter8 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry9 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter8); com.google.javascript.rhino.jstype.ObjectType objectType10 = null; com.google.javascript.rhino.jstype.JSType jSType11 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray12 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList13 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean14 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList13, jSTypeArray12); com.google.javascript.rhino.jstype.JSType jSType15 = jSTypeRegistry9.createFunctionTypeWithVarArgs(objectType10, jSType11, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList13); boolean boolean16 = jSType15.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType17 = jSType15.toObjectType(); java.lang.String str18 = objectType17.toString(); com.google.javascript.rhino.JSDocInfo jSDocInfo19 = objectType17.getJSDocInfo(); boolean boolean20 = objectType17.matchesNumberContext(); boolean boolean21 = strSet6.contains((java.lang.Object) boolean20); java.util.Spliterator<java.lang.String> strSpliterator22 = strSet6.spliterator(); com.google.javascript.rhino.Node node24 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean25 = strSet6.remove((java.lang.Object) node24); java.util.Spliterator<java.lang.String> strSpliterator26 = strSet6.spliterator(); com.google.javascript.rhino.JSDocInfo jSDocInfo27 = new com.google.javascript.rhino.JSDocInfo(); boolean boolean28 = jSDocInfo27.hasTypedefType(); java.lang.String str29 = jSDocInfo27.getDescription(); java.lang.String str30 = jSDocInfo27.getLendsName(); boolean boolean31 = strSet6.contains((java.lang.Object) jSDocInfo27); java.util.Iterator<java.lang.String> strItor32 = strSet6.iterator(); strSet6.clear(); org.junit.Assert.assertNotNull(strArray5); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + true + "'", boolean7 == true); org.junit.Assert.assertNotNull(jSTypeArray12); org.junit.Assert.assertTrue("'" + boolean14 + "' != '" + false + "'", boolean14 == false); org.junit.Assert.assertNotNull(jSType15); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertNotNull(objectType17); org.junit.Assert.assertEquals("'" + str18 + "' != '" + "function (): ?" + "'", str18, "function (): ?"); org.junit.Assert.assertNull(jSDocInfo19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertTrue("'" + boolean21 + "' != '" + false + "'", boolean21 == false); org.junit.Assert.assertNotNull(strSpliterator22); org.junit.Assert.assertNotNull(node24); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); org.junit.Assert.assertNotNull(strSpliterator26); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNull(str29); org.junit.Assert.assertNull(str30); org.junit.Assert.assertTrue("'" + boolean31 + "' != '" + false + "'", boolean31 == false); org.junit.Assert.assertNotNull(strItor32); } @Test public void test4448() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4448"); com.google.javascript.rhino.Node node1 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean2 = node1.isLabelName(); boolean boolean3 = node1.isInc(); boolean boolean4 = node1.hasOneChild(); com.google.javascript.rhino.ErrorReporter errorReporter5 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry6 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter5); com.google.javascript.rhino.jstype.ObjectType objectType7 = null; com.google.javascript.rhino.jstype.JSType jSType8 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray9 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList10 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean11 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList10, jSTypeArray9); com.google.javascript.rhino.jstype.JSType jSType12 = jSTypeRegistry6.createFunctionTypeWithVarArgs(objectType7, jSType8, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList10); boolean boolean13 = jSType12.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter14 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry15 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter14); com.google.javascript.rhino.ErrorReporter errorReporter16 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry17 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter16); com.google.javascript.rhino.jstype.ObjectType objectType18 = null; com.google.javascript.rhino.jstype.JSType jSType19 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray20 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList21 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean22 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList21, jSTypeArray20); com.google.javascript.rhino.jstype.JSType jSType23 = jSTypeRegistry17.createFunctionTypeWithVarArgs(objectType18, jSType19, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList21); boolean boolean24 = jSType23.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter26 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry27 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter26); com.google.javascript.rhino.jstype.ObjectType objectType28 = null; com.google.javascript.rhino.jstype.JSType jSType29 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray30 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList31 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean32 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList31, jSTypeArray30); com.google.javascript.rhino.jstype.JSType jSType33 = jSTypeRegistry27.createFunctionTypeWithVarArgs(objectType28, jSType29, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList31); boolean boolean34 = jSType33.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType35 = jSType33.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter36 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry37 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter36); com.google.javascript.rhino.jstype.ObjectType objectType38 = null; com.google.javascript.rhino.jstype.JSType jSType39 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray40 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList41 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean42 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList41, jSTypeArray40); com.google.javascript.rhino.jstype.JSType jSType43 = jSTypeRegistry37.createFunctionTypeWithVarArgs(objectType38, jSType39, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList41); boolean boolean44 = jSType43.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType45 = jSType43.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter46 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry47 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter46); com.google.javascript.rhino.jstype.ObjectType objectType48 = null; com.google.javascript.rhino.jstype.JSType jSType49 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray50 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList51 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean52 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList51, jSTypeArray50); com.google.javascript.rhino.jstype.JSType jSType53 = jSTypeRegistry47.createFunctionTypeWithVarArgs(objectType48, jSType49, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList51); com.google.javascript.rhino.ErrorReporter errorReporter54 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry55 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter54); com.google.javascript.rhino.jstype.ObjectType objectType56 = null; com.google.javascript.rhino.jstype.JSType jSType57 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray58 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList59 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean60 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList59, jSTypeArray58); com.google.javascript.rhino.jstype.JSType jSType61 = jSTypeRegistry55.createFunctionTypeWithVarArgs(objectType56, jSType57, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList59); boolean boolean62 = jSType61.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType63 = jSType61.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter64 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry65 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter64); com.google.javascript.rhino.jstype.ObjectType objectType66 = null; com.google.javascript.rhino.jstype.JSType jSType67 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray68 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList69 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean70 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList69, jSTypeArray68); com.google.javascript.rhino.jstype.JSType jSType71 = jSTypeRegistry65.createFunctionTypeWithVarArgs(objectType66, jSType67, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList69); com.google.javascript.rhino.ErrorReporter errorReporter72 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry73 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter72); com.google.javascript.rhino.jstype.ObjectType objectType74 = null; com.google.javascript.rhino.jstype.JSType jSType75 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray76 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList77 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean78 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList77, jSTypeArray76); com.google.javascript.rhino.jstype.JSType jSType79 = jSTypeRegistry73.createFunctionTypeWithVarArgs(objectType74, jSType75, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList77); boolean boolean80 = jSType79.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType81 = jSType79.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray82 = new com.google.javascript.rhino.jstype.JSType[] { jSType35, jSType43, jSType49, jSType63, jSType71, objectType81 }; com.google.javascript.rhino.jstype.FunctionType functionType83 = jSTypeRegistry15.createConstructorType(jSType23, false, jSTypeArray82); boolean boolean84 = jSType12.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType83); com.google.javascript.rhino.jstype.FunctionType functionType85 = functionType83.toMaybeFunctionType(); com.google.javascript.rhino.JSDocInfo jSDocInfo86 = null; functionType83.setJSDocInfo(jSDocInfo86); com.google.javascript.rhino.jstype.ObjectType objectType89 = com.google.javascript.rhino.jstype.FunctionType.getTopDefiningInterface((com.google.javascript.rhino.jstype.ObjectType) functionType83, "hi!"); boolean boolean90 = functionType83.isCheckedUnknownType(); java.util.Set<java.lang.String> strSet91 = functionType83.getOwnPropertyNames(); boolean boolean92 = functionType83.isNoObjectType(); node1.setJSType((com.google.javascript.rhino.jstype.JSType) functionType83); java.lang.String str94 = null; // flaky: functionType83.toAnnotationString(); org.junit.Assert.assertNotNull(node1); org.junit.Assert.assertTrue("'" + boolean2 + "' != '" + false + "'", boolean2 == false); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertTrue("'" + boolean4 + "' != '" + false + "'", boolean4 == false); org.junit.Assert.assertNotNull(jSTypeArray9); org.junit.Assert.assertTrue("'" + boolean11 + "' != '" + false + "'", boolean11 == false); org.junit.Assert.assertNotNull(jSType12); org.junit.Assert.assertTrue("'" + boolean13 + "' != '" + false + "'", boolean13 == false); org.junit.Assert.assertNotNull(jSTypeArray20); org.junit.Assert.assertTrue("'" + boolean22 + "' != '" + false + "'", boolean22 == false); org.junit.Assert.assertNotNull(jSType23); org.junit.Assert.assertTrue("'" + boolean24 + "' != '" + false + "'", boolean24 == false); org.junit.Assert.assertNotNull(jSTypeArray30); org.junit.Assert.assertTrue("'" + boolean32 + "' != '" + false + "'", boolean32 == false); org.junit.Assert.assertNotNull(jSType33); org.junit.Assert.assertTrue("'" + boolean34 + "' != '" + false + "'", boolean34 == false); org.junit.Assert.assertNotNull(jSType35); org.junit.Assert.assertNotNull(jSTypeArray40); org.junit.Assert.assertTrue("'" + boolean42 + "' != '" + false + "'", boolean42 == false); org.junit.Assert.assertNotNull(jSType43); org.junit.Assert.assertTrue("'" + boolean44 + "' != '" + false + "'", boolean44 == false); org.junit.Assert.assertNotNull(jSType45); org.junit.Assert.assertNotNull(jSTypeArray50); org.junit.Assert.assertTrue("'" + boolean52 + "' != '" + false + "'", boolean52 == false); org.junit.Assert.assertNotNull(jSType53); org.junit.Assert.assertNotNull(jSTypeArray58); org.junit.Assert.assertTrue("'" + boolean60 + "' != '" + false + "'", boolean60 == false); org.junit.Assert.assertNotNull(jSType61); org.junit.Assert.assertTrue("'" + boolean62 + "' != '" + false + "'", boolean62 == false); org.junit.Assert.assertNotNull(jSType63); org.junit.Assert.assertNotNull(jSTypeArray68); org.junit.Assert.assertTrue("'" + boolean70 + "' != '" + false + "'", boolean70 == false); org.junit.Assert.assertNotNull(jSType71); org.junit.Assert.assertNotNull(jSTypeArray76); org.junit.Assert.assertTrue("'" + boolean78 + "' != '" + false + "'", boolean78 == false); org.junit.Assert.assertNotNull(jSType79); org.junit.Assert.assertTrue("'" + boolean80 + "' != '" + false + "'", boolean80 == false); org.junit.Assert.assertNotNull(objectType81); org.junit.Assert.assertNotNull(jSTypeArray82); org.junit.Assert.assertNotNull(functionType83); org.junit.Assert.assertTrue("'" + boolean84 + "' != '" + true + "'", boolean84 == true); org.junit.Assert.assertNotNull(functionType85); org.junit.Assert.assertNull(objectType89); org.junit.Assert.assertTrue("'" + boolean90 + "' != '" + false + "'", boolean90 == false); org.junit.Assert.assertNotNull(strSet91); org.junit.Assert.assertTrue("'" + boolean92 + "' != '" + false + "'", boolean92 == false); // flaky: org.junit.Assert.assertEquals("'" + str94 + "' != '" + "Function" + "'", str94, "Function"); } @Test public void test4449() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4449"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); boolean boolean8 = jSType7.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter9 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry10 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter9); com.google.javascript.rhino.ErrorReporter errorReporter11 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry12 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter11); com.google.javascript.rhino.jstype.ObjectType objectType13 = null; com.google.javascript.rhino.jstype.JSType jSType14 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray15 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList16 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean17 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList16, jSTypeArray15); com.google.javascript.rhino.jstype.JSType jSType18 = jSTypeRegistry12.createFunctionTypeWithVarArgs(objectType13, jSType14, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList16); boolean boolean19 = jSType18.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter21 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry22 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter21); com.google.javascript.rhino.jstype.ObjectType objectType23 = null; com.google.javascript.rhino.jstype.JSType jSType24 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray25 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList26 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean27 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList26, jSTypeArray25); com.google.javascript.rhino.jstype.JSType jSType28 = jSTypeRegistry22.createFunctionTypeWithVarArgs(objectType23, jSType24, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList26); boolean boolean29 = jSType28.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType30 = jSType28.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter31 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry32 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter31); com.google.javascript.rhino.jstype.ObjectType objectType33 = null; com.google.javascript.rhino.jstype.JSType jSType34 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray35 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList36 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean37 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList36, jSTypeArray35); com.google.javascript.rhino.jstype.JSType jSType38 = jSTypeRegistry32.createFunctionTypeWithVarArgs(objectType33, jSType34, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList36); boolean boolean39 = jSType38.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType40 = jSType38.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter41 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry42 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter41); com.google.javascript.rhino.jstype.ObjectType objectType43 = null; com.google.javascript.rhino.jstype.JSType jSType44 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray45 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList46 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean47 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList46, jSTypeArray45); com.google.javascript.rhino.jstype.JSType jSType48 = jSTypeRegistry42.createFunctionTypeWithVarArgs(objectType43, jSType44, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList46); com.google.javascript.rhino.ErrorReporter errorReporter49 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry50 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter49); com.google.javascript.rhino.jstype.ObjectType objectType51 = null; com.google.javascript.rhino.jstype.JSType jSType52 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray53 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList54 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean55 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList54, jSTypeArray53); com.google.javascript.rhino.jstype.JSType jSType56 = jSTypeRegistry50.createFunctionTypeWithVarArgs(objectType51, jSType52, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList54); boolean boolean57 = jSType56.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType58 = jSType56.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter59 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry60 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter59); com.google.javascript.rhino.jstype.ObjectType objectType61 = null; com.google.javascript.rhino.jstype.JSType jSType62 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray63 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList64 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean65 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList64, jSTypeArray63); com.google.javascript.rhino.jstype.JSType jSType66 = jSTypeRegistry60.createFunctionTypeWithVarArgs(objectType61, jSType62, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList64); com.google.javascript.rhino.ErrorReporter errorReporter67 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry68 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter67); com.google.javascript.rhino.jstype.ObjectType objectType69 = null; com.google.javascript.rhino.jstype.JSType jSType70 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray71 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList72 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean73 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList72, jSTypeArray71); com.google.javascript.rhino.jstype.JSType jSType74 = jSTypeRegistry68.createFunctionTypeWithVarArgs(objectType69, jSType70, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList72); boolean boolean75 = jSType74.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType76 = jSType74.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray77 = new com.google.javascript.rhino.jstype.JSType[] { jSType30, jSType38, jSType44, jSType58, jSType66, objectType76 }; com.google.javascript.rhino.jstype.FunctionType functionType78 = jSTypeRegistry10.createConstructorType(jSType18, false, jSTypeArray77); boolean boolean79 = jSType7.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType78); com.google.javascript.rhino.jstype.FunctionType functionType80 = functionType78.toMaybeFunctionType(); functionType78.clearResolved(); boolean boolean82 = functionType78.isEnumType(); boolean boolean83 = functionType78.isConstructor(); com.google.javascript.rhino.jstype.FunctionType functionType84 = functionType78.getSuperClassConstructor(); functionType78.clearCachedValues(); com.google.javascript.rhino.jstype.ObjectType objectType86 = functionType78.getImplicitPrototype(); boolean boolean87 = objectType86.hasCachedValues(); boolean boolean88 = objectType86.isFunctionPrototypeType(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSTypeArray15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(jSType18); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(jSTypeArray25); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(jSType28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(jSType30); org.junit.Assert.assertNotNull(jSTypeArray35); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSType38); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(jSType40); org.junit.Assert.assertNotNull(jSTypeArray45); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(jSType48); org.junit.Assert.assertNotNull(jSTypeArray53); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); org.junit.Assert.assertNotNull(jSType56); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNotNull(jSType58); org.junit.Assert.assertNotNull(jSTypeArray63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(jSType66); org.junit.Assert.assertNotNull(jSTypeArray71); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNotNull(jSType74); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(objectType76); org.junit.Assert.assertNotNull(jSTypeArray77); org.junit.Assert.assertNotNull(functionType78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + true + "'", boolean79 == true); org.junit.Assert.assertNotNull(functionType80); org.junit.Assert.assertTrue("'" + boolean82 + "' != '" + false + "'", boolean82 == false); org.junit.Assert.assertTrue("'" + boolean83 + "' != '" + true + "'", boolean83 == true); org.junit.Assert.assertNull(functionType84); org.junit.Assert.assertNotNull(objectType86); org.junit.Assert.assertTrue("'" + boolean87 + "' != '" + false + "'", boolean87 == false); org.junit.Assert.assertTrue("'" + boolean88 + "' != '" + false + "'", boolean88 == false); } @Test public void test4450() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4450"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.ErrorReporter errorReporter2 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry3 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter2); com.google.javascript.rhino.jstype.ObjectType objectType4 = null; com.google.javascript.rhino.jstype.JSType jSType5 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray6 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList7 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean8 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList7, jSTypeArray6); com.google.javascript.rhino.jstype.JSType jSType9 = jSTypeRegistry3.createFunctionTypeWithVarArgs(objectType4, jSType5, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList7); boolean boolean10 = jSType9.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter12 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry13 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter12); com.google.javascript.rhino.jstype.ObjectType objectType14 = null; com.google.javascript.rhino.jstype.JSType jSType15 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray16 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList17 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean18 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList17, jSTypeArray16); com.google.javascript.rhino.jstype.JSType jSType19 = jSTypeRegistry13.createFunctionTypeWithVarArgs(objectType14, jSType15, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList17); boolean boolean20 = jSType19.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType21 = jSType19.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter22 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry23 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter22); com.google.javascript.rhino.jstype.ObjectType objectType24 = null; com.google.javascript.rhino.jstype.JSType jSType25 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray26 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList27 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean28 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList27, jSTypeArray26); com.google.javascript.rhino.jstype.JSType jSType29 = jSTypeRegistry23.createFunctionTypeWithVarArgs(objectType24, jSType25, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList27); boolean boolean30 = jSType29.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType31 = jSType29.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter32 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry33 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter32); com.google.javascript.rhino.jstype.ObjectType objectType34 = null; com.google.javascript.rhino.jstype.JSType jSType35 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray36 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList37 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean38 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList37, jSTypeArray36); com.google.javascript.rhino.jstype.JSType jSType39 = jSTypeRegistry33.createFunctionTypeWithVarArgs(objectType34, jSType35, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList37); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); boolean boolean48 = jSType47.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType49 = jSType47.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter50 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry51 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter50); com.google.javascript.rhino.jstype.ObjectType objectType52 = null; com.google.javascript.rhino.jstype.JSType jSType53 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray54 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList55 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean56 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList55, jSTypeArray54); com.google.javascript.rhino.jstype.JSType jSType57 = jSTypeRegistry51.createFunctionTypeWithVarArgs(objectType52, jSType53, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList55); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); boolean boolean66 = jSType65.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType67 = jSType65.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray68 = new com.google.javascript.rhino.jstype.JSType[] { jSType21, jSType29, jSType35, jSType49, jSType57, objectType67 }; com.google.javascript.rhino.jstype.FunctionType functionType69 = jSTypeRegistry1.createConstructorType(jSType9, false, jSTypeArray68); boolean boolean70 = functionType69.hasReferenceName(); boolean boolean71 = functionType69.isNoType(); boolean boolean72 = functionType69.isNumberObjectType(); boolean boolean73 = functionType69.matchesObjectContext(); com.google.javascript.rhino.JSDocInfo jSDocInfo75 = new com.google.javascript.rhino.JSDocInfo(); boolean boolean76 = jSDocInfo75.hasTypedefType(); java.util.Collection<java.lang.String> strCollection77 = jSDocInfo75.getReferences(); boolean boolean78 = jSDocInfo75.hasTypedefType(); java.lang.String str80 = jSDocInfo75.getDescriptionForParameter("java.io.IOException: java.io.IOException: "); functionType69.setPropertyJSDocInfo("STRING Not declared as a constructor\n", jSDocInfo75); boolean boolean82 = jSDocInfo75.shouldPreserveTry(); java.util.Collection<java.lang.String> strCollection83 = jSDocInfo75.getReferences(); java.lang.String str84 = jSDocInfo75.getDescription(); org.junit.Assert.assertNotNull(jSTypeArray6); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSType9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNotNull(jSTypeArray16); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSType19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(jSType21); org.junit.Assert.assertNotNull(jSTypeArray26); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(jSType31); org.junit.Assert.assertNotNull(jSTypeArray36); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(jSType49); org.junit.Assert.assertNotNull(jSTypeArray54); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertNotNull(objectType67); org.junit.Assert.assertNotNull(jSTypeArray68); org.junit.Assert.assertNotNull(functionType69); org.junit.Assert.assertTrue("'" + boolean70 + "' != '" + false + "'", boolean70 == false); org.junit.Assert.assertTrue("'" + boolean71 + "' != '" + false + "'", boolean71 == false); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + true + "'", boolean73 == true); org.junit.Assert.assertTrue("'" + boolean76 + "' != '" + false + "'", boolean76 == false); org.junit.Assert.assertNull(strCollection77); org.junit.Assert.assertTrue("'" + boolean78 + "' != '" + false + "'", boolean78 == false); org.junit.Assert.assertNull(str80); org.junit.Assert.assertTrue("'" + boolean82 + "' != '" + false + "'", boolean82 == false); org.junit.Assert.assertNull(strCollection83); org.junit.Assert.assertNull(str84); } @Test public void test4451() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4451"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); com.google.javascript.rhino.jstype.JSType jSType9 = jSTypeRegistry1.getType("hi!"); com.google.javascript.rhino.ErrorReporter errorReporter10 = jSTypeRegistry1.getErrorReporter(); boolean boolean12 = jSTypeRegistry1.isForwardDeclaredType("function (): {160022603}"); com.google.javascript.rhino.ErrorReporter errorReporter14 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry15 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter14); com.google.javascript.rhino.ErrorReporter errorReporter16 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry17 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter16); com.google.javascript.rhino.jstype.ObjectType objectType18 = null; com.google.javascript.rhino.jstype.JSType jSType19 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray20 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList21 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean22 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList21, jSTypeArray20); com.google.javascript.rhino.jstype.JSType jSType23 = jSTypeRegistry17.createFunctionTypeWithVarArgs(objectType18, jSType19, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList21); boolean boolean24 = jSType23.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter26 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry27 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter26); com.google.javascript.rhino.jstype.ObjectType objectType28 = null; com.google.javascript.rhino.jstype.JSType jSType29 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray30 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList31 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean32 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList31, jSTypeArray30); com.google.javascript.rhino.jstype.JSType jSType33 = jSTypeRegistry27.createFunctionTypeWithVarArgs(objectType28, jSType29, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList31); boolean boolean34 = jSType33.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType35 = jSType33.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter36 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry37 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter36); com.google.javascript.rhino.jstype.ObjectType objectType38 = null; com.google.javascript.rhino.jstype.JSType jSType39 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray40 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList41 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean42 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList41, jSTypeArray40); com.google.javascript.rhino.jstype.JSType jSType43 = jSTypeRegistry37.createFunctionTypeWithVarArgs(objectType38, jSType39, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList41); boolean boolean44 = jSType43.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType45 = jSType43.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter46 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry47 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter46); com.google.javascript.rhino.jstype.ObjectType objectType48 = null; com.google.javascript.rhino.jstype.JSType jSType49 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray50 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList51 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean52 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList51, jSTypeArray50); com.google.javascript.rhino.jstype.JSType jSType53 = jSTypeRegistry47.createFunctionTypeWithVarArgs(objectType48, jSType49, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList51); com.google.javascript.rhino.ErrorReporter errorReporter54 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry55 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter54); com.google.javascript.rhino.jstype.ObjectType objectType56 = null; com.google.javascript.rhino.jstype.JSType jSType57 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray58 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList59 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean60 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList59, jSTypeArray58); com.google.javascript.rhino.jstype.JSType jSType61 = jSTypeRegistry55.createFunctionTypeWithVarArgs(objectType56, jSType57, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList59); boolean boolean62 = jSType61.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType63 = jSType61.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter64 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry65 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter64); com.google.javascript.rhino.jstype.ObjectType objectType66 = null; com.google.javascript.rhino.jstype.JSType jSType67 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray68 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList69 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean70 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList69, jSTypeArray68); com.google.javascript.rhino.jstype.JSType jSType71 = jSTypeRegistry65.createFunctionTypeWithVarArgs(objectType66, jSType67, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList69); com.google.javascript.rhino.ErrorReporter errorReporter72 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry73 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter72); com.google.javascript.rhino.jstype.ObjectType objectType74 = null; com.google.javascript.rhino.jstype.JSType jSType75 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray76 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList77 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean78 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList77, jSTypeArray76); com.google.javascript.rhino.jstype.JSType jSType79 = jSTypeRegistry73.createFunctionTypeWithVarArgs(objectType74, jSType75, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList77); boolean boolean80 = jSType79.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType81 = jSType79.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray82 = new com.google.javascript.rhino.jstype.JSType[] { jSType35, jSType43, jSType49, jSType63, jSType71, objectType81 }; com.google.javascript.rhino.jstype.FunctionType functionType83 = jSTypeRegistry15.createConstructorType(jSType23, false, jSTypeArray82); boolean boolean84 = functionType83.hasReferenceName(); boolean boolean86 = functionType83.isPropertyInExterns("Not declared as a constructor"); boolean boolean88 = functionType83.isPropertyTypeInferred(""); com.google.javascript.rhino.jstype.ObjectType objectType89 = functionType83.getImplicitPrototype(); jSTypeRegistry1.unregisterPropertyOnType("STRING Not declared as a constructor\n", (com.google.javascript.rhino.jstype.JSType) objectType89); boolean boolean92 = jSTypeRegistry1.hasNamespace("()"); jSTypeRegistry1.clearTemplateTypeNames(); com.google.javascript.rhino.jstype.JSTypeNative jSTypeNative94 = null; // The following exception was thrown during execution in test generation try { com.google.javascript.rhino.jstype.FunctionType functionType95 = jSTypeRegistry1.getNativeFunctionType(jSTypeNative94); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertNull(jSType9); org.junit.Assert.assertNull(errorReporter10); org.junit.Assert.assertTrue("'" + boolean12 + "' != '" + false + "'", boolean12 == false); org.junit.Assert.assertNotNull(jSTypeArray20); org.junit.Assert.assertTrue("'" + boolean22 + "' != '" + false + "'", boolean22 == false); org.junit.Assert.assertNotNull(jSType23); org.junit.Assert.assertTrue("'" + boolean24 + "' != '" + false + "'", boolean24 == false); org.junit.Assert.assertNotNull(jSTypeArray30); org.junit.Assert.assertTrue("'" + boolean32 + "' != '" + false + "'", boolean32 == false); org.junit.Assert.assertNotNull(jSType33); org.junit.Assert.assertTrue("'" + boolean34 + "' != '" + false + "'", boolean34 == false); org.junit.Assert.assertNotNull(jSType35); org.junit.Assert.assertNotNull(jSTypeArray40); org.junit.Assert.assertTrue("'" + boolean42 + "' != '" + false + "'", boolean42 == false); org.junit.Assert.assertNotNull(jSType43); org.junit.Assert.assertTrue("'" + boolean44 + "' != '" + false + "'", boolean44 == false); org.junit.Assert.assertNotNull(jSType45); org.junit.Assert.assertNotNull(jSTypeArray50); org.junit.Assert.assertTrue("'" + boolean52 + "' != '" + false + "'", boolean52 == false); org.junit.Assert.assertNotNull(jSType53); org.junit.Assert.assertNotNull(jSTypeArray58); org.junit.Assert.assertTrue("'" + boolean60 + "' != '" + false + "'", boolean60 == false); org.junit.Assert.assertNotNull(jSType61); org.junit.Assert.assertTrue("'" + boolean62 + "' != '" + false + "'", boolean62 == false); org.junit.Assert.assertNotNull(jSType63); org.junit.Assert.assertNotNull(jSTypeArray68); org.junit.Assert.assertTrue("'" + boolean70 + "' != '" + false + "'", boolean70 == false); org.junit.Assert.assertNotNull(jSType71); org.junit.Assert.assertNotNull(jSTypeArray76); org.junit.Assert.assertTrue("'" + boolean78 + "' != '" + false + "'", boolean78 == false); org.junit.Assert.assertNotNull(jSType79); org.junit.Assert.assertTrue("'" + boolean80 + "' != '" + false + "'", boolean80 == false); org.junit.Assert.assertNotNull(objectType81); org.junit.Assert.assertNotNull(jSTypeArray82); org.junit.Assert.assertNotNull(functionType83); org.junit.Assert.assertTrue("'" + boolean84 + "' != '" + false + "'", boolean84 == false); org.junit.Assert.assertTrue("'" + boolean86 + "' != '" + false + "'", boolean86 == false); org.junit.Assert.assertTrue("'" + boolean88 + "' != '" + false + "'", boolean88 == false); org.junit.Assert.assertNotNull(objectType89); org.junit.Assert.assertTrue("'" + boolean92 + "' != '" + false + "'", boolean92 == false); } @Test public void test4452() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4452"); com.google.javascript.rhino.JSDocInfo jSDocInfo0 = new com.google.javascript.rhino.JSDocInfo(); boolean boolean1 = jSDocInfo0.hasTypedefType(); com.google.javascript.rhino.JSDocInfo.Visibility visibility2 = com.google.javascript.rhino.JSDocInfo.Visibility.PRIVATE; com.google.javascript.rhino.JSDocInfo.Visibility visibility3 = com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED; com.google.javascript.rhino.JSDocInfo.Visibility visibility4 = com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED; com.google.javascript.rhino.JSDocInfo.Visibility visibility5 = com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED; com.google.javascript.rhino.JSDocInfo.Visibility visibility6 = com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED; com.google.javascript.rhino.JSDocInfo.Visibility visibility7 = com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED; com.google.javascript.rhino.JSDocInfo.Visibility visibility8 = com.google.javascript.rhino.JSDocInfo.Visibility.PRIVATE; com.google.javascript.rhino.JSDocInfo.Visibility visibility9 = com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED; com.google.javascript.rhino.JSDocInfo.Visibility visibility10 = com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED; com.google.javascript.rhino.JSDocInfo.Visibility visibility11 = com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED; com.google.javascript.rhino.JSDocInfo.Visibility visibility12 = com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED; com.google.javascript.rhino.JSDocInfo.Visibility visibility13 = com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED; com.google.javascript.rhino.JSDocInfo.Visibility visibility14 = com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED; com.google.javascript.rhino.JSDocInfo.Visibility visibility15 = com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED; com.google.javascript.rhino.JSDocInfo.Visibility visibility16 = com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED; com.google.javascript.rhino.JSDocInfo.Visibility visibility17 = com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED; com.google.javascript.rhino.JSDocInfo.Visibility visibility18 = com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED; com.google.javascript.rhino.JSDocInfo.Visibility[] visibilityArray19 = new com.google.javascript.rhino.JSDocInfo.Visibility[] { visibility14, visibility15, visibility16, visibility17, visibility18 }; com.google.common.collect.ImmutableList<com.google.javascript.rhino.JSDocInfo.Visibility> visibilityList20 = com.google.common.collect.ImmutableList.of(visibility2, visibility3, visibility4, visibility5, visibility6, visibility7, visibility8, visibility9, visibility10, visibility11, visibility12, visibility13, visibilityArray19); jSDocInfo0.setVisibility(visibility2); jSDocInfo0.addSuppression("(java.io.IOException: java.io.IOException: )"); com.google.javascript.rhino.JSTypeExpression jSTypeExpression24 = jSDocInfo0.getThisType(); jSDocInfo0.setDeprecated(false); boolean boolean27 = jSDocInfo0.hasReturnType(); com.google.javascript.rhino.Node node29 = com.google.javascript.rhino.Node.newString("OR\n"); boolean boolean30 = node29.isReturn(); boolean boolean31 = node29.isGetElem(); com.google.javascript.rhino.Node node32 = node29.removeFirstChild(); boolean boolean33 = node29.isNot(); jSDocInfo0.setAssociatedNode(node29); org.junit.Assert.assertTrue("'" + boolean1 + "' != '" + false + "'", boolean1 == false); org.junit.Assert.assertTrue("'" + visibility2 + "' != '" + com.google.javascript.rhino.JSDocInfo.Visibility.PRIVATE + "'", visibility2.equals(com.google.javascript.rhino.JSDocInfo.Visibility.PRIVATE)); org.junit.Assert.assertTrue("'" + visibility3 + "' != '" + com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED + "'", visibility3.equals(com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED)); org.junit.Assert.assertTrue("'" + visibility4 + "' != '" + com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED + "'", visibility4.equals(com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED)); org.junit.Assert.assertTrue("'" + visibility5 + "' != '" + com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED + "'", visibility5.equals(com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED)); org.junit.Assert.assertTrue("'" + visibility6 + "' != '" + com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED + "'", visibility6.equals(com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED)); org.junit.Assert.assertTrue("'" + visibility7 + "' != '" + com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED + "'", visibility7.equals(com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED)); org.junit.Assert.assertTrue("'" + visibility8 + "' != '" + com.google.javascript.rhino.JSDocInfo.Visibility.PRIVATE + "'", visibility8.equals(com.google.javascript.rhino.JSDocInfo.Visibility.PRIVATE)); org.junit.Assert.assertTrue("'" + visibility9 + "' != '" + com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED + "'", visibility9.equals(com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED)); org.junit.Assert.assertTrue("'" + visibility10 + "' != '" + com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED + "'", visibility10.equals(com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED)); org.junit.Assert.assertTrue("'" + visibility11 + "' != '" + com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED + "'", visibility11.equals(com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED)); org.junit.Assert.assertTrue("'" + visibility12 + "' != '" + com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED + "'", visibility12.equals(com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED)); org.junit.Assert.assertTrue("'" + visibility13 + "' != '" + com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED + "'", visibility13.equals(com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED)); org.junit.Assert.assertTrue("'" + visibility14 + "' != '" + com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED + "'", visibility14.equals(com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED)); org.junit.Assert.assertTrue("'" + visibility15 + "' != '" + com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED + "'", visibility15.equals(com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED)); org.junit.Assert.assertTrue("'" + visibility16 + "' != '" + com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED + "'", visibility16.equals(com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED)); org.junit.Assert.assertTrue("'" + visibility17 + "' != '" + com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED + "'", visibility17.equals(com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED)); org.junit.Assert.assertTrue("'" + visibility18 + "' != '" + com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED + "'", visibility18.equals(com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED)); org.junit.Assert.assertNotNull(visibilityArray19); org.junit.Assert.assertNotNull(visibilityList20); org.junit.Assert.assertNull(jSTypeExpression24); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(node29); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertTrue("'" + boolean31 + "' != '" + false + "'", boolean31 == false); org.junit.Assert.assertNull(node32); org.junit.Assert.assertTrue("'" + boolean33 + "' != '" + false + "'", boolean33 == false); } @Test public void test4453() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4453"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.ErrorReporter errorReporter2 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry3 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter2); com.google.javascript.rhino.jstype.ObjectType objectType4 = null; com.google.javascript.rhino.jstype.JSType jSType5 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray6 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList7 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean8 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList7, jSTypeArray6); com.google.javascript.rhino.jstype.JSType jSType9 = jSTypeRegistry3.createFunctionTypeWithVarArgs(objectType4, jSType5, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList7); boolean boolean10 = jSType9.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter12 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry13 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter12); com.google.javascript.rhino.jstype.ObjectType objectType14 = null; com.google.javascript.rhino.jstype.JSType jSType15 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray16 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList17 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean18 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList17, jSTypeArray16); com.google.javascript.rhino.jstype.JSType jSType19 = jSTypeRegistry13.createFunctionTypeWithVarArgs(objectType14, jSType15, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList17); boolean boolean20 = jSType19.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType21 = jSType19.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter22 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry23 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter22); com.google.javascript.rhino.jstype.ObjectType objectType24 = null; com.google.javascript.rhino.jstype.JSType jSType25 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray26 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList27 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean28 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList27, jSTypeArray26); com.google.javascript.rhino.jstype.JSType jSType29 = jSTypeRegistry23.createFunctionTypeWithVarArgs(objectType24, jSType25, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList27); boolean boolean30 = jSType29.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType31 = jSType29.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter32 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry33 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter32); com.google.javascript.rhino.jstype.ObjectType objectType34 = null; com.google.javascript.rhino.jstype.JSType jSType35 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray36 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList37 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean38 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList37, jSTypeArray36); com.google.javascript.rhino.jstype.JSType jSType39 = jSTypeRegistry33.createFunctionTypeWithVarArgs(objectType34, jSType35, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList37); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); boolean boolean48 = jSType47.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType49 = jSType47.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter50 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry51 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter50); com.google.javascript.rhino.jstype.ObjectType objectType52 = null; com.google.javascript.rhino.jstype.JSType jSType53 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray54 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList55 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean56 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList55, jSTypeArray54); com.google.javascript.rhino.jstype.JSType jSType57 = jSTypeRegistry51.createFunctionTypeWithVarArgs(objectType52, jSType53, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList55); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); boolean boolean66 = jSType65.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType67 = jSType65.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray68 = new com.google.javascript.rhino.jstype.JSType[] { jSType21, jSType29, jSType35, jSType49, jSType57, objectType67 }; com.google.javascript.rhino.jstype.FunctionType functionType69 = jSTypeRegistry1.createConstructorType(jSType9, false, jSTypeArray68); boolean boolean70 = functionType69.hasReferenceName(); boolean boolean71 = functionType69.isNoType(); java.util.List<com.google.javascript.rhino.jstype.FunctionType> functionTypeList72 = functionType69.getSubTypes(); java.util.List<com.google.javascript.rhino.jstype.FunctionType> functionTypeList73 = functionType69.getSubTypes(); com.google.javascript.rhino.jstype.JSType jSType75 = functionType69.findPropertyType(""); boolean boolean76 = functionType69.isStringObjectType(); java.lang.Iterable iterable77 = functionType69.getCtorExtendedInterfaces(); boolean boolean78 = functionType69.isArrayType(); com.google.javascript.rhino.jstype.FunctionType functionType79 = functionType69.getOwnerFunction(); com.google.javascript.rhino.JSDocInfo jSDocInfo80 = new com.google.javascript.rhino.JSDocInfo(); boolean boolean81 = jSDocInfo80.hasTypedefType(); java.util.Collection<java.lang.String> strCollection82 = jSDocInfo80.getReferences(); com.google.javascript.rhino.JSTypeExpression jSTypeExpression83 = jSDocInfo80.getBaseType(); boolean boolean84 = jSDocInfo80.isConstant(); java.util.List<com.google.javascript.rhino.JSTypeExpression> jSTypeExpressionList85 = jSDocInfo80.getExtendedInterfaces(); java.util.Set<java.lang.String> strSet86 = jSDocInfo80.getSuppressions(); functionType69.setJSDocInfo(jSDocInfo80); org.junit.Assert.assertNotNull(jSTypeArray6); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSType9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNotNull(jSTypeArray16); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSType19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(jSType21); org.junit.Assert.assertNotNull(jSTypeArray26); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(jSType31); org.junit.Assert.assertNotNull(jSTypeArray36); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(jSType49); org.junit.Assert.assertNotNull(jSTypeArray54); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertNotNull(objectType67); org.junit.Assert.assertNotNull(jSTypeArray68); org.junit.Assert.assertNotNull(functionType69); org.junit.Assert.assertTrue("'" + boolean70 + "' != '" + false + "'", boolean70 == false); org.junit.Assert.assertTrue("'" + boolean71 + "' != '" + false + "'", boolean71 == false); org.junit.Assert.assertNull(functionTypeList72); org.junit.Assert.assertNull(functionTypeList73); org.junit.Assert.assertNull(jSType75); org.junit.Assert.assertTrue("'" + boolean76 + "' != '" + false + "'", boolean76 == false); org.junit.Assert.assertNotNull(iterable77); org.junit.Assert.assertTrue("'" + boolean78 + "' != '" + false + "'", boolean78 == false); org.junit.Assert.assertNull(functionType79); org.junit.Assert.assertTrue("'" + boolean81 + "' != '" + false + "'", boolean81 == false); org.junit.Assert.assertNull(strCollection82); org.junit.Assert.assertNull(jSTypeExpression83); org.junit.Assert.assertTrue("'" + boolean84 + "' != '" + false + "'", boolean84 == false); org.junit.Assert.assertNotNull(jSTypeExpressionList85); org.junit.Assert.assertNotNull(strSet86); } @Test public void test4454() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4454"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.ErrorReporter errorReporter2 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry3 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter2); com.google.javascript.rhino.jstype.ObjectType objectType4 = null; com.google.javascript.rhino.jstype.JSType jSType5 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray6 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList7 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean8 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList7, jSTypeArray6); com.google.javascript.rhino.jstype.JSType jSType9 = jSTypeRegistry3.createFunctionTypeWithVarArgs(objectType4, jSType5, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList7); boolean boolean10 = jSType9.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter12 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry13 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter12); com.google.javascript.rhino.jstype.ObjectType objectType14 = null; com.google.javascript.rhino.jstype.JSType jSType15 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray16 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList17 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean18 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList17, jSTypeArray16); com.google.javascript.rhino.jstype.JSType jSType19 = jSTypeRegistry13.createFunctionTypeWithVarArgs(objectType14, jSType15, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList17); boolean boolean20 = jSType19.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType21 = jSType19.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter22 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry23 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter22); com.google.javascript.rhino.jstype.ObjectType objectType24 = null; com.google.javascript.rhino.jstype.JSType jSType25 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray26 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList27 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean28 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList27, jSTypeArray26); com.google.javascript.rhino.jstype.JSType jSType29 = jSTypeRegistry23.createFunctionTypeWithVarArgs(objectType24, jSType25, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList27); boolean boolean30 = jSType29.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType31 = jSType29.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter32 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry33 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter32); com.google.javascript.rhino.jstype.ObjectType objectType34 = null; com.google.javascript.rhino.jstype.JSType jSType35 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray36 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList37 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean38 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList37, jSTypeArray36); com.google.javascript.rhino.jstype.JSType jSType39 = jSTypeRegistry33.createFunctionTypeWithVarArgs(objectType34, jSType35, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList37); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); boolean boolean48 = jSType47.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType49 = jSType47.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter50 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry51 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter50); com.google.javascript.rhino.jstype.ObjectType objectType52 = null; com.google.javascript.rhino.jstype.JSType jSType53 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray54 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList55 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean56 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList55, jSTypeArray54); com.google.javascript.rhino.jstype.JSType jSType57 = jSTypeRegistry51.createFunctionTypeWithVarArgs(objectType52, jSType53, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList55); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); boolean boolean66 = jSType65.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType67 = jSType65.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray68 = new com.google.javascript.rhino.jstype.JSType[] { jSType21, jSType29, jSType35, jSType49, jSType57, objectType67 }; com.google.javascript.rhino.jstype.FunctionType functionType69 = jSTypeRegistry1.createConstructorType(jSType9, false, jSTypeArray68); boolean boolean70 = functionType69.hasReferenceName(); boolean boolean72 = functionType69.isPropertyInExterns("Not declared as a constructor"); boolean boolean74 = functionType69.isPropertyTypeInferred(""); java.util.Set<java.lang.String> strSet75 = functionType69.getPropertyNames(); com.google.javascript.rhino.jstype.JSType jSType77 = functionType69.getPropertyType("[]"); com.google.javascript.rhino.Node node79 = functionType69.getPropertyNode("STRING Not declared as a constructor"); boolean boolean80 = functionType69.matchesObjectContext(); com.google.javascript.rhino.jstype.ObjectType.Property property82 = functionType69.getSlot("java.io.IOException: []"); boolean boolean83 = functionType69.canBeCalled(); org.junit.Assert.assertNotNull(jSTypeArray6); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSType9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNotNull(jSTypeArray16); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSType19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(jSType21); org.junit.Assert.assertNotNull(jSTypeArray26); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(jSType31); org.junit.Assert.assertNotNull(jSTypeArray36); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(jSType49); org.junit.Assert.assertNotNull(jSTypeArray54); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertNotNull(objectType67); org.junit.Assert.assertNotNull(jSTypeArray68); org.junit.Assert.assertNotNull(functionType69); org.junit.Assert.assertTrue("'" + boolean70 + "' != '" + false + "'", boolean70 == false); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertTrue("'" + boolean74 + "' != '" + false + "'", boolean74 == false); org.junit.Assert.assertNotNull(strSet75); org.junit.Assert.assertNotNull(jSType77); org.junit.Assert.assertNull(node79); org.junit.Assert.assertTrue("'" + boolean80 + "' != '" + true + "'", boolean80 == true); org.junit.Assert.assertNull(property82); org.junit.Assert.assertTrue("'" + boolean83 + "' != '" + true + "'", boolean83 == true); } @Test public void test4455() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4455"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.ErrorReporter errorReporter2 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry3 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter2); com.google.javascript.rhino.jstype.ObjectType objectType4 = null; com.google.javascript.rhino.jstype.JSType jSType5 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray6 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList7 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean8 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList7, jSTypeArray6); com.google.javascript.rhino.jstype.JSType jSType9 = jSTypeRegistry3.createFunctionTypeWithVarArgs(objectType4, jSType5, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList7); boolean boolean10 = jSType9.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter12 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry13 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter12); com.google.javascript.rhino.jstype.ObjectType objectType14 = null; com.google.javascript.rhino.jstype.JSType jSType15 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray16 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList17 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean18 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList17, jSTypeArray16); com.google.javascript.rhino.jstype.JSType jSType19 = jSTypeRegistry13.createFunctionTypeWithVarArgs(objectType14, jSType15, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList17); boolean boolean20 = jSType19.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType21 = jSType19.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter22 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry23 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter22); com.google.javascript.rhino.jstype.ObjectType objectType24 = null; com.google.javascript.rhino.jstype.JSType jSType25 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray26 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList27 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean28 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList27, jSTypeArray26); com.google.javascript.rhino.jstype.JSType jSType29 = jSTypeRegistry23.createFunctionTypeWithVarArgs(objectType24, jSType25, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList27); boolean boolean30 = jSType29.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType31 = jSType29.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter32 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry33 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter32); com.google.javascript.rhino.jstype.ObjectType objectType34 = null; com.google.javascript.rhino.jstype.JSType jSType35 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray36 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList37 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean38 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList37, jSTypeArray36); com.google.javascript.rhino.jstype.JSType jSType39 = jSTypeRegistry33.createFunctionTypeWithVarArgs(objectType34, jSType35, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList37); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); boolean boolean48 = jSType47.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType49 = jSType47.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter50 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry51 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter50); com.google.javascript.rhino.jstype.ObjectType objectType52 = null; com.google.javascript.rhino.jstype.JSType jSType53 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray54 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList55 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean56 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList55, jSTypeArray54); com.google.javascript.rhino.jstype.JSType jSType57 = jSTypeRegistry51.createFunctionTypeWithVarArgs(objectType52, jSType53, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList55); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); boolean boolean66 = jSType65.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType67 = jSType65.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray68 = new com.google.javascript.rhino.jstype.JSType[] { jSType21, jSType29, jSType35, jSType49, jSType57, objectType67 }; com.google.javascript.rhino.jstype.FunctionType functionType69 = jSTypeRegistry1.createConstructorType(jSType9, false, jSTypeArray68); com.google.javascript.rhino.jstype.JSType jSType70 = functionType69.unboxesTo(); boolean boolean71 = functionType69.isObject(); boolean boolean72 = functionType69.isDateType(); java.lang.String str73 = functionType69.getNormalizedReferenceName(); boolean boolean74 = functionType69.isFunctionType(); boolean boolean75 = functionType69.isResolved(); com.google.javascript.rhino.jstype.ParameterizedType parameterizedType76 = functionType69.toMaybeParameterizedType(); java.lang.Iterable<com.google.javascript.rhino.Node> nodeIterable77 = functionType69.getParameters(); com.google.javascript.rhino.jstype.ObjectType objectType78 = functionType69.dereference(); java.lang.String str79 = functionType69.getReferenceName(); org.junit.Assert.assertNotNull(jSTypeArray6); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSType9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNotNull(jSTypeArray16); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSType19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(jSType21); org.junit.Assert.assertNotNull(jSTypeArray26); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(jSType31); org.junit.Assert.assertNotNull(jSTypeArray36); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(jSType49); org.junit.Assert.assertNotNull(jSTypeArray54); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertNotNull(objectType67); org.junit.Assert.assertNotNull(jSTypeArray68); org.junit.Assert.assertNotNull(functionType69); org.junit.Assert.assertNull(jSType70); org.junit.Assert.assertTrue("'" + boolean71 + "' != '" + true + "'", boolean71 == true); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertNull(str73); org.junit.Assert.assertTrue("'" + boolean74 + "' != '" + true + "'", boolean74 == true); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNull(parameterizedType76); org.junit.Assert.assertNotNull(nodeIterable77); org.junit.Assert.assertNotNull(objectType78); org.junit.Assert.assertNull(str79); } @Test public void test4456() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4456"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); boolean boolean8 = jSType7.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter9 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry10 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter9); com.google.javascript.rhino.ErrorReporter errorReporter11 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry12 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter11); com.google.javascript.rhino.jstype.ObjectType objectType13 = null; com.google.javascript.rhino.jstype.JSType jSType14 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray15 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList16 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean17 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList16, jSTypeArray15); com.google.javascript.rhino.jstype.JSType jSType18 = jSTypeRegistry12.createFunctionTypeWithVarArgs(objectType13, jSType14, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList16); boolean boolean19 = jSType18.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter21 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry22 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter21); com.google.javascript.rhino.jstype.ObjectType objectType23 = null; com.google.javascript.rhino.jstype.JSType jSType24 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray25 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList26 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean27 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList26, jSTypeArray25); com.google.javascript.rhino.jstype.JSType jSType28 = jSTypeRegistry22.createFunctionTypeWithVarArgs(objectType23, jSType24, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList26); boolean boolean29 = jSType28.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType30 = jSType28.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter31 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry32 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter31); com.google.javascript.rhino.jstype.ObjectType objectType33 = null; com.google.javascript.rhino.jstype.JSType jSType34 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray35 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList36 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean37 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList36, jSTypeArray35); com.google.javascript.rhino.jstype.JSType jSType38 = jSTypeRegistry32.createFunctionTypeWithVarArgs(objectType33, jSType34, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList36); boolean boolean39 = jSType38.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType40 = jSType38.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter41 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry42 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter41); com.google.javascript.rhino.jstype.ObjectType objectType43 = null; com.google.javascript.rhino.jstype.JSType jSType44 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray45 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList46 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean47 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList46, jSTypeArray45); com.google.javascript.rhino.jstype.JSType jSType48 = jSTypeRegistry42.createFunctionTypeWithVarArgs(objectType43, jSType44, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList46); com.google.javascript.rhino.ErrorReporter errorReporter49 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry50 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter49); com.google.javascript.rhino.jstype.ObjectType objectType51 = null; com.google.javascript.rhino.jstype.JSType jSType52 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray53 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList54 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean55 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList54, jSTypeArray53); com.google.javascript.rhino.jstype.JSType jSType56 = jSTypeRegistry50.createFunctionTypeWithVarArgs(objectType51, jSType52, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList54); boolean boolean57 = jSType56.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType58 = jSType56.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter59 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry60 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter59); com.google.javascript.rhino.jstype.ObjectType objectType61 = null; com.google.javascript.rhino.jstype.JSType jSType62 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray63 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList64 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean65 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList64, jSTypeArray63); com.google.javascript.rhino.jstype.JSType jSType66 = jSTypeRegistry60.createFunctionTypeWithVarArgs(objectType61, jSType62, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList64); com.google.javascript.rhino.ErrorReporter errorReporter67 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry68 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter67); com.google.javascript.rhino.jstype.ObjectType objectType69 = null; com.google.javascript.rhino.jstype.JSType jSType70 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray71 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList72 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean73 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList72, jSTypeArray71); com.google.javascript.rhino.jstype.JSType jSType74 = jSTypeRegistry68.createFunctionTypeWithVarArgs(objectType69, jSType70, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList72); boolean boolean75 = jSType74.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType76 = jSType74.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray77 = new com.google.javascript.rhino.jstype.JSType[] { jSType30, jSType38, jSType44, jSType58, jSType66, objectType76 }; com.google.javascript.rhino.jstype.FunctionType functionType78 = jSTypeRegistry10.createConstructorType(jSType18, false, jSTypeArray77); boolean boolean79 = jSType7.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType78); com.google.javascript.rhino.jstype.StaticSlot staticSlot81 = functionType78.getSlot("Not declared as a constructor"); com.google.javascript.rhino.jstype.StaticScope<com.google.javascript.rhino.jstype.JSType> jSTypeStaticScope82 = functionType78.getParentScope(); functionType78.clearCachedValues(); com.google.javascript.rhino.Node node84 = functionType78.getParametersNode(); com.google.javascript.rhino.jstype.ObjectType objectType85 = functionType78.getTypeOfThis(); com.google.javascript.rhino.jstype.JSType jSType86 = objectType85.getIndexType(); com.google.javascript.rhino.jstype.JSType jSType88 = objectType85.findPropertyType("((Named type with empty name component))"); java.lang.String str89 = jSType88.toDebugHashCodeString(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSTypeArray15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(jSType18); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(jSTypeArray25); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(jSType28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(jSType30); org.junit.Assert.assertNotNull(jSTypeArray35); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSType38); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(jSType40); org.junit.Assert.assertNotNull(jSTypeArray45); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(jSType48); org.junit.Assert.assertNotNull(jSTypeArray53); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); org.junit.Assert.assertNotNull(jSType56); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNotNull(jSType58); org.junit.Assert.assertNotNull(jSTypeArray63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(jSType66); org.junit.Assert.assertNotNull(jSTypeArray71); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNotNull(jSType74); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(objectType76); org.junit.Assert.assertNotNull(jSTypeArray77); org.junit.Assert.assertNotNull(functionType78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + true + "'", boolean79 == true); org.junit.Assert.assertNull(staticSlot81); org.junit.Assert.assertNotNull(jSTypeStaticScope82); org.junit.Assert.assertNotNull(node84); org.junit.Assert.assertNotNull(objectType85); org.junit.Assert.assertNull(jSType86); org.junit.Assert.assertNotNull(jSType88); // flaky: org.junit.Assert.assertEquals("'" + str89 + "' != '" + "{498740951}" + "'", str89, "{498740951}"); } @Test public void test4457() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4457"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry2 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0, false); jSTypeRegistry2.forwardDeclareType("Not declared as a constructor"); boolean boolean6 = jSTypeRegistry2.isForwardDeclaredType("function (): {160022603}"); com.google.javascript.rhino.ErrorReporter errorReporter8 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry9 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter8); com.google.javascript.rhino.jstype.ObjectType objectType10 = null; com.google.javascript.rhino.jstype.JSType jSType11 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray12 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList13 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean14 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList13, jSTypeArray12); com.google.javascript.rhino.jstype.JSType jSType15 = jSTypeRegistry9.createFunctionTypeWithVarArgs(objectType10, jSType11, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList13); boolean boolean16 = jSType15.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType17 = jSType15.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter18 = null; com.google.javascript.rhino.ErrorReporter errorReporter19 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry20 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter19); com.google.javascript.rhino.ErrorReporter errorReporter21 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry22 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter21); com.google.javascript.rhino.jstype.ObjectType objectType23 = null; com.google.javascript.rhino.jstype.JSType jSType24 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray25 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList26 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean27 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList26, jSTypeArray25); com.google.javascript.rhino.jstype.JSType jSType28 = jSTypeRegistry22.createFunctionTypeWithVarArgs(objectType23, jSType24, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList26); boolean boolean29 = jSType28.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter31 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry32 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter31); com.google.javascript.rhino.jstype.ObjectType objectType33 = null; com.google.javascript.rhino.jstype.JSType jSType34 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray35 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList36 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean37 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList36, jSTypeArray35); com.google.javascript.rhino.jstype.JSType jSType38 = jSTypeRegistry32.createFunctionTypeWithVarArgs(objectType33, jSType34, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList36); boolean boolean39 = jSType38.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType40 = jSType38.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter41 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry42 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter41); com.google.javascript.rhino.jstype.ObjectType objectType43 = null; com.google.javascript.rhino.jstype.JSType jSType44 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray45 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList46 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean47 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList46, jSTypeArray45); com.google.javascript.rhino.jstype.JSType jSType48 = jSTypeRegistry42.createFunctionTypeWithVarArgs(objectType43, jSType44, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList46); boolean boolean49 = jSType48.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType50 = jSType48.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter51 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry52 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter51); com.google.javascript.rhino.jstype.ObjectType objectType53 = null; com.google.javascript.rhino.jstype.JSType jSType54 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray55 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList56 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean57 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList56, jSTypeArray55); com.google.javascript.rhino.jstype.JSType jSType58 = jSTypeRegistry52.createFunctionTypeWithVarArgs(objectType53, jSType54, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList56); com.google.javascript.rhino.ErrorReporter errorReporter59 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry60 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter59); com.google.javascript.rhino.jstype.ObjectType objectType61 = null; com.google.javascript.rhino.jstype.JSType jSType62 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray63 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList64 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean65 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList64, jSTypeArray63); com.google.javascript.rhino.jstype.JSType jSType66 = jSTypeRegistry60.createFunctionTypeWithVarArgs(objectType61, jSType62, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList64); boolean boolean67 = jSType66.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType68 = jSType66.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter69 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry70 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter69); com.google.javascript.rhino.jstype.ObjectType objectType71 = null; com.google.javascript.rhino.jstype.JSType jSType72 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray73 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList74 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean75 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList74, jSTypeArray73); com.google.javascript.rhino.jstype.JSType jSType76 = jSTypeRegistry70.createFunctionTypeWithVarArgs(objectType71, jSType72, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList74); com.google.javascript.rhino.ErrorReporter errorReporter77 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry78 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter77); com.google.javascript.rhino.jstype.ObjectType objectType79 = null; com.google.javascript.rhino.jstype.JSType jSType80 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray81 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList82 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean83 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList82, jSTypeArray81); com.google.javascript.rhino.jstype.JSType jSType84 = jSTypeRegistry78.createFunctionTypeWithVarArgs(objectType79, jSType80, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList82); boolean boolean85 = jSType84.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType86 = jSType84.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray87 = new com.google.javascript.rhino.jstype.JSType[] { jSType40, jSType48, jSType54, jSType68, jSType76, objectType86 }; com.google.javascript.rhino.jstype.FunctionType functionType88 = jSTypeRegistry20.createConstructorType(jSType28, false, jSTypeArray87); boolean boolean89 = functionType88.hasReferenceName(); boolean boolean90 = functionType88.isNoType(); java.util.List<com.google.javascript.rhino.jstype.FunctionType> functionTypeList91 = functionType88.getSubTypes(); java.util.List<com.google.javascript.rhino.jstype.FunctionType> functionTypeList92 = functionType88.getSubTypes(); com.google.javascript.rhino.jstype.JSType jSType93 = jSType17.resolve(errorReporter18, (com.google.javascript.rhino.jstype.StaticScope<com.google.javascript.rhino.jstype.JSType>) functionType88); com.google.javascript.rhino.jstype.ObjectType objectType94 = functionType88.getPrototype(); boolean boolean95 = functionType88.isObject(); jSTypeRegistry2.registerPropertyOnType("java.io.IOException: Not declared as a constructor", (com.google.javascript.rhino.jstype.JSType) functionType88); jSTypeRegistry2.clearNamedTypes(); java.lang.Iterable<com.google.javascript.rhino.jstype.ObjectType> objectTypeIterable99 = jSTypeRegistry2.getEachReferenceTypeWithProperty("java.io.IOException: java.io.IOException: "); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSTypeArray12); org.junit.Assert.assertTrue("'" + boolean14 + "' != '" + false + "'", boolean14 == false); org.junit.Assert.assertNotNull(jSType15); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertNotNull(jSType17); org.junit.Assert.assertNotNull(jSTypeArray25); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(jSType28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(jSTypeArray35); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSType38); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(jSType40); org.junit.Assert.assertNotNull(jSTypeArray45); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(jSType48); org.junit.Assert.assertTrue("'" + boolean49 + "' != '" + false + "'", boolean49 == false); org.junit.Assert.assertNotNull(jSType50); org.junit.Assert.assertNotNull(jSTypeArray55); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNotNull(jSType58); org.junit.Assert.assertNotNull(jSTypeArray63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(jSType66); org.junit.Assert.assertTrue("'" + boolean67 + "' != '" + false + "'", boolean67 == false); org.junit.Assert.assertNotNull(jSType68); org.junit.Assert.assertNotNull(jSTypeArray73); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(jSType76); org.junit.Assert.assertNotNull(jSTypeArray81); org.junit.Assert.assertTrue("'" + boolean83 + "' != '" + false + "'", boolean83 == false); org.junit.Assert.assertNotNull(jSType84); org.junit.Assert.assertTrue("'" + boolean85 + "' != '" + false + "'", boolean85 == false); org.junit.Assert.assertNotNull(objectType86); org.junit.Assert.assertNotNull(jSTypeArray87); org.junit.Assert.assertNotNull(functionType88); org.junit.Assert.assertTrue("'" + boolean89 + "' != '" + false + "'", boolean89 == false); org.junit.Assert.assertTrue("'" + boolean90 + "' != '" + false + "'", boolean90 == false); org.junit.Assert.assertNull(functionTypeList91); org.junit.Assert.assertNull(functionTypeList92); org.junit.Assert.assertNotNull(jSType93); org.junit.Assert.assertNotNull(objectType94); org.junit.Assert.assertTrue("'" + boolean95 + "' != '" + true + "'", boolean95 == true); org.junit.Assert.assertNotNull(objectTypeIterable99); } @Test public void test4458() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4458"); com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec assertionFunctionSpec2 = new com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec("Not declared as a type name"); java.lang.String str3 = assertionFunctionSpec2.getFunctionName(); com.google.javascript.rhino.Node node6 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean7 = node6.isLabelName(); java.util.Set<java.lang.String> strSet8 = node6.getDirectives(); com.google.javascript.rhino.Node node10 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean11 = node10.isLabelName(); com.google.javascript.rhino.Node[] nodeArray12 = new com.google.javascript.rhino.Node[] { node6, node10 }; com.google.javascript.rhino.Node node15 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray12, 50, 50); com.google.javascript.rhino.Node node17 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node15.addChildToFront(node17); java.lang.Object obj20 = node15.getProp(48); boolean boolean21 = node15.isGetProp(); boolean boolean22 = node15.isName(); boolean boolean23 = node15.isVoid(); com.google.javascript.rhino.Node node24 = assertionFunctionSpec2.getAssertedParam(node15); com.google.javascript.rhino.Node node27 = new com.google.javascript.rhino.Node(47, node24, (-1), 48); boolean boolean28 = node27.isFunction(); org.junit.Assert.assertEquals("'" + str3 + "' != '" + "Not declared as a type name" + "'", str3, "Not declared as a type name"); org.junit.Assert.assertNotNull(node6); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertNull(strSet8); org.junit.Assert.assertNotNull(node10); org.junit.Assert.assertTrue("'" + boolean11 + "' != '" + false + "'", boolean11 == false); org.junit.Assert.assertNotNull(nodeArray12); org.junit.Assert.assertNotNull(node17); org.junit.Assert.assertNull(obj20); org.junit.Assert.assertTrue("'" + boolean21 + "' != '" + false + "'", boolean21 == false); org.junit.Assert.assertTrue("'" + boolean22 + "' != '" + false + "'", boolean22 == false); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + false + "'", boolean23 == false); org.junit.Assert.assertNotNull(node24); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); } @Test public void test4459() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4459"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.ErrorReporter errorReporter2 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry3 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter2); com.google.javascript.rhino.jstype.ObjectType objectType4 = null; com.google.javascript.rhino.jstype.JSType jSType5 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray6 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList7 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean8 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList7, jSTypeArray6); com.google.javascript.rhino.jstype.JSType jSType9 = jSTypeRegistry3.createFunctionTypeWithVarArgs(objectType4, jSType5, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList7); boolean boolean10 = jSType9.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter12 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry13 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter12); com.google.javascript.rhino.jstype.ObjectType objectType14 = null; com.google.javascript.rhino.jstype.JSType jSType15 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray16 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList17 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean18 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList17, jSTypeArray16); com.google.javascript.rhino.jstype.JSType jSType19 = jSTypeRegistry13.createFunctionTypeWithVarArgs(objectType14, jSType15, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList17); boolean boolean20 = jSType19.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType21 = jSType19.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter22 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry23 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter22); com.google.javascript.rhino.jstype.ObjectType objectType24 = null; com.google.javascript.rhino.jstype.JSType jSType25 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray26 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList27 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean28 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList27, jSTypeArray26); com.google.javascript.rhino.jstype.JSType jSType29 = jSTypeRegistry23.createFunctionTypeWithVarArgs(objectType24, jSType25, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList27); boolean boolean30 = jSType29.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType31 = jSType29.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter32 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry33 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter32); com.google.javascript.rhino.jstype.ObjectType objectType34 = null; com.google.javascript.rhino.jstype.JSType jSType35 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray36 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList37 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean38 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList37, jSTypeArray36); com.google.javascript.rhino.jstype.JSType jSType39 = jSTypeRegistry33.createFunctionTypeWithVarArgs(objectType34, jSType35, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList37); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); boolean boolean48 = jSType47.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType49 = jSType47.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter50 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry51 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter50); com.google.javascript.rhino.jstype.ObjectType objectType52 = null; com.google.javascript.rhino.jstype.JSType jSType53 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray54 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList55 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean56 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList55, jSTypeArray54); com.google.javascript.rhino.jstype.JSType jSType57 = jSTypeRegistry51.createFunctionTypeWithVarArgs(objectType52, jSType53, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList55); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); boolean boolean66 = jSType65.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType67 = jSType65.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray68 = new com.google.javascript.rhino.jstype.JSType[] { jSType21, jSType29, jSType35, jSType49, jSType57, objectType67 }; com.google.javascript.rhino.jstype.FunctionType functionType69 = jSTypeRegistry1.createConstructorType(jSType9, false, jSTypeArray68); boolean boolean70 = functionType69.hasReferenceName(); boolean boolean72 = functionType69.isPropertyInExterns("Not declared as a constructor"); boolean boolean74 = functionType69.isPropertyTypeInferred(""); java.util.Set<java.lang.String> strSet75 = functionType69.getPropertyNames(); com.google.javascript.rhino.jstype.StaticSlot staticSlot77 = functionType69.getSlot("function (): {889988203}"); com.google.javascript.rhino.jstype.JSType jSType78 = functionType69.getReturnType(); com.google.javascript.rhino.jstype.FunctionType functionType79 = functionType69.cloneWithoutArrowType(); boolean boolean80 = functionType79.isAllType(); java.lang.Iterable iterable81 = functionType79.getCtorExtendedInterfaces(); boolean boolean82 = functionType79.isNumberObjectType(); com.google.javascript.rhino.jstype.JSType jSType84 = functionType79.getRestrictedTypeGivenToBooleanOutcome(false); com.google.javascript.rhino.JSDocInfo jSDocInfo85 = functionType79.getJSDocInfo(); org.junit.Assert.assertNotNull(jSTypeArray6); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSType9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNotNull(jSTypeArray16); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSType19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(jSType21); org.junit.Assert.assertNotNull(jSTypeArray26); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(jSType31); org.junit.Assert.assertNotNull(jSTypeArray36); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(jSType49); org.junit.Assert.assertNotNull(jSTypeArray54); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertNotNull(objectType67); org.junit.Assert.assertNotNull(jSTypeArray68); org.junit.Assert.assertNotNull(functionType69); org.junit.Assert.assertTrue("'" + boolean70 + "' != '" + false + "'", boolean70 == false); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertTrue("'" + boolean74 + "' != '" + false + "'", boolean74 == false); org.junit.Assert.assertNotNull(strSet75); org.junit.Assert.assertNull(staticSlot77); org.junit.Assert.assertNotNull(jSType78); org.junit.Assert.assertNotNull(functionType79); org.junit.Assert.assertTrue("'" + boolean80 + "' != '" + false + "'", boolean80 == false); org.junit.Assert.assertNotNull(iterable81); org.junit.Assert.assertTrue("'" + boolean82 + "' != '" + false + "'", boolean82 == false); org.junit.Assert.assertNotNull(jSType84); org.junit.Assert.assertNull(jSDocInfo85); } @Test public void test4460() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4460"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); boolean boolean8 = jSType7.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter9 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry10 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter9); com.google.javascript.rhino.ErrorReporter errorReporter11 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry12 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter11); com.google.javascript.rhino.jstype.ObjectType objectType13 = null; com.google.javascript.rhino.jstype.JSType jSType14 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray15 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList16 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean17 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList16, jSTypeArray15); com.google.javascript.rhino.jstype.JSType jSType18 = jSTypeRegistry12.createFunctionTypeWithVarArgs(objectType13, jSType14, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList16); boolean boolean19 = jSType18.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter21 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry22 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter21); com.google.javascript.rhino.jstype.ObjectType objectType23 = null; com.google.javascript.rhino.jstype.JSType jSType24 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray25 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList26 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean27 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList26, jSTypeArray25); com.google.javascript.rhino.jstype.JSType jSType28 = jSTypeRegistry22.createFunctionTypeWithVarArgs(objectType23, jSType24, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList26); boolean boolean29 = jSType28.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType30 = jSType28.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter31 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry32 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter31); com.google.javascript.rhino.jstype.ObjectType objectType33 = null; com.google.javascript.rhino.jstype.JSType jSType34 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray35 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList36 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean37 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList36, jSTypeArray35); com.google.javascript.rhino.jstype.JSType jSType38 = jSTypeRegistry32.createFunctionTypeWithVarArgs(objectType33, jSType34, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList36); boolean boolean39 = jSType38.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType40 = jSType38.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter41 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry42 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter41); com.google.javascript.rhino.jstype.ObjectType objectType43 = null; com.google.javascript.rhino.jstype.JSType jSType44 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray45 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList46 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean47 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList46, jSTypeArray45); com.google.javascript.rhino.jstype.JSType jSType48 = jSTypeRegistry42.createFunctionTypeWithVarArgs(objectType43, jSType44, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList46); com.google.javascript.rhino.ErrorReporter errorReporter49 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry50 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter49); com.google.javascript.rhino.jstype.ObjectType objectType51 = null; com.google.javascript.rhino.jstype.JSType jSType52 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray53 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList54 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean55 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList54, jSTypeArray53); com.google.javascript.rhino.jstype.JSType jSType56 = jSTypeRegistry50.createFunctionTypeWithVarArgs(objectType51, jSType52, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList54); boolean boolean57 = jSType56.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType58 = jSType56.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter59 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry60 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter59); com.google.javascript.rhino.jstype.ObjectType objectType61 = null; com.google.javascript.rhino.jstype.JSType jSType62 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray63 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList64 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean65 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList64, jSTypeArray63); com.google.javascript.rhino.jstype.JSType jSType66 = jSTypeRegistry60.createFunctionTypeWithVarArgs(objectType61, jSType62, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList64); com.google.javascript.rhino.ErrorReporter errorReporter67 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry68 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter67); com.google.javascript.rhino.jstype.ObjectType objectType69 = null; com.google.javascript.rhino.jstype.JSType jSType70 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray71 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList72 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean73 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList72, jSTypeArray71); com.google.javascript.rhino.jstype.JSType jSType74 = jSTypeRegistry68.createFunctionTypeWithVarArgs(objectType69, jSType70, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList72); boolean boolean75 = jSType74.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType76 = jSType74.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray77 = new com.google.javascript.rhino.jstype.JSType[] { jSType30, jSType38, jSType44, jSType58, jSType66, objectType76 }; com.google.javascript.rhino.jstype.FunctionType functionType78 = jSTypeRegistry10.createConstructorType(jSType18, false, jSTypeArray77); boolean boolean79 = jSType7.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType78); com.google.javascript.rhino.jstype.ObjectType objectType80 = functionType78.getImplicitPrototype(); com.google.javascript.rhino.jstype.JSType jSType81 = functionType78.unboxesTo(); com.google.javascript.rhino.Node node83 = functionType78.getPropertyNode("[hi!, Not declared as a constructor, hi!, function (): {160022603}, , true, java.io.IOException: , ()]"); com.google.javascript.rhino.jstype.ParameterizedType parameterizedType84 = functionType78.toMaybeParameterizedType(); boolean boolean85 = functionType78.matchesStringContext(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSTypeArray15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(jSType18); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(jSTypeArray25); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(jSType28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(jSType30); org.junit.Assert.assertNotNull(jSTypeArray35); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSType38); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(jSType40); org.junit.Assert.assertNotNull(jSTypeArray45); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(jSType48); org.junit.Assert.assertNotNull(jSTypeArray53); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); org.junit.Assert.assertNotNull(jSType56); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNotNull(jSType58); org.junit.Assert.assertNotNull(jSTypeArray63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(jSType66); org.junit.Assert.assertNotNull(jSTypeArray71); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNotNull(jSType74); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(objectType76); org.junit.Assert.assertNotNull(jSTypeArray77); org.junit.Assert.assertNotNull(functionType78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + true + "'", boolean79 == true); org.junit.Assert.assertNotNull(objectType80); org.junit.Assert.assertNull(jSType81); org.junit.Assert.assertNull(node83); org.junit.Assert.assertNull(parameterizedType84); org.junit.Assert.assertTrue("'" + boolean85 + "' != '" + false + "'", boolean85 == false); } @Test public void test4461() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4461"); com.google.javascript.rhino.JSDocInfo.TypePosition typePosition0 = new com.google.javascript.rhino.JSDocInfo.TypePosition(); int int1 = typePosition0.getStartLine(); com.google.javascript.rhino.Node node6 = com.google.javascript.rhino.Node.newString((int) '4', "InputId: []", 41, 6); typePosition0.setItem(node6); com.google.javascript.rhino.Node node8 = node6.cloneTree(); org.junit.Assert.assertTrue("'" + int1 + "' != '" + 0 + "'", int1 == 0); org.junit.Assert.assertNotNull(node6); org.junit.Assert.assertNotNull(node8); } @Test public void test4462() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4462"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); boolean boolean8 = jSType7.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter9 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry10 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter9); com.google.javascript.rhino.ErrorReporter errorReporter11 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry12 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter11); com.google.javascript.rhino.jstype.ObjectType objectType13 = null; com.google.javascript.rhino.jstype.JSType jSType14 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray15 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList16 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean17 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList16, jSTypeArray15); com.google.javascript.rhino.jstype.JSType jSType18 = jSTypeRegistry12.createFunctionTypeWithVarArgs(objectType13, jSType14, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList16); boolean boolean19 = jSType18.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter21 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry22 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter21); com.google.javascript.rhino.jstype.ObjectType objectType23 = null; com.google.javascript.rhino.jstype.JSType jSType24 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray25 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList26 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean27 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList26, jSTypeArray25); com.google.javascript.rhino.jstype.JSType jSType28 = jSTypeRegistry22.createFunctionTypeWithVarArgs(objectType23, jSType24, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList26); boolean boolean29 = jSType28.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType30 = jSType28.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter31 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry32 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter31); com.google.javascript.rhino.jstype.ObjectType objectType33 = null; com.google.javascript.rhino.jstype.JSType jSType34 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray35 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList36 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean37 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList36, jSTypeArray35); com.google.javascript.rhino.jstype.JSType jSType38 = jSTypeRegistry32.createFunctionTypeWithVarArgs(objectType33, jSType34, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList36); boolean boolean39 = jSType38.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType40 = jSType38.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter41 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry42 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter41); com.google.javascript.rhino.jstype.ObjectType objectType43 = null; com.google.javascript.rhino.jstype.JSType jSType44 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray45 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList46 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean47 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList46, jSTypeArray45); com.google.javascript.rhino.jstype.JSType jSType48 = jSTypeRegistry42.createFunctionTypeWithVarArgs(objectType43, jSType44, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList46); com.google.javascript.rhino.ErrorReporter errorReporter49 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry50 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter49); com.google.javascript.rhino.jstype.ObjectType objectType51 = null; com.google.javascript.rhino.jstype.JSType jSType52 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray53 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList54 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean55 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList54, jSTypeArray53); com.google.javascript.rhino.jstype.JSType jSType56 = jSTypeRegistry50.createFunctionTypeWithVarArgs(objectType51, jSType52, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList54); boolean boolean57 = jSType56.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType58 = jSType56.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter59 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry60 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter59); com.google.javascript.rhino.jstype.ObjectType objectType61 = null; com.google.javascript.rhino.jstype.JSType jSType62 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray63 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList64 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean65 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList64, jSTypeArray63); com.google.javascript.rhino.jstype.JSType jSType66 = jSTypeRegistry60.createFunctionTypeWithVarArgs(objectType61, jSType62, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList64); com.google.javascript.rhino.ErrorReporter errorReporter67 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry68 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter67); com.google.javascript.rhino.jstype.ObjectType objectType69 = null; com.google.javascript.rhino.jstype.JSType jSType70 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray71 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList72 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean73 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList72, jSTypeArray71); com.google.javascript.rhino.jstype.JSType jSType74 = jSTypeRegistry68.createFunctionTypeWithVarArgs(objectType69, jSType70, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList72); boolean boolean75 = jSType74.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType76 = jSType74.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray77 = new com.google.javascript.rhino.jstype.JSType[] { jSType30, jSType38, jSType44, jSType58, jSType66, objectType76 }; com.google.javascript.rhino.jstype.FunctionType functionType78 = jSTypeRegistry10.createConstructorType(jSType18, false, jSTypeArray77); boolean boolean79 = jSType7.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType78); com.google.javascript.rhino.jstype.StaticSlot staticSlot81 = functionType78.getSlot("Not declared as a constructor"); com.google.javascript.rhino.jstype.StaticScope<com.google.javascript.rhino.jstype.JSType> jSTypeStaticScope82 = functionType78.getParentScope(); functionType78.clearCachedValues(); boolean boolean84 = functionType78.isFunctionType(); boolean boolean86 = functionType78.isPropertyInExterns("OR"); com.google.javascript.rhino.jstype.ObjectType.Property property88 = functionType78.getSlot("Named type with empty name component"); java.lang.String str89 = functionType78.getDisplayName(); com.google.javascript.rhino.jstype.ObjectType.Property property91 = functionType78.getOwnSlot("function (): {160022603}"); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSTypeArray15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(jSType18); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(jSTypeArray25); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(jSType28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(jSType30); org.junit.Assert.assertNotNull(jSTypeArray35); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSType38); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(jSType40); org.junit.Assert.assertNotNull(jSTypeArray45); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(jSType48); org.junit.Assert.assertNotNull(jSTypeArray53); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); org.junit.Assert.assertNotNull(jSType56); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNotNull(jSType58); org.junit.Assert.assertNotNull(jSTypeArray63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(jSType66); org.junit.Assert.assertNotNull(jSTypeArray71); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNotNull(jSType74); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(objectType76); org.junit.Assert.assertNotNull(jSTypeArray77); org.junit.Assert.assertNotNull(functionType78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + true + "'", boolean79 == true); org.junit.Assert.assertNull(staticSlot81); org.junit.Assert.assertNotNull(jSTypeStaticScope82); org.junit.Assert.assertTrue("'" + boolean84 + "' != '" + true + "'", boolean84 == true); org.junit.Assert.assertTrue("'" + boolean86 + "' != '" + false + "'", boolean86 == false); org.junit.Assert.assertNull(property88); org.junit.Assert.assertNull(str89); org.junit.Assert.assertNull(property91); } @Test public void test4463() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4463"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); com.google.javascript.rhino.ErrorReporter errorReporter8 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry9 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter8); com.google.javascript.rhino.jstype.ObjectType objectType10 = null; com.google.javascript.rhino.jstype.JSType jSType11 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray12 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList13 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean14 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList13, jSTypeArray12); com.google.javascript.rhino.jstype.JSType jSType15 = jSTypeRegistry9.createFunctionTypeWithVarArgs(objectType10, jSType11, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList13); com.google.javascript.rhino.ErrorReporter errorReporter16 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry17 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter16); com.google.javascript.rhino.jstype.ObjectType objectType18 = null; com.google.javascript.rhino.jstype.JSType jSType19 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray20 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList21 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean22 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList21, jSTypeArray20); com.google.javascript.rhino.jstype.JSType jSType23 = jSTypeRegistry17.createFunctionTypeWithVarArgs(objectType18, jSType19, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList21); boolean boolean24 = jSType23.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType25 = jSType23.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter26 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry27 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter26); com.google.javascript.rhino.jstype.ObjectType objectType28 = null; com.google.javascript.rhino.jstype.JSType jSType29 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray30 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList31 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean32 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList31, jSTypeArray30); com.google.javascript.rhino.jstype.JSType jSType33 = jSTypeRegistry27.createFunctionTypeWithVarArgs(objectType28, jSType29, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList31); com.google.javascript.rhino.jstype.JSType[] jSTypeArray34 = new com.google.javascript.rhino.jstype.JSType[] { jSType11, jSType25, objectType28 }; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList35 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean36 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList35, jSTypeArray34); boolean boolean37 = jSTypeList5.containsAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList35); com.google.javascript.rhino.ErrorReporter errorReporter38 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry39 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter38); com.google.javascript.rhino.jstype.ObjectType objectType40 = null; com.google.javascript.rhino.jstype.JSType jSType41 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray42 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList43 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean44 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList43, jSTypeArray42); com.google.javascript.rhino.jstype.JSType jSType45 = jSTypeRegistry39.createFunctionTypeWithVarArgs(objectType40, jSType41, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList43); com.google.javascript.rhino.ErrorReporter errorReporter46 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry47 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter46); com.google.javascript.rhino.jstype.ObjectType objectType48 = null; com.google.javascript.rhino.jstype.JSType jSType49 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray50 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList51 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean52 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList51, jSTypeArray50); com.google.javascript.rhino.jstype.JSType jSType53 = jSTypeRegistry47.createFunctionTypeWithVarArgs(objectType48, jSType49, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList51); com.google.javascript.rhino.ErrorReporter errorReporter54 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry55 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter54); com.google.javascript.rhino.jstype.ObjectType objectType56 = null; com.google.javascript.rhino.jstype.JSType jSType57 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray58 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList59 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean60 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList59, jSTypeArray58); com.google.javascript.rhino.jstype.JSType jSType61 = jSTypeRegistry55.createFunctionTypeWithVarArgs(objectType56, jSType57, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList59); boolean boolean62 = jSType61.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType63 = jSType61.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter64 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry65 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter64); com.google.javascript.rhino.jstype.ObjectType objectType66 = null; com.google.javascript.rhino.jstype.JSType jSType67 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray68 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList69 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean70 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList69, jSTypeArray68); com.google.javascript.rhino.jstype.JSType jSType71 = jSTypeRegistry65.createFunctionTypeWithVarArgs(objectType66, jSType67, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList69); com.google.javascript.rhino.jstype.JSType[] jSTypeArray72 = new com.google.javascript.rhino.jstype.JSType[] { jSType49, jSType63, objectType66 }; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList73 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean74 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList73, jSTypeArray72); boolean boolean75 = jSTypeList43.containsAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList73); java.util.Iterator<com.google.javascript.rhino.jstype.JSType> jSTypeItor76 = jSTypeList43.iterator(); int int77 = jSTypeList43.size(); java.util.ListIterator<com.google.javascript.rhino.jstype.JSType> jSTypeItor78 = jSTypeList43.listIterator(); com.google.common.collect.ImmutableList<java.util.AbstractList<com.google.javascript.rhino.jstype.JSType>> jSTypeListList79 = com.google.common.collect.ImmutableList.of((java.util.AbstractList<com.google.javascript.rhino.jstype.JSType>) jSTypeList35, (java.util.AbstractList<com.google.javascript.rhino.jstype.JSType>) jSTypeList43); com.google.javascript.rhino.Node node84 = com.google.javascript.rhino.Node.newString((int) (short) -1, "function (): {160022603}", 44, 2); boolean boolean85 = node84.isCall(); boolean boolean86 = node84.isFor(); boolean boolean87 = jSTypeList35.equals((java.lang.Object) node84); jSTypeList35.clear(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertNotNull(jSTypeArray12); org.junit.Assert.assertTrue("'" + boolean14 + "' != '" + false + "'", boolean14 == false); org.junit.Assert.assertNotNull(jSType15); org.junit.Assert.assertNotNull(jSTypeArray20); org.junit.Assert.assertTrue("'" + boolean22 + "' != '" + false + "'", boolean22 == false); org.junit.Assert.assertNotNull(jSType23); org.junit.Assert.assertTrue("'" + boolean24 + "' != '" + false + "'", boolean24 == false); org.junit.Assert.assertNotNull(jSType25); org.junit.Assert.assertNotNull(jSTypeArray30); org.junit.Assert.assertTrue("'" + boolean32 + "' != '" + false + "'", boolean32 == false); org.junit.Assert.assertNotNull(jSType33); org.junit.Assert.assertNotNull(jSTypeArray34); org.junit.Assert.assertTrue("'" + boolean36 + "' != '" + true + "'", boolean36 == true); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSTypeArray42); org.junit.Assert.assertTrue("'" + boolean44 + "' != '" + false + "'", boolean44 == false); org.junit.Assert.assertNotNull(jSType45); org.junit.Assert.assertNotNull(jSTypeArray50); org.junit.Assert.assertTrue("'" + boolean52 + "' != '" + false + "'", boolean52 == false); org.junit.Assert.assertNotNull(jSType53); org.junit.Assert.assertNotNull(jSTypeArray58); org.junit.Assert.assertTrue("'" + boolean60 + "' != '" + false + "'", boolean60 == false); org.junit.Assert.assertNotNull(jSType61); org.junit.Assert.assertTrue("'" + boolean62 + "' != '" + false + "'", boolean62 == false); org.junit.Assert.assertNotNull(jSType63); org.junit.Assert.assertNotNull(jSTypeArray68); org.junit.Assert.assertTrue("'" + boolean70 + "' != '" + false + "'", boolean70 == false); org.junit.Assert.assertNotNull(jSType71); org.junit.Assert.assertNotNull(jSTypeArray72); org.junit.Assert.assertTrue("'" + boolean74 + "' != '" + true + "'", boolean74 == true); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(jSTypeItor76); org.junit.Assert.assertTrue("'" + int77 + "' != '" + 0 + "'", int77 == 0); org.junit.Assert.assertNotNull(jSTypeItor78); org.junit.Assert.assertNotNull(jSTypeListList79); org.junit.Assert.assertNotNull(node84); org.junit.Assert.assertTrue("'" + boolean85 + "' != '" + false + "'", boolean85 == false); org.junit.Assert.assertTrue("'" + boolean86 + "' != '" + false + "'", boolean86 == false); org.junit.Assert.assertTrue("'" + boolean87 + "' != '" + false + "'", boolean87 == false); } @Test public void test4464() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4464"); com.google.javascript.rhino.Node node1 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node2 = com.google.javascript.jscomp.NodeUtil.newExpr(node1); com.google.javascript.rhino.jstype.StaticSourceFile staticSourceFile3 = null; node1.setStaticSourceFile(staticSourceFile3); boolean boolean5 = node1.isLabel(); java.lang.Iterable<com.google.javascript.rhino.Node> nodeIterable6 = node1.siblings(); boolean boolean7 = node1.isDelProp(); org.junit.Assert.assertNotNull(node1); org.junit.Assert.assertNotNull(node2); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(nodeIterable6); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); } @Test public void test4465() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4465"); com.google.javascript.rhino.JSDocInfo jSDocInfo0 = new com.google.javascript.rhino.JSDocInfo(); java.lang.String str1 = jSDocInfo0.getOriginalCommentString(); boolean boolean2 = jSDocInfo0.hasReturnType(); boolean boolean3 = jSDocInfo0.isConsistentIdGenerator(); java.lang.String str4 = jSDocInfo0.toString(); com.google.javascript.rhino.JSTypeExpression jSTypeExpression5 = jSDocInfo0.getBaseType(); jSDocInfo0.setDeprecated(false); java.util.Set<java.lang.String> strSet8 = jSDocInfo0.getSuppressions(); int int9 = strSet8.size(); com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec assertionFunctionSpec11 = new com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec("Not declared as a constructor"); com.google.javascript.rhino.Node node14 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean15 = node14.isLabelName(); com.google.javascript.rhino.Node node18 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean19 = node18.isLabelName(); java.util.Set<java.lang.String> strSet20 = node18.getDirectives(); com.google.javascript.rhino.Node node22 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean23 = node22.isLabelName(); com.google.javascript.rhino.Node[] nodeArray24 = new com.google.javascript.rhino.Node[] { node18, node22 }; com.google.javascript.rhino.Node node27 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray24, 50, 50); boolean boolean28 = node14.isEquivalentTo(node27); com.google.javascript.rhino.Node node29 = new com.google.javascript.rhino.Node(50, node27); com.google.javascript.rhino.Node node31 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node32 = com.google.javascript.jscomp.NodeUtil.newExpr(node31); boolean boolean33 = node31.isScript(); com.google.javascript.rhino.Node node34 = node29.useSourceInfoIfMissingFrom(node31); com.google.javascript.rhino.Node node35 = assertionFunctionSpec11.getAssertedParam(node34); boolean boolean36 = node35.isDec(); int int37 = node35.getLineno(); node35.setSourceFileForTesting("true"); java.lang.String str40 = com.google.javascript.jscomp.NodeUtil.getSourceName(node35); com.google.javascript.rhino.Node node43 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean44 = node43.isLabelName(); java.util.Set<java.lang.String> strSet45 = node43.getDirectives(); com.google.javascript.rhino.Node node47 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean48 = node47.isLabelName(); com.google.javascript.rhino.Node[] nodeArray49 = new com.google.javascript.rhino.Node[] { node43, node47 }; com.google.javascript.rhino.Node node52 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray49, 50, 50); com.google.javascript.rhino.Node node54 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node52.addChildToFront(node54); com.google.javascript.rhino.Node node56 = node54.detachFromParent(); int int57 = node35.getIndexOfChild(node54); boolean boolean58 = strSet8.remove((java.lang.Object) int57); java.lang.Object[] objArray59 = strSet8.toArray(); org.junit.Assert.assertNull(str1); org.junit.Assert.assertTrue("'" + boolean2 + "' != '" + false + "'", boolean2 == false); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertEquals("'" + str4 + "' != '" + "JSDocInfo" + "'", str4, "JSDocInfo"); org.junit.Assert.assertNull(jSTypeExpression5); org.junit.Assert.assertNotNull(strSet8); org.junit.Assert.assertTrue("'" + int9 + "' != '" + 0 + "'", int9 == 0); org.junit.Assert.assertNotNull(node14); org.junit.Assert.assertTrue("'" + boolean15 + "' != '" + false + "'", boolean15 == false); org.junit.Assert.assertNotNull(node18); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNull(strSet20); org.junit.Assert.assertNotNull(node22); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + false + "'", boolean23 == false); org.junit.Assert.assertNotNull(nodeArray24); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(node31); org.junit.Assert.assertNotNull(node32); org.junit.Assert.assertTrue("'" + boolean33 + "' != '" + false + "'", boolean33 == false); org.junit.Assert.assertNotNull(node34); org.junit.Assert.assertNotNull(node35); org.junit.Assert.assertTrue("'" + boolean36 + "' != '" + false + "'", boolean36 == false); org.junit.Assert.assertTrue("'" + int37 + "' != '" + (-1) + "'", int37 == (-1)); org.junit.Assert.assertEquals("'" + str40 + "' != '" + "true" + "'", str40, "true"); org.junit.Assert.assertNotNull(node43); org.junit.Assert.assertTrue("'" + boolean44 + "' != '" + false + "'", boolean44 == false); org.junit.Assert.assertNull(strSet45); org.junit.Assert.assertNotNull(node47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(nodeArray49); org.junit.Assert.assertNotNull(node54); org.junit.Assert.assertNotNull(node56); org.junit.Assert.assertTrue("'" + int57 + "' != '" + (-1) + "'", int57 == (-1)); org.junit.Assert.assertTrue("'" + boolean58 + "' != '" + false + "'", boolean58 == false); org.junit.Assert.assertNotNull(objArray59); org.junit.Assert.assertEquals(java.util.Arrays.deepToString(objArray59), "[]"); org.junit.Assert.assertEquals(java.util.Arrays.toString(objArray59), "[]"); } @Test public void test4466() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4466"); com.google.javascript.rhino.Node node2 = new com.google.javascript.rhino.Node((int) (short) 100); java.lang.String str3 = node2.getSourceFileName(); com.google.javascript.rhino.Node node4 = node2.cloneTree(); com.google.javascript.rhino.Node node7 = new com.google.javascript.rhino.Node(43, node2, 0, 15); com.google.javascript.rhino.JSDocInfo jSDocInfo8 = node7.getJSDocInfo(); com.google.javascript.rhino.JSTypeExpression jSTypeExpression10 = new com.google.javascript.rhino.JSTypeExpression(node7, "STRING STRING Not declared as a constructor"); // The following exception was thrown during execution in test generation try { com.google.javascript.rhino.Node node11 = com.google.javascript.jscomp.NodeUtil.getRootOfQualifiedName(node7); org.junit.Assert.fail("Expected exception of type java.lang.IllegalStateException; message: null"); } catch (java.lang.IllegalStateException e) { // Expected exception. } org.junit.Assert.assertNull(str3); org.junit.Assert.assertNotNull(node4); org.junit.Assert.assertNull(jSDocInfo8); } @Test public void test4467() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4467"); com.google.javascript.rhino.Node node2 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean3 = node2.isLabelName(); java.util.Set<java.lang.String> strSet4 = node2.getDirectives(); com.google.javascript.rhino.Node node6 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean7 = node6.isLabelName(); com.google.javascript.rhino.Node[] nodeArray8 = new com.google.javascript.rhino.Node[] { node2, node6 }; com.google.javascript.rhino.Node node11 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray8, 50, 50); com.google.javascript.rhino.Node node13 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node11.addChildToFront(node13); boolean boolean15 = node13.isDefaultCase(); com.google.javascript.rhino.Node node16 = node13.getParent(); boolean boolean17 = node13.isSetterDef(); boolean boolean18 = node13.isReturn(); int int20 = node13.getIntProp((int) (short) 100); java.lang.String str21 = com.google.javascript.jscomp.NodeUtil.getSourceName(node13); com.google.javascript.rhino.Node node24 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean25 = node24.isLabelName(); java.util.Set<java.lang.String> strSet26 = node24.getDirectives(); com.google.javascript.rhino.Node node28 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean29 = node28.isLabelName(); com.google.javascript.rhino.Node[] nodeArray30 = new com.google.javascript.rhino.Node[] { node24, node28 }; com.google.javascript.rhino.Node node33 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray30, 50, 50); boolean boolean34 = node33.hasOneChild(); node13.addChildToFront(node33); java.lang.Iterable<com.google.javascript.rhino.Node> nodeIterable36 = node13.children(); java.lang.Object obj38 = node13.getProp(13); org.junit.Assert.assertNotNull(node2); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertNull(strSet4); org.junit.Assert.assertNotNull(node6); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertNotNull(nodeArray8); org.junit.Assert.assertNotNull(node13); org.junit.Assert.assertTrue("'" + boolean15 + "' != '" + false + "'", boolean15 == false); org.junit.Assert.assertNotNull(node16); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertTrue("'" + int20 + "' != '" + 0 + "'", int20 == 0); org.junit.Assert.assertNull(str21); org.junit.Assert.assertNotNull(node24); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); org.junit.Assert.assertNull(strSet26); org.junit.Assert.assertNotNull(node28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(nodeArray30); org.junit.Assert.assertTrue("'" + boolean34 + "' != '" + false + "'", boolean34 == false); org.junit.Assert.assertNotNull(nodeIterable36); org.junit.Assert.assertNull(obj38); } @Test public void test4468() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4468"); com.google.javascript.jscomp.CodingConvention.SubclassType subclassType2 = com.google.javascript.jscomp.CodingConvention.SubclassType.MIXIN; com.google.javascript.rhino.Node node5 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean6 = node5.isLabelName(); java.util.Set<java.lang.String> strSet7 = node5.getDirectives(); com.google.javascript.rhino.Node node9 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean10 = node9.isLabelName(); com.google.javascript.rhino.Node[] nodeArray11 = new com.google.javascript.rhino.Node[] { node5, node9 }; com.google.javascript.rhino.Node node14 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray11, 50, 50); com.google.javascript.rhino.Node node16 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node14.addChildToFront(node16); boolean boolean18 = node14.isNew(); node14.setLineno((int) (short) 10); com.google.javascript.rhino.Node node22 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node23 = com.google.javascript.jscomp.NodeUtil.newExpr(node22); com.google.javascript.jscomp.CodingConvention.SubclassRelationship subclassRelationship24 = new com.google.javascript.jscomp.CodingConvention.SubclassRelationship(subclassType2, node14, node23); boolean boolean25 = node14.isWith(); boolean boolean26 = node14.isInc(); boolean boolean27 = com.google.javascript.jscomp.NodeUtil.isSymmetricOperation(node14); node14.putBooleanProp((int) (byte) 1, true); com.google.javascript.rhino.Node node33 = new com.google.javascript.rhino.Node(42, node14, 8, 23); com.google.javascript.rhino.Node node36 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean37 = node36.isLabelName(); java.util.Set<java.lang.String> strSet38 = node36.getDirectives(); com.google.javascript.rhino.Node node40 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean41 = node40.isLabelName(); com.google.javascript.rhino.Node[] nodeArray42 = new com.google.javascript.rhino.Node[] { node36, node40 }; com.google.javascript.rhino.Node node45 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray42, 50, 50); com.google.javascript.rhino.Node node47 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node45.addChildToFront(node47); boolean boolean49 = node45.isNew(); com.google.javascript.rhino.Node node51 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node52 = node45.useSourceInfoFrom(node51); node52.setLineno((int) (byte) 1); java.lang.Iterable<com.google.javascript.rhino.Node> nodeIterable55 = node52.siblings(); com.google.javascript.rhino.Node node56 = new com.google.javascript.rhino.Node(0, node33, node52); boolean boolean57 = node56.isNumber(); boolean boolean58 = node56.isRegExp(); org.junit.Assert.assertTrue("'" + subclassType2 + "' != '" + com.google.javascript.jscomp.CodingConvention.SubclassType.MIXIN + "'", subclassType2.equals(com.google.javascript.jscomp.CodingConvention.SubclassType.MIXIN)); org.junit.Assert.assertNotNull(node5); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNull(strSet7); org.junit.Assert.assertNotNull(node9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNotNull(nodeArray11); org.junit.Assert.assertNotNull(node16); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(node22); org.junit.Assert.assertNotNull(node23); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); org.junit.Assert.assertTrue("'" + boolean26 + "' != '" + false + "'", boolean26 == false); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(node36); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNull(strSet38); org.junit.Assert.assertNotNull(node40); org.junit.Assert.assertTrue("'" + boolean41 + "' != '" + false + "'", boolean41 == false); org.junit.Assert.assertNotNull(nodeArray42); org.junit.Assert.assertNotNull(node47); org.junit.Assert.assertTrue("'" + boolean49 + "' != '" + false + "'", boolean49 == false); org.junit.Assert.assertNotNull(node51); org.junit.Assert.assertNotNull(node52); org.junit.Assert.assertNotNull(nodeIterable55); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertTrue("'" + boolean58 + "' != '" + false + "'", boolean58 == false); } @Test public void test4469() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4469"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.ErrorReporter errorReporter2 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry3 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter2); com.google.javascript.rhino.jstype.ObjectType objectType4 = null; com.google.javascript.rhino.jstype.JSType jSType5 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray6 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList7 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean8 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList7, jSTypeArray6); com.google.javascript.rhino.jstype.JSType jSType9 = jSTypeRegistry3.createFunctionTypeWithVarArgs(objectType4, jSType5, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList7); boolean boolean10 = jSType9.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter12 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry13 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter12); com.google.javascript.rhino.jstype.ObjectType objectType14 = null; com.google.javascript.rhino.jstype.JSType jSType15 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray16 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList17 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean18 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList17, jSTypeArray16); com.google.javascript.rhino.jstype.JSType jSType19 = jSTypeRegistry13.createFunctionTypeWithVarArgs(objectType14, jSType15, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList17); boolean boolean20 = jSType19.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType21 = jSType19.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter22 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry23 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter22); com.google.javascript.rhino.jstype.ObjectType objectType24 = null; com.google.javascript.rhino.jstype.JSType jSType25 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray26 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList27 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean28 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList27, jSTypeArray26); com.google.javascript.rhino.jstype.JSType jSType29 = jSTypeRegistry23.createFunctionTypeWithVarArgs(objectType24, jSType25, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList27); boolean boolean30 = jSType29.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType31 = jSType29.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter32 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry33 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter32); com.google.javascript.rhino.jstype.ObjectType objectType34 = null; com.google.javascript.rhino.jstype.JSType jSType35 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray36 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList37 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean38 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList37, jSTypeArray36); com.google.javascript.rhino.jstype.JSType jSType39 = jSTypeRegistry33.createFunctionTypeWithVarArgs(objectType34, jSType35, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList37); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); boolean boolean48 = jSType47.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType49 = jSType47.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter50 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry51 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter50); com.google.javascript.rhino.jstype.ObjectType objectType52 = null; com.google.javascript.rhino.jstype.JSType jSType53 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray54 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList55 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean56 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList55, jSTypeArray54); com.google.javascript.rhino.jstype.JSType jSType57 = jSTypeRegistry51.createFunctionTypeWithVarArgs(objectType52, jSType53, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList55); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); boolean boolean66 = jSType65.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType67 = jSType65.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray68 = new com.google.javascript.rhino.jstype.JSType[] { jSType21, jSType29, jSType35, jSType49, jSType57, objectType67 }; com.google.javascript.rhino.jstype.FunctionType functionType69 = jSTypeRegistry1.createConstructorType(jSType9, false, jSTypeArray68); boolean boolean70 = functionType69.hasReferenceName(); boolean boolean71 = functionType69.isNoType(); boolean boolean72 = functionType69.isNumberValueType(); com.google.javascript.rhino.Node node73 = functionType69.getRootNode(); com.google.javascript.rhino.Node node74 = functionType69.getParametersNode(); java.lang.Iterable<com.google.javascript.rhino.jstype.ObjectType> objectTypeIterable75 = functionType69.getImplementedInterfaces(); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet76 = functionType69.getPossibleToBooleanOutcomes(); boolean boolean78 = functionType69.equals((java.lang.Object) 0.0f); org.junit.Assert.assertNotNull(jSTypeArray6); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSType9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNotNull(jSTypeArray16); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSType19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(jSType21); org.junit.Assert.assertNotNull(jSTypeArray26); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(jSType31); org.junit.Assert.assertNotNull(jSTypeArray36); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(jSType49); org.junit.Assert.assertNotNull(jSTypeArray54); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertNotNull(objectType67); org.junit.Assert.assertNotNull(jSTypeArray68); org.junit.Assert.assertNotNull(functionType69); org.junit.Assert.assertTrue("'" + boolean70 + "' != '" + false + "'", boolean70 == false); org.junit.Assert.assertTrue("'" + boolean71 + "' != '" + false + "'", boolean71 == false); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertNull(node73); org.junit.Assert.assertNotNull(node74); org.junit.Assert.assertNotNull(objectTypeIterable75); org.junit.Assert.assertTrue("'" + booleanLiteralSet76 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.TRUE + "'", booleanLiteralSet76.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.TRUE)); org.junit.Assert.assertTrue("'" + boolean78 + "' != '" + false + "'", boolean78 == false); } @Test public void test4470() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4470"); com.google.javascript.rhino.Node node2 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean3 = node2.isLabelName(); com.google.javascript.rhino.Node node6 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean7 = node6.isLabelName(); java.util.Set<java.lang.String> strSet8 = node6.getDirectives(); com.google.javascript.rhino.Node node10 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean11 = node10.isLabelName(); com.google.javascript.rhino.Node[] nodeArray12 = new com.google.javascript.rhino.Node[] { node6, node10 }; com.google.javascript.rhino.Node node15 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray12, 50, 50); boolean boolean16 = node2.isEquivalentTo(node15); com.google.javascript.rhino.Node node17 = new com.google.javascript.rhino.Node(50, node15); com.google.javascript.rhino.JSTypeExpression jSTypeExpression19 = new com.google.javascript.rhino.JSTypeExpression(node17, "STRING Not declared as a constructor"); com.google.javascript.rhino.Node node20 = jSTypeExpression19.getRoot(); boolean boolean21 = jSTypeExpression19.isVarArgs(); boolean boolean22 = jSTypeExpression19.isVarArgs(); java.lang.Class<?> wildcardClass23 = jSTypeExpression19.getClass(); org.junit.Assert.assertNotNull(node2); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertNotNull(node6); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertNull(strSet8); org.junit.Assert.assertNotNull(node10); org.junit.Assert.assertTrue("'" + boolean11 + "' != '" + false + "'", boolean11 == false); org.junit.Assert.assertNotNull(nodeArray12); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertNotNull(node20); org.junit.Assert.assertTrue("'" + boolean21 + "' != '" + false + "'", boolean21 == false); org.junit.Assert.assertTrue("'" + boolean22 + "' != '" + false + "'", boolean22 == false); org.junit.Assert.assertNotNull(wildcardClass23); } @Test public void test4471() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4471"); com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec assertionFunctionSpec1 = new com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec("Not declared as a type name"); java.lang.String str2 = assertionFunctionSpec1.getFunctionName(); com.google.javascript.rhino.Node node5 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean6 = node5.isLabelName(); java.util.Set<java.lang.String> strSet7 = node5.getDirectives(); com.google.javascript.rhino.Node node9 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean10 = node9.isLabelName(); com.google.javascript.rhino.Node[] nodeArray11 = new com.google.javascript.rhino.Node[] { node5, node9 }; com.google.javascript.rhino.Node node14 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray11, 50, 50); com.google.javascript.rhino.Node node16 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node14.addChildToFront(node16); java.lang.Object obj19 = node14.getProp(48); boolean boolean20 = node14.isGetProp(); boolean boolean21 = node14.isName(); boolean boolean22 = node14.isVoid(); com.google.javascript.rhino.Node node23 = assertionFunctionSpec1.getAssertedParam(node14); node23.removeProp(52); boolean boolean26 = node23.isBreak(); org.junit.Assert.assertEquals("'" + str2 + "' != '" + "Not declared as a type name" + "'", str2, "Not declared as a type name"); org.junit.Assert.assertNotNull(node5); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNull(strSet7); org.junit.Assert.assertNotNull(node9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNotNull(nodeArray11); org.junit.Assert.assertNotNull(node16); org.junit.Assert.assertNull(obj19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertTrue("'" + boolean21 + "' != '" + false + "'", boolean21 == false); org.junit.Assert.assertTrue("'" + boolean22 + "' != '" + false + "'", boolean22 == false); org.junit.Assert.assertNotNull(node23); org.junit.Assert.assertTrue("'" + boolean26 + "' != '" + false + "'", boolean26 == false); } @Test public void test4472() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4472"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); jSTypeRegistry1.incrementGeneration(); jSTypeRegistry1.identifyNonNullableName(""); com.google.javascript.rhino.jstype.StaticScope<com.google.javascript.rhino.jstype.JSType> jSTypeStaticScope11 = null; com.google.javascript.rhino.jstype.JSType jSType16 = jSTypeRegistry1.getType(jSTypeStaticScope11, "java.io.IOException: java.io.IOException: ", "function (): {246669154}", 36, 6); com.google.javascript.rhino.jstype.StaticScope<com.google.javascript.rhino.jstype.JSType> jSTypeStaticScope17 = null; // The following exception was thrown during execution in test generation try { jSTypeRegistry1.resolveTypesInScope(jSTypeStaticScope17); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertNotNull(jSType16); } @Test public void test4473() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4473"); com.google.javascript.rhino.Node node3 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean4 = node3.isLabelName(); java.util.Set<java.lang.String> strSet5 = node3.getDirectives(); com.google.javascript.rhino.Node node7 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean8 = node7.isLabelName(); com.google.javascript.rhino.Node[] nodeArray9 = new com.google.javascript.rhino.Node[] { node3, node7 }; com.google.javascript.rhino.Node node12 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray9, 50, 50); com.google.javascript.rhino.Node node14 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node12.addChildToFront(node14); boolean boolean16 = node14.isDefaultCase(); com.google.javascript.rhino.Node node17 = node14.getParent(); com.google.javascript.rhino.Node node20 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean21 = node20.isLabelName(); java.util.Set<java.lang.String> strSet22 = node20.getDirectives(); com.google.javascript.rhino.Node node24 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean25 = node24.isLabelName(); com.google.javascript.rhino.Node[] nodeArray26 = new com.google.javascript.rhino.Node[] { node20, node24 }; com.google.javascript.rhino.Node node29 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray26, 50, 50); com.google.javascript.rhino.Node node31 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node29.addChildToFront(node31); boolean boolean33 = node29.isNew(); com.google.javascript.rhino.JSDocInfo jSDocInfo34 = node29.getJSDocInfo(); com.google.javascript.rhino.Node node37 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean38 = node37.isLabelName(); java.util.Set<java.lang.String> strSet39 = node37.getDirectives(); com.google.javascript.rhino.Node node41 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean42 = node41.isLabelName(); com.google.javascript.rhino.Node[] nodeArray43 = new com.google.javascript.rhino.Node[] { node37, node41 }; com.google.javascript.rhino.Node node46 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray43, 50, 50); com.google.javascript.rhino.Node node48 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node46.addChildToFront(node48); com.google.javascript.rhino.Node node50 = node48.detachFromParent(); com.google.javascript.rhino.Node node53 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean54 = node53.isLabelName(); java.util.Set<java.lang.String> strSet55 = node53.getDirectives(); com.google.javascript.rhino.Node node57 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean58 = node57.isLabelName(); com.google.javascript.rhino.Node[] nodeArray59 = new com.google.javascript.rhino.Node[] { node53, node57 }; com.google.javascript.rhino.Node node62 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray59, 50, 50); com.google.javascript.rhino.Node node64 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node62.addChildToFront(node64); boolean boolean66 = node62.isNew(); com.google.javascript.rhino.Node node68 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node69 = node62.useSourceInfoFrom(node68); boolean boolean70 = node62.isFromExterns(); com.google.javascript.rhino.Node node71 = new com.google.javascript.rhino.Node((int) (byte) 100, node17, node29, node48, node62); com.google.javascript.rhino.Node node72 = node48.cloneTree(); boolean boolean73 = node72.wasEmptyNode(); boolean boolean74 = node72.isVoid(); boolean boolean75 = node72.isThis(); node72.setLength((int) (byte) 100); org.junit.Assert.assertNotNull(node3); org.junit.Assert.assertTrue("'" + boolean4 + "' != '" + false + "'", boolean4 == false); org.junit.Assert.assertNull(strSet5); org.junit.Assert.assertNotNull(node7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(nodeArray9); org.junit.Assert.assertNotNull(node14); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertNotNull(node17); org.junit.Assert.assertNotNull(node20); org.junit.Assert.assertTrue("'" + boolean21 + "' != '" + false + "'", boolean21 == false); org.junit.Assert.assertNull(strSet22); org.junit.Assert.assertNotNull(node24); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); org.junit.Assert.assertNotNull(nodeArray26); org.junit.Assert.assertNotNull(node31); org.junit.Assert.assertTrue("'" + boolean33 + "' != '" + false + "'", boolean33 == false); org.junit.Assert.assertNull(jSDocInfo34); org.junit.Assert.assertNotNull(node37); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNull(strSet39); org.junit.Assert.assertNotNull(node41); org.junit.Assert.assertTrue("'" + boolean42 + "' != '" + false + "'", boolean42 == false); org.junit.Assert.assertNotNull(nodeArray43); org.junit.Assert.assertNotNull(node48); org.junit.Assert.assertNotNull(node50); org.junit.Assert.assertNotNull(node53); org.junit.Assert.assertTrue("'" + boolean54 + "' != '" + false + "'", boolean54 == false); org.junit.Assert.assertNull(strSet55); org.junit.Assert.assertNotNull(node57); org.junit.Assert.assertTrue("'" + boolean58 + "' != '" + false + "'", boolean58 == false); org.junit.Assert.assertNotNull(nodeArray59); org.junit.Assert.assertNotNull(node64); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertNotNull(node68); org.junit.Assert.assertNotNull(node69); org.junit.Assert.assertTrue("'" + boolean70 + "' != '" + false + "'", boolean70 == false); org.junit.Assert.assertNotNull(node72); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertTrue("'" + boolean74 + "' != '" + false + "'", boolean74 == false); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); } @Test public void test4474() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4474"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.ErrorReporter errorReporter2 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry3 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter2); com.google.javascript.rhino.jstype.ObjectType objectType4 = null; com.google.javascript.rhino.jstype.JSType jSType5 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray6 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList7 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean8 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList7, jSTypeArray6); com.google.javascript.rhino.jstype.JSType jSType9 = jSTypeRegistry3.createFunctionTypeWithVarArgs(objectType4, jSType5, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList7); boolean boolean10 = jSType9.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter12 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry13 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter12); com.google.javascript.rhino.jstype.ObjectType objectType14 = null; com.google.javascript.rhino.jstype.JSType jSType15 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray16 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList17 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean18 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList17, jSTypeArray16); com.google.javascript.rhino.jstype.JSType jSType19 = jSTypeRegistry13.createFunctionTypeWithVarArgs(objectType14, jSType15, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList17); boolean boolean20 = jSType19.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType21 = jSType19.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter22 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry23 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter22); com.google.javascript.rhino.jstype.ObjectType objectType24 = null; com.google.javascript.rhino.jstype.JSType jSType25 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray26 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList27 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean28 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList27, jSTypeArray26); com.google.javascript.rhino.jstype.JSType jSType29 = jSTypeRegistry23.createFunctionTypeWithVarArgs(objectType24, jSType25, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList27); boolean boolean30 = jSType29.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType31 = jSType29.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter32 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry33 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter32); com.google.javascript.rhino.jstype.ObjectType objectType34 = null; com.google.javascript.rhino.jstype.JSType jSType35 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray36 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList37 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean38 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList37, jSTypeArray36); com.google.javascript.rhino.jstype.JSType jSType39 = jSTypeRegistry33.createFunctionTypeWithVarArgs(objectType34, jSType35, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList37); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); boolean boolean48 = jSType47.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType49 = jSType47.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter50 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry51 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter50); com.google.javascript.rhino.jstype.ObjectType objectType52 = null; com.google.javascript.rhino.jstype.JSType jSType53 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray54 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList55 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean56 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList55, jSTypeArray54); com.google.javascript.rhino.jstype.JSType jSType57 = jSTypeRegistry51.createFunctionTypeWithVarArgs(objectType52, jSType53, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList55); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); boolean boolean66 = jSType65.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType67 = jSType65.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray68 = new com.google.javascript.rhino.jstype.JSType[] { jSType21, jSType29, jSType35, jSType49, jSType57, objectType67 }; com.google.javascript.rhino.jstype.FunctionType functionType69 = jSTypeRegistry1.createConstructorType(jSType9, false, jSTypeArray68); boolean boolean70 = functionType69.hasReferenceName(); boolean boolean71 = functionType69.isNoType(); boolean boolean72 = functionType69.isNumberObjectType(); boolean boolean73 = functionType69.isNoResolvedType(); com.google.javascript.rhino.jstype.TemplateType templateType74 = functionType69.toMaybeTemplateType(); boolean boolean75 = functionType69.matchesNumberContext(); org.junit.Assert.assertNotNull(jSTypeArray6); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSType9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNotNull(jSTypeArray16); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSType19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(jSType21); org.junit.Assert.assertNotNull(jSTypeArray26); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(jSType31); org.junit.Assert.assertNotNull(jSTypeArray36); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(jSType49); org.junit.Assert.assertNotNull(jSTypeArray54); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertNotNull(objectType67); org.junit.Assert.assertNotNull(jSTypeArray68); org.junit.Assert.assertNotNull(functionType69); org.junit.Assert.assertTrue("'" + boolean70 + "' != '" + false + "'", boolean70 == false); org.junit.Assert.assertTrue("'" + boolean71 + "' != '" + false + "'", boolean71 == false); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNull(templateType74); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); } @Test public void test4475() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4475"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.ErrorReporter errorReporter2 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry3 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter2); com.google.javascript.rhino.jstype.ObjectType objectType4 = null; com.google.javascript.rhino.jstype.JSType jSType5 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray6 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList7 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean8 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList7, jSTypeArray6); com.google.javascript.rhino.jstype.JSType jSType9 = jSTypeRegistry3.createFunctionTypeWithVarArgs(objectType4, jSType5, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList7); boolean boolean10 = jSType9.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter12 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry13 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter12); com.google.javascript.rhino.jstype.ObjectType objectType14 = null; com.google.javascript.rhino.jstype.JSType jSType15 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray16 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList17 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean18 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList17, jSTypeArray16); com.google.javascript.rhino.jstype.JSType jSType19 = jSTypeRegistry13.createFunctionTypeWithVarArgs(objectType14, jSType15, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList17); boolean boolean20 = jSType19.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType21 = jSType19.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter22 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry23 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter22); com.google.javascript.rhino.jstype.ObjectType objectType24 = null; com.google.javascript.rhino.jstype.JSType jSType25 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray26 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList27 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean28 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList27, jSTypeArray26); com.google.javascript.rhino.jstype.JSType jSType29 = jSTypeRegistry23.createFunctionTypeWithVarArgs(objectType24, jSType25, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList27); boolean boolean30 = jSType29.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType31 = jSType29.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter32 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry33 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter32); com.google.javascript.rhino.jstype.ObjectType objectType34 = null; com.google.javascript.rhino.jstype.JSType jSType35 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray36 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList37 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean38 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList37, jSTypeArray36); com.google.javascript.rhino.jstype.JSType jSType39 = jSTypeRegistry33.createFunctionTypeWithVarArgs(objectType34, jSType35, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList37); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); boolean boolean48 = jSType47.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType49 = jSType47.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter50 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry51 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter50); com.google.javascript.rhino.jstype.ObjectType objectType52 = null; com.google.javascript.rhino.jstype.JSType jSType53 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray54 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList55 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean56 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList55, jSTypeArray54); com.google.javascript.rhino.jstype.JSType jSType57 = jSTypeRegistry51.createFunctionTypeWithVarArgs(objectType52, jSType53, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList55); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); boolean boolean66 = jSType65.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType67 = jSType65.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray68 = new com.google.javascript.rhino.jstype.JSType[] { jSType21, jSType29, jSType35, jSType49, jSType57, objectType67 }; com.google.javascript.rhino.jstype.FunctionType functionType69 = jSTypeRegistry1.createConstructorType(jSType9, false, jSTypeArray68); com.google.javascript.rhino.jstype.JSType jSType70 = functionType69.unboxesTo(); boolean boolean71 = functionType69.isEnumType(); boolean boolean72 = functionType69.isArrayType(); boolean boolean73 = functionType69.isNullable(); com.google.javascript.rhino.jstype.JSType jSType74 = functionType69.getTypeOfThis(); boolean boolean75 = jSType74.isOrdinaryFunction(); org.junit.Assert.assertNotNull(jSTypeArray6); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSType9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNotNull(jSTypeArray16); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSType19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(jSType21); org.junit.Assert.assertNotNull(jSTypeArray26); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(jSType31); org.junit.Assert.assertNotNull(jSTypeArray36); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(jSType49); org.junit.Assert.assertNotNull(jSTypeArray54); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertNotNull(objectType67); org.junit.Assert.assertNotNull(jSTypeArray68); org.junit.Assert.assertNotNull(functionType69); org.junit.Assert.assertNull(jSType70); org.junit.Assert.assertTrue("'" + boolean71 + "' != '" + false + "'", boolean71 == false); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNotNull(jSType74); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); } @Test public void test4476() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4476"); com.google.javascript.rhino.Node node2 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean3 = node2.isLabelName(); java.util.Set<java.lang.String> strSet4 = node2.getDirectives(); com.google.javascript.rhino.Node node6 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean7 = node6.isLabelName(); com.google.javascript.rhino.Node[] nodeArray8 = new com.google.javascript.rhino.Node[] { node2, node6 }; com.google.javascript.rhino.Node node11 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray8, 50, 50); com.google.javascript.rhino.Node node13 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node11.addChildToFront(node13); boolean boolean15 = node11.isNew(); com.google.javascript.rhino.Node node17 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node18 = node11.useSourceInfoFrom(node17); int int19 = node17.getSourcePosition(); boolean boolean20 = node17.isComma(); boolean boolean21 = node17.isIf(); com.google.javascript.rhino.Node node24 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean25 = node24.isLabelName(); java.util.Set<java.lang.String> strSet26 = node24.getDirectives(); com.google.javascript.rhino.Node node28 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean29 = node28.isLabelName(); com.google.javascript.rhino.Node[] nodeArray30 = new com.google.javascript.rhino.Node[] { node24, node28 }; com.google.javascript.rhino.Node node33 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray30, 50, 50); com.google.javascript.rhino.Node node35 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node33.addChildToFront(node35); boolean boolean37 = node33.isNoSideEffectsCall(); boolean boolean38 = node33.isName(); boolean boolean39 = node33.isAdd(); boolean boolean40 = node33.isHook(); com.google.javascript.rhino.Node node43 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean44 = node43.isLabelName(); java.util.Set<java.lang.String> strSet45 = node43.getDirectives(); com.google.javascript.rhino.Node node47 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean48 = node47.isLabelName(); com.google.javascript.rhino.Node[] nodeArray49 = new com.google.javascript.rhino.Node[] { node43, node47 }; com.google.javascript.rhino.Node node52 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray49, 50, 50); com.google.javascript.rhino.Node node54 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node52.addChildToFront(node54); boolean boolean56 = node52.isNoSideEffectsCall(); boolean boolean57 = node52.isName(); boolean boolean58 = node52.isAdd(); boolean boolean59 = node52.isHook(); com.google.javascript.rhino.Node node60 = node33.useSourceInfoIfMissingFromForTree(node52); node60.detachChildren(); boolean boolean62 = node60.isFunction(); com.google.javascript.rhino.Node node63 = node17.useSourceInfoIfMissingFrom(node60); boolean boolean64 = node63.isQuotedString(); org.junit.Assert.assertNotNull(node2); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertNull(strSet4); org.junit.Assert.assertNotNull(node6); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertNotNull(nodeArray8); org.junit.Assert.assertNotNull(node13); org.junit.Assert.assertTrue("'" + boolean15 + "' != '" + false + "'", boolean15 == false); org.junit.Assert.assertNotNull(node17); org.junit.Assert.assertNotNull(node18); org.junit.Assert.assertTrue("'" + int19 + "' != '" + (-1) + "'", int19 == (-1)); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertTrue("'" + boolean21 + "' != '" + false + "'", boolean21 == false); org.junit.Assert.assertNotNull(node24); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); org.junit.Assert.assertNull(strSet26); org.junit.Assert.assertNotNull(node28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(nodeArray30); org.junit.Assert.assertNotNull(node35); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertTrue("'" + boolean40 + "' != '" + false + "'", boolean40 == false); org.junit.Assert.assertNotNull(node43); org.junit.Assert.assertTrue("'" + boolean44 + "' != '" + false + "'", boolean44 == false); org.junit.Assert.assertNull(strSet45); org.junit.Assert.assertNotNull(node47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(nodeArray49); org.junit.Assert.assertNotNull(node54); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertTrue("'" + boolean58 + "' != '" + false + "'", boolean58 == false); org.junit.Assert.assertTrue("'" + boolean59 + "' != '" + false + "'", boolean59 == false); org.junit.Assert.assertNotNull(node60); org.junit.Assert.assertTrue("'" + boolean62 + "' != '" + false + "'", boolean62 == false); org.junit.Assert.assertNotNull(node63); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); } @Test public void test4477() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4477"); com.google.javascript.rhino.Node node1 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node2 = com.google.javascript.jscomp.NodeUtil.newExpr(node1); com.google.javascript.rhino.jstype.StaticSourceFile staticSourceFile3 = null; node1.setStaticSourceFile(staticSourceFile3); com.google.javascript.rhino.Node node5 = node1.getParent(); boolean boolean6 = node5.isParamList(); boolean boolean7 = node5.isStringKey(); com.google.javascript.rhino.Node node8 = node5.cloneNode(); boolean boolean9 = com.google.javascript.jscomp.NodeUtil.isSymmetricOperation(node8); com.google.javascript.rhino.Node node13 = new com.google.javascript.rhino.Node(50, 1, 0); com.google.javascript.rhino.Node node16 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean17 = node16.isLabelName(); java.util.Set<java.lang.String> strSet18 = node16.getDirectives(); com.google.javascript.rhino.Node node20 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean21 = node20.isLabelName(); com.google.javascript.rhino.Node[] nodeArray22 = new com.google.javascript.rhino.Node[] { node16, node20 }; com.google.javascript.rhino.Node node25 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray22, 50, 50); com.google.javascript.rhino.Node node27 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node25.addChildToFront(node27); boolean boolean29 = node25.isNew(); com.google.javascript.rhino.JSDocInfo jSDocInfo30 = node25.getJSDocInfo(); node13.addChildrenToFront(node25); com.google.javascript.rhino.Node node32 = node13.removeFirstChild(); com.google.javascript.rhino.JSDocInfo jSDocInfo33 = null; node32.setJSDocInfo(jSDocInfo33); java.util.Collection<com.google.javascript.rhino.Node> nodeCollection35 = com.google.javascript.jscomp.NodeUtil.getVarsDeclaredInBranch(node32); node32.setCharno((int) ' '); node8.addChildrenToFront(node32); boolean boolean39 = node8.isRegExp(); com.google.javascript.rhino.Node node40 = node8.getNext(); // The following exception was thrown during execution in test generation try { int int41 = node40.getCharno(); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(node1); org.junit.Assert.assertNotNull(node2); org.junit.Assert.assertNotNull(node5); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertNotNull(node8); org.junit.Assert.assertTrue("'" + boolean9 + "' != '" + false + "'", boolean9 == false); org.junit.Assert.assertNotNull(node16); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNull(strSet18); org.junit.Assert.assertNotNull(node20); org.junit.Assert.assertTrue("'" + boolean21 + "' != '" + false + "'", boolean21 == false); org.junit.Assert.assertNotNull(nodeArray22); org.junit.Assert.assertNotNull(node27); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNull(jSDocInfo30); org.junit.Assert.assertNotNull(node32); org.junit.Assert.assertNotNull(nodeCollection35); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNull(node40); } @Test public void test4478() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4478"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.ErrorReporter errorReporter2 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry3 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter2); com.google.javascript.rhino.jstype.ObjectType objectType4 = null; com.google.javascript.rhino.jstype.JSType jSType5 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray6 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList7 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean8 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList7, jSTypeArray6); com.google.javascript.rhino.jstype.JSType jSType9 = jSTypeRegistry3.createFunctionTypeWithVarArgs(objectType4, jSType5, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList7); boolean boolean10 = jSType9.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType11 = jSType9.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter12 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry13 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter12); com.google.javascript.rhino.ErrorReporter errorReporter14 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry15 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter14); com.google.javascript.rhino.jstype.ObjectType objectType16 = null; com.google.javascript.rhino.jstype.JSType jSType17 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray18 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList19 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean20 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList19, jSTypeArray18); com.google.javascript.rhino.jstype.JSType jSType21 = jSTypeRegistry15.createFunctionTypeWithVarArgs(objectType16, jSType17, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList19); boolean boolean22 = jSType21.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter24 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry25 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter24); com.google.javascript.rhino.jstype.ObjectType objectType26 = null; com.google.javascript.rhino.jstype.JSType jSType27 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray28 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList29 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean30 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList29, jSTypeArray28); com.google.javascript.rhino.jstype.JSType jSType31 = jSTypeRegistry25.createFunctionTypeWithVarArgs(objectType26, jSType27, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList29); boolean boolean32 = jSType31.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType33 = jSType31.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter34 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry35 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter34); com.google.javascript.rhino.jstype.ObjectType objectType36 = null; com.google.javascript.rhino.jstype.JSType jSType37 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray38 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList39 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean40 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList39, jSTypeArray38); com.google.javascript.rhino.jstype.JSType jSType41 = jSTypeRegistry35.createFunctionTypeWithVarArgs(objectType36, jSType37, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList39); boolean boolean42 = jSType41.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType43 = jSType41.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter44 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry45 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter44); com.google.javascript.rhino.jstype.ObjectType objectType46 = null; com.google.javascript.rhino.jstype.JSType jSType47 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray48 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList49 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean50 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList49, jSTypeArray48); com.google.javascript.rhino.jstype.JSType jSType51 = jSTypeRegistry45.createFunctionTypeWithVarArgs(objectType46, jSType47, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList49); com.google.javascript.rhino.ErrorReporter errorReporter52 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry53 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter52); com.google.javascript.rhino.jstype.ObjectType objectType54 = null; com.google.javascript.rhino.jstype.JSType jSType55 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray56 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList57 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean58 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList57, jSTypeArray56); com.google.javascript.rhino.jstype.JSType jSType59 = jSTypeRegistry53.createFunctionTypeWithVarArgs(objectType54, jSType55, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList57); boolean boolean60 = jSType59.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType61 = jSType59.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter62 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry63 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter62); com.google.javascript.rhino.jstype.ObjectType objectType64 = null; com.google.javascript.rhino.jstype.JSType jSType65 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray66 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList67 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean68 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList67, jSTypeArray66); com.google.javascript.rhino.jstype.JSType jSType69 = jSTypeRegistry63.createFunctionTypeWithVarArgs(objectType64, jSType65, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList67); com.google.javascript.rhino.ErrorReporter errorReporter70 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry71 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter70); com.google.javascript.rhino.jstype.ObjectType objectType72 = null; com.google.javascript.rhino.jstype.JSType jSType73 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray74 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList75 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean76 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList75, jSTypeArray74); com.google.javascript.rhino.jstype.JSType jSType77 = jSTypeRegistry71.createFunctionTypeWithVarArgs(objectType72, jSType73, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList75); boolean boolean78 = jSType77.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType79 = jSType77.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray80 = new com.google.javascript.rhino.jstype.JSType[] { jSType33, jSType41, jSType47, jSType61, jSType69, objectType79 }; com.google.javascript.rhino.jstype.FunctionType functionType81 = jSTypeRegistry13.createConstructorType(jSType21, false, jSTypeArray80); com.google.javascript.rhino.jstype.FunctionType functionType82 = jSTypeRegistry1.createFunctionType(jSType11, jSTypeArray80); com.google.javascript.rhino.jstype.JSType jSType84 = functionType82.getRestrictedTypeGivenToBooleanOutcome(false); boolean boolean85 = jSType84.isFunctionType(); com.google.javascript.rhino.jstype.JSType jSType86 = jSType84.unboxesTo(); org.junit.Assert.assertNotNull(jSTypeArray6); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSType9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNotNull(jSType11); org.junit.Assert.assertNotNull(jSTypeArray18); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(jSType21); org.junit.Assert.assertTrue("'" + boolean22 + "' != '" + false + "'", boolean22 == false); org.junit.Assert.assertNotNull(jSTypeArray28); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(jSType31); org.junit.Assert.assertTrue("'" + boolean32 + "' != '" + false + "'", boolean32 == false); org.junit.Assert.assertNotNull(jSType33); org.junit.Assert.assertNotNull(jSTypeArray38); org.junit.Assert.assertTrue("'" + boolean40 + "' != '" + false + "'", boolean40 == false); org.junit.Assert.assertNotNull(jSType41); org.junit.Assert.assertTrue("'" + boolean42 + "' != '" + false + "'", boolean42 == false); org.junit.Assert.assertNotNull(jSType43); org.junit.Assert.assertNotNull(jSTypeArray48); org.junit.Assert.assertTrue("'" + boolean50 + "' != '" + false + "'", boolean50 == false); org.junit.Assert.assertNotNull(jSType51); org.junit.Assert.assertNotNull(jSTypeArray56); org.junit.Assert.assertTrue("'" + boolean58 + "' != '" + false + "'", boolean58 == false); org.junit.Assert.assertNotNull(jSType59); org.junit.Assert.assertTrue("'" + boolean60 + "' != '" + false + "'", boolean60 == false); org.junit.Assert.assertNotNull(jSType61); org.junit.Assert.assertNotNull(jSTypeArray66); org.junit.Assert.assertTrue("'" + boolean68 + "' != '" + false + "'", boolean68 == false); org.junit.Assert.assertNotNull(jSType69); org.junit.Assert.assertNotNull(jSTypeArray74); org.junit.Assert.assertTrue("'" + boolean76 + "' != '" + false + "'", boolean76 == false); org.junit.Assert.assertNotNull(jSType77); org.junit.Assert.assertTrue("'" + boolean78 + "' != '" + false + "'", boolean78 == false); org.junit.Assert.assertNotNull(objectType79); org.junit.Assert.assertNotNull(jSTypeArray80); org.junit.Assert.assertNotNull(functionType81); org.junit.Assert.assertNotNull(functionType82); org.junit.Assert.assertNotNull(jSType84); org.junit.Assert.assertTrue("'" + boolean85 + "' != '" + false + "'", boolean85 == false); org.junit.Assert.assertNull(jSType86); } @Test public void test4479() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4479"); com.google.javascript.rhino.Node node2 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean3 = node2.isLabelName(); java.util.Set<java.lang.String> strSet4 = node2.getDirectives(); com.google.javascript.rhino.Node node6 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean7 = node6.isLabelName(); com.google.javascript.rhino.Node[] nodeArray8 = new com.google.javascript.rhino.Node[] { node2, node6 }; com.google.javascript.rhino.Node node11 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray8, 50, 50); com.google.javascript.rhino.Node node13 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node11.addChildToFront(node13); boolean boolean15 = node13.isDefaultCase(); com.google.javascript.rhino.Node node16 = node13.getParent(); node13.detachChildren(); com.google.javascript.rhino.Node node20 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean21 = node20.isLabelName(); java.util.Set<java.lang.String> strSet22 = node20.getDirectives(); com.google.javascript.rhino.Node node24 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean25 = node24.isLabelName(); com.google.javascript.rhino.Node[] nodeArray26 = new com.google.javascript.rhino.Node[] { node20, node24 }; com.google.javascript.rhino.Node node29 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray26, 50, 50); com.google.javascript.rhino.Node node31 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node29.addChildToFront(node31); boolean boolean33 = node29.isNew(); java.lang.String[] strArray36 = new java.lang.String[] { "function (): ?", "" }; java.util.LinkedHashSet<java.lang.String> strSet37 = new java.util.LinkedHashSet<java.lang.String>(); boolean boolean38 = java.util.Collections.addAll((java.util.Collection<java.lang.String>) strSet37, strArray36); node29.setDirectives((java.util.Set<java.lang.String>) strSet37); int int40 = node13.getIndexOfChild(node29); com.google.javascript.rhino.Node node43 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean44 = node43.isLabelName(); java.util.Set<java.lang.String> strSet45 = node43.getDirectives(); com.google.javascript.rhino.Node node47 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean48 = node47.isLabelName(); com.google.javascript.rhino.Node[] nodeArray49 = new com.google.javascript.rhino.Node[] { node43, node47 }; com.google.javascript.rhino.Node node52 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray49, 50, 50); com.google.javascript.rhino.Node node54 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node52.addChildToFront(node54); boolean boolean56 = node52.isNew(); com.google.javascript.rhino.JSDocInfo jSDocInfo57 = node52.getJSDocInfo(); com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec assertionFunctionSpec59 = new com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec("Not declared as a constructor"); com.google.javascript.rhino.Node node62 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean63 = node62.isLabelName(); com.google.javascript.rhino.Node node66 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean67 = node66.isLabelName(); java.util.Set<java.lang.String> strSet68 = node66.getDirectives(); com.google.javascript.rhino.Node node70 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean71 = node70.isLabelName(); com.google.javascript.rhino.Node[] nodeArray72 = new com.google.javascript.rhino.Node[] { node66, node70 }; com.google.javascript.rhino.Node node75 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray72, 50, 50); boolean boolean76 = node62.isEquivalentTo(node75); com.google.javascript.rhino.Node node77 = new com.google.javascript.rhino.Node(50, node75); com.google.javascript.rhino.Node node79 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node80 = com.google.javascript.jscomp.NodeUtil.newExpr(node79); boolean boolean81 = node79.isScript(); com.google.javascript.rhino.Node node82 = node77.useSourceInfoIfMissingFrom(node79); com.google.javascript.rhino.Node node83 = assertionFunctionSpec59.getAssertedParam(node82); boolean boolean84 = node83.isDec(); com.google.javascript.jscomp.CodingConvention.Bind bind85 = new com.google.javascript.jscomp.CodingConvention.Bind(node13, node52, node83); boolean boolean86 = node52.isVoid(); boolean boolean87 = node52.isComma(); boolean boolean88 = node52.isFalse(); org.junit.Assert.assertNotNull(node2); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertNull(strSet4); org.junit.Assert.assertNotNull(node6); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertNotNull(nodeArray8); org.junit.Assert.assertNotNull(node13); org.junit.Assert.assertTrue("'" + boolean15 + "' != '" + false + "'", boolean15 == false); org.junit.Assert.assertNotNull(node16); org.junit.Assert.assertNotNull(node20); org.junit.Assert.assertTrue("'" + boolean21 + "' != '" + false + "'", boolean21 == false); org.junit.Assert.assertNull(strSet22); org.junit.Assert.assertNotNull(node24); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); org.junit.Assert.assertNotNull(nodeArray26); org.junit.Assert.assertNotNull(node31); org.junit.Assert.assertTrue("'" + boolean33 + "' != '" + false + "'", boolean33 == false); org.junit.Assert.assertNotNull(strArray36); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + true + "'", boolean38 == true); org.junit.Assert.assertTrue("'" + int40 + "' != '" + (-1) + "'", int40 == (-1)); org.junit.Assert.assertNotNull(node43); org.junit.Assert.assertTrue("'" + boolean44 + "' != '" + false + "'", boolean44 == false); org.junit.Assert.assertNull(strSet45); org.junit.Assert.assertNotNull(node47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(nodeArray49); org.junit.Assert.assertNotNull(node54); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNull(jSDocInfo57); org.junit.Assert.assertNotNull(node62); org.junit.Assert.assertTrue("'" + boolean63 + "' != '" + false + "'", boolean63 == false); org.junit.Assert.assertNotNull(node66); org.junit.Assert.assertTrue("'" + boolean67 + "' != '" + false + "'", boolean67 == false); org.junit.Assert.assertNull(strSet68); org.junit.Assert.assertNotNull(node70); org.junit.Assert.assertTrue("'" + boolean71 + "' != '" + false + "'", boolean71 == false); org.junit.Assert.assertNotNull(nodeArray72); org.junit.Assert.assertTrue("'" + boolean76 + "' != '" + false + "'", boolean76 == false); org.junit.Assert.assertNotNull(node79); org.junit.Assert.assertNotNull(node80); org.junit.Assert.assertTrue("'" + boolean81 + "' != '" + false + "'", boolean81 == false); org.junit.Assert.assertNotNull(node82); org.junit.Assert.assertNotNull(node83); org.junit.Assert.assertTrue("'" + boolean84 + "' != '" + false + "'", boolean84 == false); org.junit.Assert.assertTrue("'" + boolean86 + "' != '" + false + "'", boolean86 == false); org.junit.Assert.assertTrue("'" + boolean87 + "' != '" + false + "'", boolean87 == false); org.junit.Assert.assertTrue("'" + boolean88 + "' != '" + false + "'", boolean88 == false); } @Test public void test4480() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4480"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); boolean boolean8 = jSType7.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter9 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry10 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter9); com.google.javascript.rhino.ErrorReporter errorReporter11 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry12 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter11); com.google.javascript.rhino.jstype.ObjectType objectType13 = null; com.google.javascript.rhino.jstype.JSType jSType14 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray15 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList16 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean17 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList16, jSTypeArray15); com.google.javascript.rhino.jstype.JSType jSType18 = jSTypeRegistry12.createFunctionTypeWithVarArgs(objectType13, jSType14, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList16); boolean boolean19 = jSType18.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter21 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry22 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter21); com.google.javascript.rhino.jstype.ObjectType objectType23 = null; com.google.javascript.rhino.jstype.JSType jSType24 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray25 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList26 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean27 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList26, jSTypeArray25); com.google.javascript.rhino.jstype.JSType jSType28 = jSTypeRegistry22.createFunctionTypeWithVarArgs(objectType23, jSType24, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList26); boolean boolean29 = jSType28.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType30 = jSType28.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter31 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry32 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter31); com.google.javascript.rhino.jstype.ObjectType objectType33 = null; com.google.javascript.rhino.jstype.JSType jSType34 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray35 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList36 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean37 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList36, jSTypeArray35); com.google.javascript.rhino.jstype.JSType jSType38 = jSTypeRegistry32.createFunctionTypeWithVarArgs(objectType33, jSType34, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList36); boolean boolean39 = jSType38.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType40 = jSType38.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter41 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry42 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter41); com.google.javascript.rhino.jstype.ObjectType objectType43 = null; com.google.javascript.rhino.jstype.JSType jSType44 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray45 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList46 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean47 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList46, jSTypeArray45); com.google.javascript.rhino.jstype.JSType jSType48 = jSTypeRegistry42.createFunctionTypeWithVarArgs(objectType43, jSType44, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList46); com.google.javascript.rhino.ErrorReporter errorReporter49 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry50 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter49); com.google.javascript.rhino.jstype.ObjectType objectType51 = null; com.google.javascript.rhino.jstype.JSType jSType52 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray53 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList54 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean55 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList54, jSTypeArray53); com.google.javascript.rhino.jstype.JSType jSType56 = jSTypeRegistry50.createFunctionTypeWithVarArgs(objectType51, jSType52, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList54); boolean boolean57 = jSType56.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType58 = jSType56.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter59 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry60 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter59); com.google.javascript.rhino.jstype.ObjectType objectType61 = null; com.google.javascript.rhino.jstype.JSType jSType62 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray63 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList64 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean65 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList64, jSTypeArray63); com.google.javascript.rhino.jstype.JSType jSType66 = jSTypeRegistry60.createFunctionTypeWithVarArgs(objectType61, jSType62, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList64); com.google.javascript.rhino.ErrorReporter errorReporter67 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry68 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter67); com.google.javascript.rhino.jstype.ObjectType objectType69 = null; com.google.javascript.rhino.jstype.JSType jSType70 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray71 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList72 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean73 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList72, jSTypeArray71); com.google.javascript.rhino.jstype.JSType jSType74 = jSTypeRegistry68.createFunctionTypeWithVarArgs(objectType69, jSType70, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList72); boolean boolean75 = jSType74.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType76 = jSType74.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray77 = new com.google.javascript.rhino.jstype.JSType[] { jSType30, jSType38, jSType44, jSType58, jSType66, objectType76 }; com.google.javascript.rhino.jstype.FunctionType functionType78 = jSTypeRegistry10.createConstructorType(jSType18, false, jSTypeArray77); boolean boolean79 = jSType7.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType78); com.google.javascript.rhino.jstype.FunctionType functionType80 = functionType78.toMaybeFunctionType(); com.google.javascript.rhino.jstype.FunctionType functionType82 = functionType78.getBindReturnType(39); java.lang.Iterable<com.google.javascript.rhino.jstype.ObjectType> objectTypeIterable83 = functionType82.getAllExtendedInterfaces(); boolean boolean85 = functionType82.removeProperty("Node tree inequality:\nTree1:\nINSTANCEOF\n\n\nTree2:\nSTRING Not declared as a constructor\n\n\nSubtree1: INSTANCEOF\n\n\nSubtree2: STRING Not declared as a constructor\n"); com.google.javascript.rhino.JSDocInfo jSDocInfo87 = functionType82.getOwnPropertyJSDocInfo("Named type with empty name component"); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSTypeArray15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(jSType18); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(jSTypeArray25); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(jSType28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(jSType30); org.junit.Assert.assertNotNull(jSTypeArray35); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSType38); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(jSType40); org.junit.Assert.assertNotNull(jSTypeArray45); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(jSType48); org.junit.Assert.assertNotNull(jSTypeArray53); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); org.junit.Assert.assertNotNull(jSType56); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNotNull(jSType58); org.junit.Assert.assertNotNull(jSTypeArray63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(jSType66); org.junit.Assert.assertNotNull(jSTypeArray71); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNotNull(jSType74); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(objectType76); org.junit.Assert.assertNotNull(jSTypeArray77); org.junit.Assert.assertNotNull(functionType78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + true + "'", boolean79 == true); org.junit.Assert.assertNotNull(functionType80); org.junit.Assert.assertNotNull(functionType82); org.junit.Assert.assertNotNull(objectTypeIterable83); org.junit.Assert.assertTrue("'" + boolean85 + "' != '" + false + "'", boolean85 == false); org.junit.Assert.assertNull(jSDocInfo87); } @Test public void test4481() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4481"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.ErrorReporter errorReporter2 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry3 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter2); com.google.javascript.rhino.jstype.ObjectType objectType4 = null; com.google.javascript.rhino.jstype.JSType jSType5 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray6 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList7 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean8 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList7, jSTypeArray6); com.google.javascript.rhino.jstype.JSType jSType9 = jSTypeRegistry3.createFunctionTypeWithVarArgs(objectType4, jSType5, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList7); boolean boolean10 = jSType9.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter12 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry13 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter12); com.google.javascript.rhino.jstype.ObjectType objectType14 = null; com.google.javascript.rhino.jstype.JSType jSType15 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray16 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList17 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean18 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList17, jSTypeArray16); com.google.javascript.rhino.jstype.JSType jSType19 = jSTypeRegistry13.createFunctionTypeWithVarArgs(objectType14, jSType15, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList17); boolean boolean20 = jSType19.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType21 = jSType19.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter22 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry23 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter22); com.google.javascript.rhino.jstype.ObjectType objectType24 = null; com.google.javascript.rhino.jstype.JSType jSType25 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray26 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList27 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean28 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList27, jSTypeArray26); com.google.javascript.rhino.jstype.JSType jSType29 = jSTypeRegistry23.createFunctionTypeWithVarArgs(objectType24, jSType25, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList27); boolean boolean30 = jSType29.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType31 = jSType29.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter32 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry33 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter32); com.google.javascript.rhino.jstype.ObjectType objectType34 = null; com.google.javascript.rhino.jstype.JSType jSType35 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray36 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList37 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean38 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList37, jSTypeArray36); com.google.javascript.rhino.jstype.JSType jSType39 = jSTypeRegistry33.createFunctionTypeWithVarArgs(objectType34, jSType35, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList37); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); boolean boolean48 = jSType47.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType49 = jSType47.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter50 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry51 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter50); com.google.javascript.rhino.jstype.ObjectType objectType52 = null; com.google.javascript.rhino.jstype.JSType jSType53 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray54 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList55 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean56 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList55, jSTypeArray54); com.google.javascript.rhino.jstype.JSType jSType57 = jSTypeRegistry51.createFunctionTypeWithVarArgs(objectType52, jSType53, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList55); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); boolean boolean66 = jSType65.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType67 = jSType65.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray68 = new com.google.javascript.rhino.jstype.JSType[] { jSType21, jSType29, jSType35, jSType49, jSType57, objectType67 }; com.google.javascript.rhino.jstype.FunctionType functionType69 = jSTypeRegistry1.createConstructorType(jSType9, false, jSTypeArray68); boolean boolean70 = functionType69.hasReferenceName(); boolean boolean72 = functionType69.isPropertyInExterns("Not declared as a constructor"); boolean boolean74 = functionType69.isPropertyTypeInferred(""); boolean boolean76 = functionType69.hasProperty(""); boolean boolean77 = functionType69.isNumberObjectType(); com.google.javascript.rhino.JSDocInfo jSDocInfo79 = functionType69.getOwnPropertyJSDocInfo("(function (): {160022603})"); boolean boolean80 = functionType69.hasReferenceName(); com.google.common.collect.ImmutableList<java.lang.String> strList81 = functionType69.getTemplateTypeNames(); java.lang.String str82 = strList81.toString(); com.google.common.collect.ImmutableList<java.lang.String> strList83 = strList81.asList(); org.junit.Assert.assertNotNull(jSTypeArray6); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSType9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNotNull(jSTypeArray16); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSType19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(jSType21); org.junit.Assert.assertNotNull(jSTypeArray26); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(jSType31); org.junit.Assert.assertNotNull(jSTypeArray36); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(jSType49); org.junit.Assert.assertNotNull(jSTypeArray54); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertNotNull(objectType67); org.junit.Assert.assertNotNull(jSTypeArray68); org.junit.Assert.assertNotNull(functionType69); org.junit.Assert.assertTrue("'" + boolean70 + "' != '" + false + "'", boolean70 == false); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertTrue("'" + boolean74 + "' != '" + false + "'", boolean74 == false); org.junit.Assert.assertTrue("'" + boolean76 + "' != '" + false + "'", boolean76 == false); org.junit.Assert.assertTrue("'" + boolean77 + "' != '" + false + "'", boolean77 == false); org.junit.Assert.assertNull(jSDocInfo79); org.junit.Assert.assertTrue("'" + boolean80 + "' != '" + false + "'", boolean80 == false); org.junit.Assert.assertNotNull(strList81); org.junit.Assert.assertEquals("'" + str82 + "' != '" + "[]" + "'", str82, "[]"); org.junit.Assert.assertNotNull(strList83); } @Test public void test4482() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4482"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); boolean boolean8 = jSType7.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter9 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry10 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter9); com.google.javascript.rhino.ErrorReporter errorReporter11 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry12 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter11); com.google.javascript.rhino.jstype.ObjectType objectType13 = null; com.google.javascript.rhino.jstype.JSType jSType14 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray15 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList16 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean17 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList16, jSTypeArray15); com.google.javascript.rhino.jstype.JSType jSType18 = jSTypeRegistry12.createFunctionTypeWithVarArgs(objectType13, jSType14, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList16); boolean boolean19 = jSType18.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter21 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry22 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter21); com.google.javascript.rhino.jstype.ObjectType objectType23 = null; com.google.javascript.rhino.jstype.JSType jSType24 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray25 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList26 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean27 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList26, jSTypeArray25); com.google.javascript.rhino.jstype.JSType jSType28 = jSTypeRegistry22.createFunctionTypeWithVarArgs(objectType23, jSType24, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList26); boolean boolean29 = jSType28.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType30 = jSType28.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter31 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry32 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter31); com.google.javascript.rhino.jstype.ObjectType objectType33 = null; com.google.javascript.rhino.jstype.JSType jSType34 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray35 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList36 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean37 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList36, jSTypeArray35); com.google.javascript.rhino.jstype.JSType jSType38 = jSTypeRegistry32.createFunctionTypeWithVarArgs(objectType33, jSType34, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList36); boolean boolean39 = jSType38.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType40 = jSType38.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter41 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry42 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter41); com.google.javascript.rhino.jstype.ObjectType objectType43 = null; com.google.javascript.rhino.jstype.JSType jSType44 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray45 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList46 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean47 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList46, jSTypeArray45); com.google.javascript.rhino.jstype.JSType jSType48 = jSTypeRegistry42.createFunctionTypeWithVarArgs(objectType43, jSType44, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList46); com.google.javascript.rhino.ErrorReporter errorReporter49 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry50 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter49); com.google.javascript.rhino.jstype.ObjectType objectType51 = null; com.google.javascript.rhino.jstype.JSType jSType52 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray53 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList54 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean55 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList54, jSTypeArray53); com.google.javascript.rhino.jstype.JSType jSType56 = jSTypeRegistry50.createFunctionTypeWithVarArgs(objectType51, jSType52, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList54); boolean boolean57 = jSType56.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType58 = jSType56.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter59 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry60 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter59); com.google.javascript.rhino.jstype.ObjectType objectType61 = null; com.google.javascript.rhino.jstype.JSType jSType62 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray63 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList64 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean65 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList64, jSTypeArray63); com.google.javascript.rhino.jstype.JSType jSType66 = jSTypeRegistry60.createFunctionTypeWithVarArgs(objectType61, jSType62, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList64); com.google.javascript.rhino.ErrorReporter errorReporter67 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry68 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter67); com.google.javascript.rhino.jstype.ObjectType objectType69 = null; com.google.javascript.rhino.jstype.JSType jSType70 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray71 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList72 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean73 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList72, jSTypeArray71); com.google.javascript.rhino.jstype.JSType jSType74 = jSTypeRegistry68.createFunctionTypeWithVarArgs(objectType69, jSType70, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList72); boolean boolean75 = jSType74.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType76 = jSType74.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray77 = new com.google.javascript.rhino.jstype.JSType[] { jSType30, jSType38, jSType44, jSType58, jSType66, objectType76 }; com.google.javascript.rhino.jstype.FunctionType functionType78 = jSTypeRegistry10.createConstructorType(jSType18, false, jSTypeArray77); boolean boolean79 = jSType7.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType78); com.google.javascript.rhino.jstype.FunctionType functionType80 = functionType78.toMaybeFunctionType(); com.google.javascript.rhino.JSDocInfo jSDocInfo81 = null; functionType78.setJSDocInfo(jSDocInfo81); java.lang.String str83 = functionType78.getDisplayName(); boolean boolean84 = functionType78.isConstructor(); boolean boolean85 = functionType78.isNativeObjectType(); boolean boolean86 = functionType78.isStringValueType(); boolean boolean88 = functionType78.removeProperty(""); com.google.javascript.rhino.jstype.ObjectType objectType89 = functionType78.dereference(); boolean boolean90 = functionType78.isInterface(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSTypeArray15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(jSType18); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(jSTypeArray25); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(jSType28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(jSType30); org.junit.Assert.assertNotNull(jSTypeArray35); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSType38); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(jSType40); org.junit.Assert.assertNotNull(jSTypeArray45); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(jSType48); org.junit.Assert.assertNotNull(jSTypeArray53); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); org.junit.Assert.assertNotNull(jSType56); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNotNull(jSType58); org.junit.Assert.assertNotNull(jSTypeArray63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(jSType66); org.junit.Assert.assertNotNull(jSTypeArray71); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNotNull(jSType74); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(objectType76); org.junit.Assert.assertNotNull(jSTypeArray77); org.junit.Assert.assertNotNull(functionType78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + true + "'", boolean79 == true); org.junit.Assert.assertNotNull(functionType80); org.junit.Assert.assertNull(str83); org.junit.Assert.assertTrue("'" + boolean84 + "' != '" + true + "'", boolean84 == true); org.junit.Assert.assertTrue("'" + boolean85 + "' != '" + false + "'", boolean85 == false); org.junit.Assert.assertTrue("'" + boolean86 + "' != '" + false + "'", boolean86 == false); org.junit.Assert.assertTrue("'" + boolean88 + "' != '" + false + "'", boolean88 == false); org.junit.Assert.assertNotNull(objectType89); org.junit.Assert.assertTrue("'" + boolean90 + "' != '" + false + "'", boolean90 == false); } @Test public void test4483() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4483"); com.google.javascript.rhino.JSDocInfo jSDocInfo0 = new com.google.javascript.rhino.JSDocInfo(); java.lang.String str1 = jSDocInfo0.getOriginalCommentString(); boolean boolean2 = jSDocInfo0.hasReturnType(); boolean boolean3 = jSDocInfo0.isConsistentIdGenerator(); java.lang.String str4 = jSDocInfo0.toString(); com.google.javascript.rhino.JSTypeExpression jSTypeExpression5 = jSDocInfo0.getBaseType(); boolean boolean6 = jSDocInfo0.isConstructor(); com.google.common.collect.ImmutableList<java.lang.String> strList7 = jSDocInfo0.getTemplateTypeNames(); jSDocInfo0.addSuppression("function (): {1154372736}"); java.util.Collection<com.google.javascript.rhino.Node> nodeCollection10 = jSDocInfo0.getTypeNodes(); java.lang.String str11 = jSDocInfo0.getDeprecationReason(); org.junit.Assert.assertNull(str1); org.junit.Assert.assertTrue("'" + boolean2 + "' != '" + false + "'", boolean2 == false); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertEquals("'" + str4 + "' != '" + "JSDocInfo" + "'", str4, "JSDocInfo"); org.junit.Assert.assertNull(jSTypeExpression5); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(strList7); org.junit.Assert.assertNotNull(nodeCollection10); org.junit.Assert.assertNull(str11); } @Test public void test4484() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4484"); com.google.javascript.rhino.Node node2 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean3 = node2.isLabelName(); java.util.Set<java.lang.String> strSet4 = node2.getDirectives(); com.google.javascript.rhino.Node node6 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean7 = node6.isLabelName(); com.google.javascript.rhino.Node[] nodeArray8 = new com.google.javascript.rhino.Node[] { node2, node6 }; com.google.javascript.rhino.Node node11 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray8, 50, 50); com.google.javascript.rhino.Node node13 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node11.addChildToFront(node13); boolean boolean15 = node13.isDefaultCase(); com.google.javascript.rhino.Node node16 = node13.getParent(); node13.detachChildren(); boolean boolean18 = node13.hasMoreThanOneChild(); com.google.javascript.rhino.Node node20 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean21 = node20.isLabelName(); java.util.Set<java.lang.String> strSet22 = node20.getDirectives(); boolean boolean23 = node20.isGetterDef(); com.google.javascript.rhino.Node node24 = node13.clonePropsFrom(node20); boolean boolean25 = node13.isComma(); com.google.javascript.rhino.Node node29 = new com.google.javascript.rhino.Node(50, 1, 0); node29.removeProp((int) (short) 1); com.google.javascript.rhino.jstype.StaticSourceFile staticSourceFile32 = null; node29.setStaticSourceFile(staticSourceFile32); com.google.javascript.rhino.Node node34 = node13.clonePropsFrom(node29); int int35 = node13.getSourcePosition(); org.junit.Assert.assertNotNull(node2); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertNull(strSet4); org.junit.Assert.assertNotNull(node6); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertNotNull(nodeArray8); org.junit.Assert.assertNotNull(node13); org.junit.Assert.assertTrue("'" + boolean15 + "' != '" + false + "'", boolean15 == false); org.junit.Assert.assertNotNull(node16); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(node20); org.junit.Assert.assertTrue("'" + boolean21 + "' != '" + false + "'", boolean21 == false); org.junit.Assert.assertNull(strSet22); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + false + "'", boolean23 == false); org.junit.Assert.assertNotNull(node24); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); org.junit.Assert.assertNotNull(node34); org.junit.Assert.assertTrue("'" + int35 + "' != '" + (-1) + "'", int35 == (-1)); } @Test public void test4485() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4485"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); boolean boolean8 = jSType7.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter9 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry10 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter9); com.google.javascript.rhino.ErrorReporter errorReporter11 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry12 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter11); com.google.javascript.rhino.jstype.ObjectType objectType13 = null; com.google.javascript.rhino.jstype.JSType jSType14 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray15 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList16 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean17 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList16, jSTypeArray15); com.google.javascript.rhino.jstype.JSType jSType18 = jSTypeRegistry12.createFunctionTypeWithVarArgs(objectType13, jSType14, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList16); boolean boolean19 = jSType18.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter21 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry22 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter21); com.google.javascript.rhino.jstype.ObjectType objectType23 = null; com.google.javascript.rhino.jstype.JSType jSType24 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray25 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList26 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean27 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList26, jSTypeArray25); com.google.javascript.rhino.jstype.JSType jSType28 = jSTypeRegistry22.createFunctionTypeWithVarArgs(objectType23, jSType24, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList26); boolean boolean29 = jSType28.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType30 = jSType28.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter31 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry32 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter31); com.google.javascript.rhino.jstype.ObjectType objectType33 = null; com.google.javascript.rhino.jstype.JSType jSType34 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray35 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList36 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean37 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList36, jSTypeArray35); com.google.javascript.rhino.jstype.JSType jSType38 = jSTypeRegistry32.createFunctionTypeWithVarArgs(objectType33, jSType34, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList36); boolean boolean39 = jSType38.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType40 = jSType38.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter41 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry42 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter41); com.google.javascript.rhino.jstype.ObjectType objectType43 = null; com.google.javascript.rhino.jstype.JSType jSType44 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray45 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList46 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean47 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList46, jSTypeArray45); com.google.javascript.rhino.jstype.JSType jSType48 = jSTypeRegistry42.createFunctionTypeWithVarArgs(objectType43, jSType44, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList46); com.google.javascript.rhino.ErrorReporter errorReporter49 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry50 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter49); com.google.javascript.rhino.jstype.ObjectType objectType51 = null; com.google.javascript.rhino.jstype.JSType jSType52 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray53 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList54 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean55 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList54, jSTypeArray53); com.google.javascript.rhino.jstype.JSType jSType56 = jSTypeRegistry50.createFunctionTypeWithVarArgs(objectType51, jSType52, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList54); boolean boolean57 = jSType56.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType58 = jSType56.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter59 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry60 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter59); com.google.javascript.rhino.jstype.ObjectType objectType61 = null; com.google.javascript.rhino.jstype.JSType jSType62 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray63 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList64 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean65 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList64, jSTypeArray63); com.google.javascript.rhino.jstype.JSType jSType66 = jSTypeRegistry60.createFunctionTypeWithVarArgs(objectType61, jSType62, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList64); com.google.javascript.rhino.ErrorReporter errorReporter67 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry68 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter67); com.google.javascript.rhino.jstype.ObjectType objectType69 = null; com.google.javascript.rhino.jstype.JSType jSType70 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray71 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList72 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean73 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList72, jSTypeArray71); com.google.javascript.rhino.jstype.JSType jSType74 = jSTypeRegistry68.createFunctionTypeWithVarArgs(objectType69, jSType70, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList72); boolean boolean75 = jSType74.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType76 = jSType74.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray77 = new com.google.javascript.rhino.jstype.JSType[] { jSType30, jSType38, jSType44, jSType58, jSType66, objectType76 }; com.google.javascript.rhino.jstype.FunctionType functionType78 = jSTypeRegistry10.createConstructorType(jSType18, false, jSTypeArray77); boolean boolean79 = jSType7.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType78); com.google.javascript.rhino.jstype.StaticSlot staticSlot81 = functionType78.getSlot("Not declared as a constructor"); functionType78.clearResolved(); boolean boolean83 = functionType78.matchesStringContext(); com.google.javascript.rhino.jstype.FunctionType functionType84 = functionType78.toMaybeFunctionType(); boolean boolean86 = functionType84.hasOwnProperty("java.io.IOException: java.io.IOException: []"); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSTypeArray15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(jSType18); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(jSTypeArray25); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(jSType28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(jSType30); org.junit.Assert.assertNotNull(jSTypeArray35); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSType38); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(jSType40); org.junit.Assert.assertNotNull(jSTypeArray45); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(jSType48); org.junit.Assert.assertNotNull(jSTypeArray53); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); org.junit.Assert.assertNotNull(jSType56); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNotNull(jSType58); org.junit.Assert.assertNotNull(jSTypeArray63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(jSType66); org.junit.Assert.assertNotNull(jSTypeArray71); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNotNull(jSType74); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(objectType76); org.junit.Assert.assertNotNull(jSTypeArray77); org.junit.Assert.assertNotNull(functionType78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + true + "'", boolean79 == true); org.junit.Assert.assertNull(staticSlot81); org.junit.Assert.assertTrue("'" + boolean83 + "' != '" + false + "'", boolean83 == false); org.junit.Assert.assertNotNull(functionType84); org.junit.Assert.assertTrue("'" + boolean86 + "' != '" + false + "'", boolean86 == false); } @Test public void test4486() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4486"); com.google.javascript.rhino.JSDocInfo jSDocInfo0 = new com.google.javascript.rhino.JSDocInfo(); boolean boolean1 = jSDocInfo0.hasTypedefType(); java.util.Collection<java.lang.String> strCollection2 = jSDocInfo0.getReferences(); com.google.javascript.rhino.JSTypeExpression jSTypeExpression3 = jSDocInfo0.getBaseType(); boolean boolean4 = jSDocInfo0.isConstant(); boolean boolean5 = jSDocInfo0.containsDeclaration(); com.google.javascript.rhino.JSTypeExpression jSTypeExpression6 = jSDocInfo0.getTypedefType(); com.google.javascript.rhino.JSDocInfo.Visibility visibility7 = com.google.javascript.rhino.JSDocInfo.Visibility.PUBLIC; jSDocInfo0.setVisibility(visibility7); boolean boolean9 = jSDocInfo0.isConsistentIdGenerator(); java.util.Set<java.lang.String> strSet10 = jSDocInfo0.getSuppressions(); // The following exception was thrown during execution in test generation try { boolean boolean12 = strSet10.add("function (): {541474879}"); org.junit.Assert.fail("Expected exception of type java.lang.UnsupportedOperationException; message: null"); } catch (java.lang.UnsupportedOperationException e) { // Expected exception. } org.junit.Assert.assertTrue("'" + boolean1 + "' != '" + false + "'", boolean1 == false); org.junit.Assert.assertNull(strCollection2); org.junit.Assert.assertNull(jSTypeExpression3); org.junit.Assert.assertTrue("'" + boolean4 + "' != '" + false + "'", boolean4 == false); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNull(jSTypeExpression6); org.junit.Assert.assertTrue("'" + visibility7 + "' != '" + com.google.javascript.rhino.JSDocInfo.Visibility.PUBLIC + "'", visibility7.equals(com.google.javascript.rhino.JSDocInfo.Visibility.PUBLIC)); org.junit.Assert.assertTrue("'" + boolean9 + "' != '" + false + "'", boolean9 == false); org.junit.Assert.assertNotNull(strSet10); } @Test public void test4487() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4487"); com.google.javascript.rhino.Node node4 = com.google.javascript.rhino.Node.newString(4095, "STRING []", (int) (short) 0, 0); boolean boolean5 = node4.isWhile(); org.junit.Assert.assertNotNull(node4); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); } @Test public void test4488() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4488"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); boolean boolean8 = jSType7.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter9 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry10 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter9); com.google.javascript.rhino.ErrorReporter errorReporter11 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry12 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter11); com.google.javascript.rhino.jstype.ObjectType objectType13 = null; com.google.javascript.rhino.jstype.JSType jSType14 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray15 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList16 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean17 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList16, jSTypeArray15); com.google.javascript.rhino.jstype.JSType jSType18 = jSTypeRegistry12.createFunctionTypeWithVarArgs(objectType13, jSType14, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList16); boolean boolean19 = jSType18.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter21 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry22 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter21); com.google.javascript.rhino.jstype.ObjectType objectType23 = null; com.google.javascript.rhino.jstype.JSType jSType24 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray25 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList26 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean27 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList26, jSTypeArray25); com.google.javascript.rhino.jstype.JSType jSType28 = jSTypeRegistry22.createFunctionTypeWithVarArgs(objectType23, jSType24, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList26); boolean boolean29 = jSType28.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType30 = jSType28.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter31 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry32 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter31); com.google.javascript.rhino.jstype.ObjectType objectType33 = null; com.google.javascript.rhino.jstype.JSType jSType34 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray35 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList36 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean37 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList36, jSTypeArray35); com.google.javascript.rhino.jstype.JSType jSType38 = jSTypeRegistry32.createFunctionTypeWithVarArgs(objectType33, jSType34, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList36); boolean boolean39 = jSType38.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType40 = jSType38.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter41 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry42 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter41); com.google.javascript.rhino.jstype.ObjectType objectType43 = null; com.google.javascript.rhino.jstype.JSType jSType44 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray45 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList46 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean47 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList46, jSTypeArray45); com.google.javascript.rhino.jstype.JSType jSType48 = jSTypeRegistry42.createFunctionTypeWithVarArgs(objectType43, jSType44, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList46); com.google.javascript.rhino.ErrorReporter errorReporter49 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry50 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter49); com.google.javascript.rhino.jstype.ObjectType objectType51 = null; com.google.javascript.rhino.jstype.JSType jSType52 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray53 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList54 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean55 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList54, jSTypeArray53); com.google.javascript.rhino.jstype.JSType jSType56 = jSTypeRegistry50.createFunctionTypeWithVarArgs(objectType51, jSType52, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList54); boolean boolean57 = jSType56.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType58 = jSType56.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter59 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry60 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter59); com.google.javascript.rhino.jstype.ObjectType objectType61 = null; com.google.javascript.rhino.jstype.JSType jSType62 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray63 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList64 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean65 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList64, jSTypeArray63); com.google.javascript.rhino.jstype.JSType jSType66 = jSTypeRegistry60.createFunctionTypeWithVarArgs(objectType61, jSType62, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList64); com.google.javascript.rhino.ErrorReporter errorReporter67 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry68 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter67); com.google.javascript.rhino.jstype.ObjectType objectType69 = null; com.google.javascript.rhino.jstype.JSType jSType70 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray71 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList72 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean73 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList72, jSTypeArray71); com.google.javascript.rhino.jstype.JSType jSType74 = jSTypeRegistry68.createFunctionTypeWithVarArgs(objectType69, jSType70, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList72); boolean boolean75 = jSType74.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType76 = jSType74.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray77 = new com.google.javascript.rhino.jstype.JSType[] { jSType30, jSType38, jSType44, jSType58, jSType66, objectType76 }; com.google.javascript.rhino.jstype.FunctionType functionType78 = jSTypeRegistry10.createConstructorType(jSType18, false, jSTypeArray77); boolean boolean79 = jSType7.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType78); com.google.javascript.rhino.jstype.FunctionType functionType80 = functionType78.toMaybeFunctionType(); com.google.javascript.rhino.JSDocInfo jSDocInfo81 = null; functionType78.setJSDocInfo(jSDocInfo81); java.lang.String str83 = functionType78.getDisplayName(); boolean boolean85 = functionType78.hasProperty("[hi!, Not declared as a constructor, hi!, function (): {160022603}, , true, java.io.IOException: , ()]"); int int86 = functionType78.getExtendedInterfacesCount(); com.google.javascript.rhino.jstype.FunctionType functionType87 = functionType78.getOwnerFunction(); com.google.javascript.rhino.jstype.ObjectType objectType88 = null; // The following exception was thrown during execution in test generation try { functionType87.matchConstraint(objectType88); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSTypeArray15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(jSType18); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(jSTypeArray25); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(jSType28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(jSType30); org.junit.Assert.assertNotNull(jSTypeArray35); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSType38); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(jSType40); org.junit.Assert.assertNotNull(jSTypeArray45); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(jSType48); org.junit.Assert.assertNotNull(jSTypeArray53); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); org.junit.Assert.assertNotNull(jSType56); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNotNull(jSType58); org.junit.Assert.assertNotNull(jSTypeArray63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(jSType66); org.junit.Assert.assertNotNull(jSTypeArray71); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNotNull(jSType74); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(objectType76); org.junit.Assert.assertNotNull(jSTypeArray77); org.junit.Assert.assertNotNull(functionType78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + true + "'", boolean79 == true); org.junit.Assert.assertNotNull(functionType80); org.junit.Assert.assertNull(str83); org.junit.Assert.assertTrue("'" + boolean85 + "' != '" + false + "'", boolean85 == false); org.junit.Assert.assertTrue("'" + int86 + "' != '" + 0 + "'", int86 == 0); org.junit.Assert.assertNull(functionType87); } @Test public void test4489() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4489"); com.google.javascript.rhino.Node node2 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean3 = node2.isLabelName(); java.util.Set<java.lang.String> strSet4 = node2.getDirectives(); com.google.javascript.rhino.Node node6 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean7 = node6.isLabelName(); com.google.javascript.rhino.Node[] nodeArray8 = new com.google.javascript.rhino.Node[] { node2, node6 }; com.google.javascript.rhino.Node node11 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray8, 50, 50); com.google.javascript.rhino.Node node13 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node11.addChildToFront(node13); boolean boolean15 = node13.isDefaultCase(); com.google.javascript.rhino.Node node16 = node13.getParent(); node13.putIntProp(43, 10); boolean boolean20 = node13.isDec(); com.google.javascript.rhino.Node node23 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean24 = node23.isLabelName(); java.util.Set<java.lang.String> strSet25 = node23.getDirectives(); com.google.javascript.rhino.Node node27 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean28 = node27.isLabelName(); com.google.javascript.rhino.Node[] nodeArray29 = new com.google.javascript.rhino.Node[] { node23, node27 }; com.google.javascript.rhino.Node node32 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray29, 50, 50); com.google.javascript.rhino.Node node34 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node32.addChildToFront(node34); boolean boolean36 = node34.isDefaultCase(); com.google.javascript.rhino.Node node37 = node34.getParent(); node34.detachChildren(); boolean boolean39 = node34.hasMoreThanOneChild(); com.google.javascript.rhino.Node node41 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean42 = node41.isLabelName(); java.util.Set<java.lang.String> strSet43 = node41.getDirectives(); boolean boolean44 = node41.isGetterDef(); com.google.javascript.rhino.Node node45 = node34.clonePropsFrom(node41); com.google.javascript.rhino.Node node48 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean49 = node48.isLabelName(); java.util.Set<java.lang.String> strSet50 = node48.getDirectives(); com.google.javascript.rhino.Node node52 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean53 = node52.isLabelName(); com.google.javascript.rhino.Node[] nodeArray54 = new com.google.javascript.rhino.Node[] { node48, node52 }; com.google.javascript.rhino.Node node57 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray54, 50, 50); com.google.javascript.rhino.Node node59 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node57.addChildToFront(node59); boolean boolean61 = node57.isNew(); com.google.javascript.rhino.Node node63 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node64 = node57.useSourceInfoFrom(node63); int int65 = node63.getSourcePosition(); boolean boolean66 = node63.isComma(); java.lang.String str70 = node63.toString(true, false, true); boolean boolean71 = node63.isInc(); com.google.javascript.rhino.Node node76 = com.google.javascript.rhino.Node.newString((int) (short) 1, "(java.io.IOException: java.io.IOException: )", 2, 0); boolean boolean77 = node76.isDo(); com.google.javascript.rhino.Node node78 = node63.copyInformationFromForTree(node76); boolean boolean79 = node78.isDo(); boolean boolean80 = node78.isNot(); boolean boolean81 = node78.isObjectLit(); int int82 = node78.getSourceOffset(); // The following exception was thrown during execution in test generation try { node13.replaceChildAfter(node41, node78); org.junit.Assert.fail("Expected exception of type java.lang.IllegalArgumentException; message: prev is not a child of this node."); } catch (java.lang.IllegalArgumentException e) { // Expected exception. } org.junit.Assert.assertNotNull(node2); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertNull(strSet4); org.junit.Assert.assertNotNull(node6); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertNotNull(nodeArray8); org.junit.Assert.assertNotNull(node13); org.junit.Assert.assertTrue("'" + boolean15 + "' != '" + false + "'", boolean15 == false); org.junit.Assert.assertNotNull(node16); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(node23); org.junit.Assert.assertTrue("'" + boolean24 + "' != '" + false + "'", boolean24 == false); org.junit.Assert.assertNull(strSet25); org.junit.Assert.assertNotNull(node27); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(nodeArray29); org.junit.Assert.assertNotNull(node34); org.junit.Assert.assertTrue("'" + boolean36 + "' != '" + false + "'", boolean36 == false); org.junit.Assert.assertNotNull(node37); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(node41); org.junit.Assert.assertTrue("'" + boolean42 + "' != '" + false + "'", boolean42 == false); org.junit.Assert.assertNull(strSet43); org.junit.Assert.assertTrue("'" + boolean44 + "' != '" + false + "'", boolean44 == false); org.junit.Assert.assertNotNull(node45); org.junit.Assert.assertNotNull(node48); org.junit.Assert.assertTrue("'" + boolean49 + "' != '" + false + "'", boolean49 == false); org.junit.Assert.assertNull(strSet50); org.junit.Assert.assertNotNull(node52); org.junit.Assert.assertTrue("'" + boolean53 + "' != '" + false + "'", boolean53 == false); org.junit.Assert.assertNotNull(nodeArray54); org.junit.Assert.assertNotNull(node59); org.junit.Assert.assertTrue("'" + boolean61 + "' != '" + false + "'", boolean61 == false); org.junit.Assert.assertNotNull(node63); org.junit.Assert.assertNotNull(node64); org.junit.Assert.assertTrue("'" + int65 + "' != '" + (-1) + "'", int65 == (-1)); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertEquals("'" + str70 + "' != '" + "STRING Not declared as a constructor" + "'", str70, "STRING Not declared as a constructor"); org.junit.Assert.assertTrue("'" + boolean71 + "' != '" + false + "'", boolean71 == false); org.junit.Assert.assertNotNull(node76); org.junit.Assert.assertTrue("'" + boolean77 + "' != '" + false + "'", boolean77 == false); org.junit.Assert.assertNotNull(node78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + false + "'", boolean79 == false); org.junit.Assert.assertTrue("'" + boolean80 + "' != '" + false + "'", boolean80 == false); org.junit.Assert.assertTrue("'" + boolean81 + "' != '" + false + "'", boolean81 == false); org.junit.Assert.assertTrue("'" + int82 + "' != '" + (-1) + "'", int82 == (-1)); } @Test public void test4490() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4490"); com.google.javascript.rhino.Node node2 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean3 = node2.isLabelName(); java.util.Set<java.lang.String> strSet4 = node2.getDirectives(); com.google.javascript.rhino.Node node6 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean7 = node6.isLabelName(); com.google.javascript.rhino.Node[] nodeArray8 = new com.google.javascript.rhino.Node[] { node2, node6 }; com.google.javascript.rhino.Node node11 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray8, 50, 50); com.google.javascript.rhino.Node node13 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node11.addChildToFront(node13); boolean boolean15 = node11.isNew(); com.google.javascript.rhino.Node node17 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node18 = node11.useSourceInfoFrom(node17); int int19 = node17.getSourcePosition(); boolean boolean20 = node17.isComma(); boolean boolean21 = node17.isIf(); boolean boolean22 = node17.isNot(); boolean boolean23 = node17.isAnd(); boolean boolean24 = node17.isLabelName(); boolean boolean25 = node17.isVarArgs(); org.junit.Assert.assertNotNull(node2); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertNull(strSet4); org.junit.Assert.assertNotNull(node6); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertNotNull(nodeArray8); org.junit.Assert.assertNotNull(node13); org.junit.Assert.assertTrue("'" + boolean15 + "' != '" + false + "'", boolean15 == false); org.junit.Assert.assertNotNull(node17); org.junit.Assert.assertNotNull(node18); org.junit.Assert.assertTrue("'" + int19 + "' != '" + (-1) + "'", int19 == (-1)); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertTrue("'" + boolean21 + "' != '" + false + "'", boolean21 == false); org.junit.Assert.assertTrue("'" + boolean22 + "' != '" + false + "'", boolean22 == false); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + false + "'", boolean23 == false); org.junit.Assert.assertTrue("'" + boolean24 + "' != '" + false + "'", boolean24 == false); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); } @Test public void test4491() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4491"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.ErrorReporter errorReporter2 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry3 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter2); com.google.javascript.rhino.jstype.ObjectType objectType4 = null; com.google.javascript.rhino.jstype.JSType jSType5 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray6 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList7 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean8 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList7, jSTypeArray6); com.google.javascript.rhino.jstype.JSType jSType9 = jSTypeRegistry3.createFunctionTypeWithVarArgs(objectType4, jSType5, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList7); boolean boolean10 = jSType9.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter12 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry13 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter12); com.google.javascript.rhino.jstype.ObjectType objectType14 = null; com.google.javascript.rhino.jstype.JSType jSType15 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray16 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList17 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean18 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList17, jSTypeArray16); com.google.javascript.rhino.jstype.JSType jSType19 = jSTypeRegistry13.createFunctionTypeWithVarArgs(objectType14, jSType15, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList17); boolean boolean20 = jSType19.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType21 = jSType19.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter22 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry23 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter22); com.google.javascript.rhino.jstype.ObjectType objectType24 = null; com.google.javascript.rhino.jstype.JSType jSType25 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray26 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList27 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean28 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList27, jSTypeArray26); com.google.javascript.rhino.jstype.JSType jSType29 = jSTypeRegistry23.createFunctionTypeWithVarArgs(objectType24, jSType25, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList27); boolean boolean30 = jSType29.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType31 = jSType29.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter32 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry33 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter32); com.google.javascript.rhino.jstype.ObjectType objectType34 = null; com.google.javascript.rhino.jstype.JSType jSType35 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray36 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList37 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean38 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList37, jSTypeArray36); com.google.javascript.rhino.jstype.JSType jSType39 = jSTypeRegistry33.createFunctionTypeWithVarArgs(objectType34, jSType35, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList37); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); boolean boolean48 = jSType47.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType49 = jSType47.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter50 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry51 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter50); com.google.javascript.rhino.jstype.ObjectType objectType52 = null; com.google.javascript.rhino.jstype.JSType jSType53 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray54 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList55 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean56 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList55, jSTypeArray54); com.google.javascript.rhino.jstype.JSType jSType57 = jSTypeRegistry51.createFunctionTypeWithVarArgs(objectType52, jSType53, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList55); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); boolean boolean66 = jSType65.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType67 = jSType65.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray68 = new com.google.javascript.rhino.jstype.JSType[] { jSType21, jSType29, jSType35, jSType49, jSType57, objectType67 }; com.google.javascript.rhino.jstype.FunctionType functionType69 = jSTypeRegistry1.createConstructorType(jSType9, false, jSTypeArray68); boolean boolean70 = functionType69.hasReferenceName(); boolean boolean72 = functionType69.isPropertyInExterns("Not declared as a constructor"); boolean boolean74 = functionType69.isPropertyTypeInferred(""); com.google.javascript.rhino.jstype.ObjectType objectType75 = functionType69.getImplicitPrototype(); com.google.javascript.rhino.JSDocInfo jSDocInfo77 = functionType69.getOwnPropertyJSDocInfo("Not declared as a type name"); com.google.javascript.rhino.jstype.ObjectType.Property property79 = functionType69.getOwnSlot("Function"); boolean boolean81 = functionType69.hasOwnProperty("function (): {246669154}"); boolean boolean82 = functionType69.hasAnyTemplateInternal(); com.google.javascript.rhino.jstype.ObjectType objectType83 = functionType69.getInstanceType(); org.junit.Assert.assertNotNull(jSTypeArray6); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSType9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNotNull(jSTypeArray16); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSType19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(jSType21); org.junit.Assert.assertNotNull(jSTypeArray26); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(jSType31); org.junit.Assert.assertNotNull(jSTypeArray36); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(jSType49); org.junit.Assert.assertNotNull(jSTypeArray54); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertNotNull(objectType67); org.junit.Assert.assertNotNull(jSTypeArray68); org.junit.Assert.assertNotNull(functionType69); org.junit.Assert.assertTrue("'" + boolean70 + "' != '" + false + "'", boolean70 == false); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertTrue("'" + boolean74 + "' != '" + false + "'", boolean74 == false); org.junit.Assert.assertNotNull(objectType75); org.junit.Assert.assertNull(jSDocInfo77); org.junit.Assert.assertNull(property79); org.junit.Assert.assertTrue("'" + boolean81 + "' != '" + false + "'", boolean81 == false); org.junit.Assert.assertTrue("'" + boolean82 + "' != '" + false + "'", boolean82 == false); org.junit.Assert.assertNotNull(objectType83); } @Test public void test4492() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4492"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); boolean boolean8 = jSType7.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter9 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry10 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter9); com.google.javascript.rhino.ErrorReporter errorReporter11 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry12 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter11); com.google.javascript.rhino.jstype.ObjectType objectType13 = null; com.google.javascript.rhino.jstype.JSType jSType14 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray15 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList16 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean17 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList16, jSTypeArray15); com.google.javascript.rhino.jstype.JSType jSType18 = jSTypeRegistry12.createFunctionTypeWithVarArgs(objectType13, jSType14, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList16); boolean boolean19 = jSType18.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter21 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry22 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter21); com.google.javascript.rhino.jstype.ObjectType objectType23 = null; com.google.javascript.rhino.jstype.JSType jSType24 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray25 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList26 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean27 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList26, jSTypeArray25); com.google.javascript.rhino.jstype.JSType jSType28 = jSTypeRegistry22.createFunctionTypeWithVarArgs(objectType23, jSType24, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList26); boolean boolean29 = jSType28.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType30 = jSType28.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter31 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry32 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter31); com.google.javascript.rhino.jstype.ObjectType objectType33 = null; com.google.javascript.rhino.jstype.JSType jSType34 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray35 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList36 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean37 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList36, jSTypeArray35); com.google.javascript.rhino.jstype.JSType jSType38 = jSTypeRegistry32.createFunctionTypeWithVarArgs(objectType33, jSType34, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList36); boolean boolean39 = jSType38.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType40 = jSType38.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter41 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry42 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter41); com.google.javascript.rhino.jstype.ObjectType objectType43 = null; com.google.javascript.rhino.jstype.JSType jSType44 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray45 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList46 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean47 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList46, jSTypeArray45); com.google.javascript.rhino.jstype.JSType jSType48 = jSTypeRegistry42.createFunctionTypeWithVarArgs(objectType43, jSType44, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList46); com.google.javascript.rhino.ErrorReporter errorReporter49 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry50 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter49); com.google.javascript.rhino.jstype.ObjectType objectType51 = null; com.google.javascript.rhino.jstype.JSType jSType52 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray53 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList54 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean55 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList54, jSTypeArray53); com.google.javascript.rhino.jstype.JSType jSType56 = jSTypeRegistry50.createFunctionTypeWithVarArgs(objectType51, jSType52, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList54); boolean boolean57 = jSType56.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType58 = jSType56.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter59 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry60 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter59); com.google.javascript.rhino.jstype.ObjectType objectType61 = null; com.google.javascript.rhino.jstype.JSType jSType62 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray63 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList64 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean65 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList64, jSTypeArray63); com.google.javascript.rhino.jstype.JSType jSType66 = jSTypeRegistry60.createFunctionTypeWithVarArgs(objectType61, jSType62, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList64); com.google.javascript.rhino.ErrorReporter errorReporter67 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry68 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter67); com.google.javascript.rhino.jstype.ObjectType objectType69 = null; com.google.javascript.rhino.jstype.JSType jSType70 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray71 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList72 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean73 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList72, jSTypeArray71); com.google.javascript.rhino.jstype.JSType jSType74 = jSTypeRegistry68.createFunctionTypeWithVarArgs(objectType69, jSType70, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList72); boolean boolean75 = jSType74.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType76 = jSType74.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray77 = new com.google.javascript.rhino.jstype.JSType[] { jSType30, jSType38, jSType44, jSType58, jSType66, objectType76 }; com.google.javascript.rhino.jstype.FunctionType functionType78 = jSTypeRegistry10.createConstructorType(jSType18, false, jSTypeArray77); boolean boolean79 = jSType7.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType78); com.google.javascript.rhino.jstype.FunctionType functionType80 = functionType78.toMaybeFunctionType(); com.google.javascript.rhino.JSDocInfo jSDocInfo81 = null; functionType78.setJSDocInfo(jSDocInfo81); com.google.javascript.rhino.jstype.ObjectType objectType84 = com.google.javascript.rhino.jstype.FunctionType.getTopDefiningInterface((com.google.javascript.rhino.jstype.ObjectType) functionType78, "hi!"); boolean boolean85 = functionType78.isCheckedUnknownType(); java.util.Set<java.lang.String> strSet86 = functionType78.getOwnPropertyNames(); java.lang.Iterable iterable87 = functionType78.getCtorImplementedInterfaces(); boolean boolean88 = functionType78.isAllType(); java.util.Set<java.lang.String> strSet89 = functionType78.getPropertyNames(); boolean boolean90 = strSet89.isEmpty(); boolean boolean91 = strSet89.isEmpty(); strSet89.clear(); java.util.Spliterator<java.lang.String> strSpliterator93 = strSet89.spliterator(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSTypeArray15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(jSType18); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(jSTypeArray25); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(jSType28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(jSType30); org.junit.Assert.assertNotNull(jSTypeArray35); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSType38); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(jSType40); org.junit.Assert.assertNotNull(jSTypeArray45); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(jSType48); org.junit.Assert.assertNotNull(jSTypeArray53); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); org.junit.Assert.assertNotNull(jSType56); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNotNull(jSType58); org.junit.Assert.assertNotNull(jSTypeArray63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(jSType66); org.junit.Assert.assertNotNull(jSTypeArray71); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNotNull(jSType74); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(objectType76); org.junit.Assert.assertNotNull(jSTypeArray77); org.junit.Assert.assertNotNull(functionType78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + true + "'", boolean79 == true); org.junit.Assert.assertNotNull(functionType80); org.junit.Assert.assertNull(objectType84); org.junit.Assert.assertTrue("'" + boolean85 + "' != '" + false + "'", boolean85 == false); org.junit.Assert.assertNotNull(strSet86); org.junit.Assert.assertNotNull(iterable87); org.junit.Assert.assertTrue("'" + boolean88 + "' != '" + false + "'", boolean88 == false); org.junit.Assert.assertNotNull(strSet89); org.junit.Assert.assertTrue("'" + boolean90 + "' != '" + true + "'", boolean90 == true); org.junit.Assert.assertTrue("'" + boolean91 + "' != '" + true + "'", boolean91 == true); org.junit.Assert.assertNotNull(strSpliterator93); } @Test public void test4493() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4493"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); com.google.javascript.rhino.ErrorReporter errorReporter8 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry9 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter8); com.google.javascript.rhino.ErrorReporter errorReporter10 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry11 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter10); com.google.javascript.rhino.jstype.ObjectType objectType12 = null; com.google.javascript.rhino.jstype.JSType jSType13 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray14 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList15 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean16 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList15, jSTypeArray14); com.google.javascript.rhino.jstype.JSType jSType17 = jSTypeRegistry11.createFunctionTypeWithVarArgs(objectType12, jSType13, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList15); boolean boolean18 = jSType17.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter20 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry21 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter20); com.google.javascript.rhino.jstype.ObjectType objectType22 = null; com.google.javascript.rhino.jstype.JSType jSType23 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray24 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList25 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean26 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList25, jSTypeArray24); com.google.javascript.rhino.jstype.JSType jSType27 = jSTypeRegistry21.createFunctionTypeWithVarArgs(objectType22, jSType23, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList25); boolean boolean28 = jSType27.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType29 = jSType27.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter30 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry31 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter30); com.google.javascript.rhino.jstype.ObjectType objectType32 = null; com.google.javascript.rhino.jstype.JSType jSType33 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray34 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList35 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean36 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList35, jSTypeArray34); com.google.javascript.rhino.jstype.JSType jSType37 = jSTypeRegistry31.createFunctionTypeWithVarArgs(objectType32, jSType33, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList35); boolean boolean38 = jSType37.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType39 = jSType37.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); com.google.javascript.rhino.ErrorReporter errorReporter48 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry49 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter48); com.google.javascript.rhino.jstype.ObjectType objectType50 = null; com.google.javascript.rhino.jstype.JSType jSType51 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray52 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList53 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean54 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList53, jSTypeArray52); com.google.javascript.rhino.jstype.JSType jSType55 = jSTypeRegistry49.createFunctionTypeWithVarArgs(objectType50, jSType51, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList53); boolean boolean56 = jSType55.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType57 = jSType55.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); com.google.javascript.rhino.ErrorReporter errorReporter66 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry67 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter66); com.google.javascript.rhino.jstype.ObjectType objectType68 = null; com.google.javascript.rhino.jstype.JSType jSType69 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray70 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList71 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean72 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList71, jSTypeArray70); com.google.javascript.rhino.jstype.JSType jSType73 = jSTypeRegistry67.createFunctionTypeWithVarArgs(objectType68, jSType69, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList71); boolean boolean74 = jSType73.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType75 = jSType73.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray76 = new com.google.javascript.rhino.jstype.JSType[] { jSType29, jSType37, jSType43, jSType57, jSType65, objectType75 }; com.google.javascript.rhino.jstype.FunctionType functionType77 = jSTypeRegistry9.createConstructorType(jSType17, false, jSTypeArray76); com.google.javascript.rhino.jstype.JSType jSType78 = functionType77.unboxesTo(); com.google.javascript.rhino.ErrorReporter errorReporter79 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry80 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter79); com.google.javascript.rhino.jstype.ObjectType objectType81 = null; com.google.javascript.rhino.jstype.JSType jSType82 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray83 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList84 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean85 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList84, jSTypeArray83); com.google.javascript.rhino.jstype.JSType jSType86 = jSTypeRegistry80.createFunctionTypeWithVarArgs(objectType81, jSType82, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList84); boolean boolean87 = jSType86.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType88 = jSType86.toObjectType(); com.google.javascript.rhino.jstype.FunctionType functionType89 = jSTypeRegistry1.createFunctionTypeWithNewThisType(functionType77, objectType88); com.google.javascript.rhino.jstype.StaticScope<com.google.javascript.rhino.jstype.JSType> jSTypeStaticScope90 = functionType77.getParentScope(); boolean boolean92 = functionType77.removeProperty("Not declared as a constructor"); boolean boolean93 = functionType77.isNominalType(); com.google.common.collect.ImmutableList<java.lang.String> strList94 = functionType77.getTemplateTypeNames(); com.google.javascript.rhino.jstype.EnumElementType enumElementType95 = functionType77.toMaybeEnumElementType(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertNotNull(jSTypeArray14); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertNotNull(jSType17); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSTypeArray24); org.junit.Assert.assertTrue("'" + boolean26 + "' != '" + false + "'", boolean26 == false); org.junit.Assert.assertNotNull(jSType27); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertNotNull(jSTypeArray34); org.junit.Assert.assertTrue("'" + boolean36 + "' != '" + false + "'", boolean36 == false); org.junit.Assert.assertNotNull(jSType37); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertNotNull(jSTypeArray52); org.junit.Assert.assertTrue("'" + boolean54 + "' != '" + false + "'", boolean54 == false); org.junit.Assert.assertNotNull(jSType55); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertNotNull(jSTypeArray70); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertNotNull(jSType73); org.junit.Assert.assertTrue("'" + boolean74 + "' != '" + false + "'", boolean74 == false); org.junit.Assert.assertNotNull(objectType75); org.junit.Assert.assertNotNull(jSTypeArray76); org.junit.Assert.assertNotNull(functionType77); org.junit.Assert.assertNull(jSType78); org.junit.Assert.assertNotNull(jSTypeArray83); org.junit.Assert.assertTrue("'" + boolean85 + "' != '" + false + "'", boolean85 == false); org.junit.Assert.assertNotNull(jSType86); org.junit.Assert.assertTrue("'" + boolean87 + "' != '" + false + "'", boolean87 == false); org.junit.Assert.assertNotNull(objectType88); org.junit.Assert.assertNotNull(functionType89); org.junit.Assert.assertNotNull(jSTypeStaticScope90); org.junit.Assert.assertTrue("'" + boolean92 + "' != '" + false + "'", boolean92 == false); org.junit.Assert.assertTrue("'" + boolean93 + "' != '" + false + "'", boolean93 == false); org.junit.Assert.assertNotNull(strList94); org.junit.Assert.assertNull(enumElementType95); } @Test public void test4494() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4494"); com.google.javascript.rhino.JSDocInfo jSDocInfo0 = new com.google.javascript.rhino.JSDocInfo(); java.lang.String str1 = jSDocInfo0.getOriginalCommentString(); com.google.javascript.rhino.JSTypeExpression jSTypeExpression2 = jSDocInfo0.getThisType(); java.lang.String str3 = jSDocInfo0.getFileOverview(); java.util.Collection<com.google.javascript.rhino.JSDocInfo.Marker> markerCollection4 = jSDocInfo0.getMarkers(); java.lang.String str5 = jSDocInfo0.getSourceName(); int int6 = jSDocInfo0.getParameterCount(); java.util.List<com.google.javascript.rhino.JSTypeExpression> jSTypeExpressionList7 = jSDocInfo0.getExtendedInterfaces(); com.google.javascript.rhino.JSTypeExpression jSTypeExpression8 = jSDocInfo0.getThisType(); org.junit.Assert.assertNull(str1); org.junit.Assert.assertNull(jSTypeExpression2); org.junit.Assert.assertNull(str3); org.junit.Assert.assertNotNull(markerCollection4); org.junit.Assert.assertNull(str5); org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0); org.junit.Assert.assertNotNull(jSTypeExpressionList7); org.junit.Assert.assertNull(jSTypeExpression8); } @Test public void test4495() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4495"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); boolean boolean8 = jSType7.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter9 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry10 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter9); com.google.javascript.rhino.ErrorReporter errorReporter11 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry12 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter11); com.google.javascript.rhino.jstype.ObjectType objectType13 = null; com.google.javascript.rhino.jstype.JSType jSType14 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray15 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList16 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean17 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList16, jSTypeArray15); com.google.javascript.rhino.jstype.JSType jSType18 = jSTypeRegistry12.createFunctionTypeWithVarArgs(objectType13, jSType14, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList16); boolean boolean19 = jSType18.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter21 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry22 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter21); com.google.javascript.rhino.jstype.ObjectType objectType23 = null; com.google.javascript.rhino.jstype.JSType jSType24 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray25 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList26 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean27 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList26, jSTypeArray25); com.google.javascript.rhino.jstype.JSType jSType28 = jSTypeRegistry22.createFunctionTypeWithVarArgs(objectType23, jSType24, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList26); boolean boolean29 = jSType28.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType30 = jSType28.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter31 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry32 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter31); com.google.javascript.rhino.jstype.ObjectType objectType33 = null; com.google.javascript.rhino.jstype.JSType jSType34 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray35 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList36 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean37 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList36, jSTypeArray35); com.google.javascript.rhino.jstype.JSType jSType38 = jSTypeRegistry32.createFunctionTypeWithVarArgs(objectType33, jSType34, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList36); boolean boolean39 = jSType38.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType40 = jSType38.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter41 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry42 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter41); com.google.javascript.rhino.jstype.ObjectType objectType43 = null; com.google.javascript.rhino.jstype.JSType jSType44 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray45 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList46 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean47 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList46, jSTypeArray45); com.google.javascript.rhino.jstype.JSType jSType48 = jSTypeRegistry42.createFunctionTypeWithVarArgs(objectType43, jSType44, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList46); com.google.javascript.rhino.ErrorReporter errorReporter49 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry50 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter49); com.google.javascript.rhino.jstype.ObjectType objectType51 = null; com.google.javascript.rhino.jstype.JSType jSType52 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray53 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList54 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean55 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList54, jSTypeArray53); com.google.javascript.rhino.jstype.JSType jSType56 = jSTypeRegistry50.createFunctionTypeWithVarArgs(objectType51, jSType52, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList54); boolean boolean57 = jSType56.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType58 = jSType56.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter59 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry60 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter59); com.google.javascript.rhino.jstype.ObjectType objectType61 = null; com.google.javascript.rhino.jstype.JSType jSType62 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray63 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList64 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean65 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList64, jSTypeArray63); com.google.javascript.rhino.jstype.JSType jSType66 = jSTypeRegistry60.createFunctionTypeWithVarArgs(objectType61, jSType62, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList64); com.google.javascript.rhino.ErrorReporter errorReporter67 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry68 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter67); com.google.javascript.rhino.jstype.ObjectType objectType69 = null; com.google.javascript.rhino.jstype.JSType jSType70 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray71 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList72 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean73 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList72, jSTypeArray71); com.google.javascript.rhino.jstype.JSType jSType74 = jSTypeRegistry68.createFunctionTypeWithVarArgs(objectType69, jSType70, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList72); boolean boolean75 = jSType74.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType76 = jSType74.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray77 = new com.google.javascript.rhino.jstype.JSType[] { jSType30, jSType38, jSType44, jSType58, jSType66, objectType76 }; com.google.javascript.rhino.jstype.FunctionType functionType78 = jSTypeRegistry10.createConstructorType(jSType18, false, jSTypeArray77); boolean boolean79 = jSType7.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType78); com.google.javascript.rhino.jstype.FunctionType functionType80 = functionType78.toMaybeFunctionType(); functionType78.clearResolved(); boolean boolean82 = functionType78.isEnumType(); com.google.javascript.rhino.jstype.ObjectType.Property property84 = functionType78.getSlot("InputId: []"); com.google.javascript.rhino.jstype.ObjectType objectType86 = com.google.javascript.rhino.jstype.FunctionType.getTopDefiningInterface((com.google.javascript.rhino.jstype.ObjectType) functionType78, ""); com.google.javascript.rhino.jstype.StaticSlot staticSlot88 = functionType78.getSlot("{498740951}"); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSTypeArray15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(jSType18); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(jSTypeArray25); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(jSType28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(jSType30); org.junit.Assert.assertNotNull(jSTypeArray35); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSType38); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(jSType40); org.junit.Assert.assertNotNull(jSTypeArray45); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(jSType48); org.junit.Assert.assertNotNull(jSTypeArray53); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); org.junit.Assert.assertNotNull(jSType56); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNotNull(jSType58); org.junit.Assert.assertNotNull(jSTypeArray63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(jSType66); org.junit.Assert.assertNotNull(jSTypeArray71); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNotNull(jSType74); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(objectType76); org.junit.Assert.assertNotNull(jSTypeArray77); org.junit.Assert.assertNotNull(functionType78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + true + "'", boolean79 == true); org.junit.Assert.assertNotNull(functionType80); org.junit.Assert.assertTrue("'" + boolean82 + "' != '" + false + "'", boolean82 == false); org.junit.Assert.assertNull(property84); org.junit.Assert.assertNull(objectType86); org.junit.Assert.assertNull(staticSlot88); } @Test public void test4496() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4496"); com.google.javascript.rhino.JSDocInfo jSDocInfo0 = new com.google.javascript.rhino.JSDocInfo(); java.lang.String str1 = jSDocInfo0.getDescription(); boolean boolean2 = jSDocInfo0.isInterface(); boolean boolean3 = jSDocInfo0.isDeprecated(); java.util.Set<java.lang.String> strSet4 = jSDocInfo0.getModifies(); com.google.javascript.rhino.JSTypeExpression jSTypeExpression5 = jSDocInfo0.getBaseType(); boolean boolean6 = jSDocInfo0.isInterface(); java.lang.String str7 = jSDocInfo0.getDeprecationReason(); com.google.javascript.rhino.JSDocInfo.Visibility visibility8 = jSDocInfo0.getVisibility(); boolean boolean9 = jSDocInfo0.hasModifies(); java.lang.String str10 = jSDocInfo0.getBlockDescription(); org.junit.Assert.assertNull(str1); org.junit.Assert.assertTrue("'" + boolean2 + "' != '" + false + "'", boolean2 == false); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertNotNull(strSet4); org.junit.Assert.assertNull(jSTypeExpression5); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNull(str7); org.junit.Assert.assertNull(visibility8); org.junit.Assert.assertTrue("'" + boolean9 + "' != '" + false + "'", boolean9 == false); org.junit.Assert.assertNull(str10); } @Test public void test4497() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4497"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); boolean boolean8 = jSType7.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType9 = jSType7.toObjectType(); java.lang.String str10 = objectType9.toString(); boolean boolean11 = objectType9.isNominalType(); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet12 = objectType9.getPossibleToBooleanOutcomes(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(objectType9); org.junit.Assert.assertEquals("'" + str10 + "' != '" + "function (): ?" + "'", str10, "function (): ?"); org.junit.Assert.assertTrue("'" + boolean11 + "' != '" + false + "'", boolean11 == false); org.junit.Assert.assertTrue("'" + booleanLiteralSet12 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.TRUE + "'", booleanLiteralSet12.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.TRUE)); } @Test public void test4498() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4498"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); boolean boolean8 = jSType7.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter9 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry10 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter9); com.google.javascript.rhino.ErrorReporter errorReporter11 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry12 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter11); com.google.javascript.rhino.jstype.ObjectType objectType13 = null; com.google.javascript.rhino.jstype.JSType jSType14 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray15 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList16 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean17 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList16, jSTypeArray15); com.google.javascript.rhino.jstype.JSType jSType18 = jSTypeRegistry12.createFunctionTypeWithVarArgs(objectType13, jSType14, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList16); boolean boolean19 = jSType18.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter21 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry22 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter21); com.google.javascript.rhino.jstype.ObjectType objectType23 = null; com.google.javascript.rhino.jstype.JSType jSType24 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray25 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList26 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean27 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList26, jSTypeArray25); com.google.javascript.rhino.jstype.JSType jSType28 = jSTypeRegistry22.createFunctionTypeWithVarArgs(objectType23, jSType24, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList26); boolean boolean29 = jSType28.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType30 = jSType28.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter31 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry32 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter31); com.google.javascript.rhino.jstype.ObjectType objectType33 = null; com.google.javascript.rhino.jstype.JSType jSType34 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray35 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList36 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean37 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList36, jSTypeArray35); com.google.javascript.rhino.jstype.JSType jSType38 = jSTypeRegistry32.createFunctionTypeWithVarArgs(objectType33, jSType34, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList36); boolean boolean39 = jSType38.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType40 = jSType38.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter41 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry42 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter41); com.google.javascript.rhino.jstype.ObjectType objectType43 = null; com.google.javascript.rhino.jstype.JSType jSType44 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray45 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList46 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean47 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList46, jSTypeArray45); com.google.javascript.rhino.jstype.JSType jSType48 = jSTypeRegistry42.createFunctionTypeWithVarArgs(objectType43, jSType44, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList46); com.google.javascript.rhino.ErrorReporter errorReporter49 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry50 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter49); com.google.javascript.rhino.jstype.ObjectType objectType51 = null; com.google.javascript.rhino.jstype.JSType jSType52 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray53 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList54 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean55 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList54, jSTypeArray53); com.google.javascript.rhino.jstype.JSType jSType56 = jSTypeRegistry50.createFunctionTypeWithVarArgs(objectType51, jSType52, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList54); boolean boolean57 = jSType56.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType58 = jSType56.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter59 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry60 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter59); com.google.javascript.rhino.jstype.ObjectType objectType61 = null; com.google.javascript.rhino.jstype.JSType jSType62 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray63 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList64 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean65 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList64, jSTypeArray63); com.google.javascript.rhino.jstype.JSType jSType66 = jSTypeRegistry60.createFunctionTypeWithVarArgs(objectType61, jSType62, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList64); com.google.javascript.rhino.ErrorReporter errorReporter67 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry68 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter67); com.google.javascript.rhino.jstype.ObjectType objectType69 = null; com.google.javascript.rhino.jstype.JSType jSType70 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray71 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList72 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean73 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList72, jSTypeArray71); com.google.javascript.rhino.jstype.JSType jSType74 = jSTypeRegistry68.createFunctionTypeWithVarArgs(objectType69, jSType70, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList72); boolean boolean75 = jSType74.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType76 = jSType74.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray77 = new com.google.javascript.rhino.jstype.JSType[] { jSType30, jSType38, jSType44, jSType58, jSType66, objectType76 }; com.google.javascript.rhino.jstype.FunctionType functionType78 = jSTypeRegistry10.createConstructorType(jSType18, false, jSTypeArray77); boolean boolean79 = jSType7.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType78); com.google.javascript.rhino.jstype.FunctionType functionType80 = functionType78.toMaybeFunctionType(); boolean boolean82 = functionType80.isPropertyTypeInferred(""); com.google.javascript.rhino.Node node83 = functionType80.getParametersNode(); node83.setSourceEncodedPosition(49); // The following exception was thrown during execution in test generation try { int int87 = node83.getExistingIntProp(44); org.junit.Assert.fail("Expected exception of type java.lang.IllegalStateException; message: missing prop: 44"); } catch (java.lang.IllegalStateException e) { // Expected exception. } org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSTypeArray15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(jSType18); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(jSTypeArray25); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(jSType28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(jSType30); org.junit.Assert.assertNotNull(jSTypeArray35); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSType38); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(jSType40); org.junit.Assert.assertNotNull(jSTypeArray45); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(jSType48); org.junit.Assert.assertNotNull(jSTypeArray53); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); org.junit.Assert.assertNotNull(jSType56); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNotNull(jSType58); org.junit.Assert.assertNotNull(jSTypeArray63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(jSType66); org.junit.Assert.assertNotNull(jSTypeArray71); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNotNull(jSType74); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(objectType76); org.junit.Assert.assertNotNull(jSTypeArray77); org.junit.Assert.assertNotNull(functionType78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + true + "'", boolean79 == true); org.junit.Assert.assertNotNull(functionType80); org.junit.Assert.assertTrue("'" + boolean82 + "' != '" + false + "'", boolean82 == false); org.junit.Assert.assertNotNull(node83); } @Test public void test4499() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4499"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); com.google.javascript.rhino.ErrorReporter errorReporter8 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry9 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter8); com.google.javascript.rhino.ErrorReporter errorReporter10 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry11 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter10); com.google.javascript.rhino.jstype.ObjectType objectType12 = null; com.google.javascript.rhino.jstype.JSType jSType13 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray14 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList15 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean16 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList15, jSTypeArray14); com.google.javascript.rhino.jstype.JSType jSType17 = jSTypeRegistry11.createFunctionTypeWithVarArgs(objectType12, jSType13, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList15); boolean boolean18 = jSType17.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter20 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry21 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter20); com.google.javascript.rhino.jstype.ObjectType objectType22 = null; com.google.javascript.rhino.jstype.JSType jSType23 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray24 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList25 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean26 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList25, jSTypeArray24); com.google.javascript.rhino.jstype.JSType jSType27 = jSTypeRegistry21.createFunctionTypeWithVarArgs(objectType22, jSType23, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList25); boolean boolean28 = jSType27.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType29 = jSType27.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter30 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry31 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter30); com.google.javascript.rhino.jstype.ObjectType objectType32 = null; com.google.javascript.rhino.jstype.JSType jSType33 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray34 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList35 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean36 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList35, jSTypeArray34); com.google.javascript.rhino.jstype.JSType jSType37 = jSTypeRegistry31.createFunctionTypeWithVarArgs(objectType32, jSType33, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList35); boolean boolean38 = jSType37.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType39 = jSType37.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); com.google.javascript.rhino.ErrorReporter errorReporter48 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry49 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter48); com.google.javascript.rhino.jstype.ObjectType objectType50 = null; com.google.javascript.rhino.jstype.JSType jSType51 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray52 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList53 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean54 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList53, jSTypeArray52); com.google.javascript.rhino.jstype.JSType jSType55 = jSTypeRegistry49.createFunctionTypeWithVarArgs(objectType50, jSType51, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList53); boolean boolean56 = jSType55.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType57 = jSType55.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); com.google.javascript.rhino.ErrorReporter errorReporter66 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry67 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter66); com.google.javascript.rhino.jstype.ObjectType objectType68 = null; com.google.javascript.rhino.jstype.JSType jSType69 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray70 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList71 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean72 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList71, jSTypeArray70); com.google.javascript.rhino.jstype.JSType jSType73 = jSTypeRegistry67.createFunctionTypeWithVarArgs(objectType68, jSType69, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList71); boolean boolean74 = jSType73.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType75 = jSType73.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray76 = new com.google.javascript.rhino.jstype.JSType[] { jSType29, jSType37, jSType43, jSType57, jSType65, objectType75 }; com.google.javascript.rhino.jstype.FunctionType functionType77 = jSTypeRegistry9.createConstructorType(jSType17, false, jSTypeArray76); com.google.javascript.rhino.jstype.JSType jSType78 = functionType77.unboxesTo(); com.google.javascript.rhino.ErrorReporter errorReporter79 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry80 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter79); com.google.javascript.rhino.jstype.ObjectType objectType81 = null; com.google.javascript.rhino.jstype.JSType jSType82 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray83 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList84 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean85 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList84, jSTypeArray83); com.google.javascript.rhino.jstype.JSType jSType86 = jSTypeRegistry80.createFunctionTypeWithVarArgs(objectType81, jSType82, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList84); boolean boolean87 = jSType86.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType88 = jSType86.toObjectType(); com.google.javascript.rhino.jstype.FunctionType functionType89 = jSTypeRegistry1.createFunctionTypeWithNewThisType(functionType77, objectType88); boolean boolean90 = functionType77.isNoObjectType(); java.lang.Iterable<com.google.javascript.rhino.jstype.ObjectType> objectTypeIterable91 = functionType77.getCtorImplementedInterfaces(); java.lang.String str92 = functionType77.getDisplayName(); boolean boolean93 = functionType77.isConstructor(); boolean boolean94 = functionType77.isInterface(); com.google.javascript.rhino.jstype.ObjectType objectType95 = functionType77.getInstanceType(); com.google.javascript.rhino.jstype.JSType jSType97 = functionType77.findPropertyType("STRING Not declared as a constructor [jsdoc_info: JSDocInfo]"); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertNotNull(jSTypeArray14); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertNotNull(jSType17); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSTypeArray24); org.junit.Assert.assertTrue("'" + boolean26 + "' != '" + false + "'", boolean26 == false); org.junit.Assert.assertNotNull(jSType27); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertNotNull(jSTypeArray34); org.junit.Assert.assertTrue("'" + boolean36 + "' != '" + false + "'", boolean36 == false); org.junit.Assert.assertNotNull(jSType37); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertNotNull(jSTypeArray52); org.junit.Assert.assertTrue("'" + boolean54 + "' != '" + false + "'", boolean54 == false); org.junit.Assert.assertNotNull(jSType55); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertNotNull(jSTypeArray70); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertNotNull(jSType73); org.junit.Assert.assertTrue("'" + boolean74 + "' != '" + false + "'", boolean74 == false); org.junit.Assert.assertNotNull(objectType75); org.junit.Assert.assertNotNull(jSTypeArray76); org.junit.Assert.assertNotNull(functionType77); org.junit.Assert.assertNull(jSType78); org.junit.Assert.assertNotNull(jSTypeArray83); org.junit.Assert.assertTrue("'" + boolean85 + "' != '" + false + "'", boolean85 == false); org.junit.Assert.assertNotNull(jSType86); org.junit.Assert.assertTrue("'" + boolean87 + "' != '" + false + "'", boolean87 == false); org.junit.Assert.assertNotNull(objectType88); org.junit.Assert.assertNotNull(functionType89); org.junit.Assert.assertTrue("'" + boolean90 + "' != '" + false + "'", boolean90 == false); org.junit.Assert.assertNotNull(objectTypeIterable91); org.junit.Assert.assertNull(str92); org.junit.Assert.assertTrue("'" + boolean93 + "' != '" + true + "'", boolean93 == true); org.junit.Assert.assertTrue("'" + boolean94 + "' != '" + false + "'", boolean94 == false); org.junit.Assert.assertNotNull(objectType95); org.junit.Assert.assertNull(jSType97); } @Test public void test4500() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4500"); com.google.javascript.rhino.Node node2 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean3 = node2.isLabelName(); java.util.Set<java.lang.String> strSet4 = node2.getDirectives(); com.google.javascript.rhino.Node node6 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean7 = node6.isLabelName(); com.google.javascript.rhino.Node[] nodeArray8 = new com.google.javascript.rhino.Node[] { node2, node6 }; com.google.javascript.rhino.Node node11 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray8, 50, 50); com.google.javascript.rhino.Node node13 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node11.addChildToFront(node13); boolean boolean15 = node13.isDefaultCase(); com.google.javascript.rhino.Node node16 = node13.getParent(); node13.detachChildren(); boolean boolean18 = node13.hasMoreThanOneChild(); com.google.javascript.rhino.Node node20 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean21 = node20.isLabelName(); java.util.Set<java.lang.String> strSet22 = node20.getDirectives(); boolean boolean23 = node20.isGetterDef(); com.google.javascript.rhino.Node node24 = node13.clonePropsFrom(node20); boolean boolean25 = node13.isComma(); boolean boolean26 = node13.isStringKey(); com.google.javascript.rhino.Node.AncestorIterable ancestorIterable27 = node13.getAncestors(); boolean boolean28 = node13.isInc(); org.junit.Assert.assertNotNull(node2); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertNull(strSet4); org.junit.Assert.assertNotNull(node6); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertNotNull(nodeArray8); org.junit.Assert.assertNotNull(node13); org.junit.Assert.assertTrue("'" + boolean15 + "' != '" + false + "'", boolean15 == false); org.junit.Assert.assertNotNull(node16); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(node20); org.junit.Assert.assertTrue("'" + boolean21 + "' != '" + false + "'", boolean21 == false); org.junit.Assert.assertNull(strSet22); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + false + "'", boolean23 == false); org.junit.Assert.assertNotNull(node24); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); org.junit.Assert.assertTrue("'" + boolean26 + "' != '" + false + "'", boolean26 == false); org.junit.Assert.assertNotNull(ancestorIterable27); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); } @Test public void test4501() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4501"); com.google.javascript.rhino.Node node1 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean2 = node1.isLabelName(); com.google.javascript.rhino.Node node5 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean6 = node5.isLabelName(); java.util.Set<java.lang.String> strSet7 = node5.getDirectives(); com.google.javascript.rhino.Node node9 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean10 = node9.isLabelName(); com.google.javascript.rhino.Node[] nodeArray11 = new com.google.javascript.rhino.Node[] { node5, node9 }; com.google.javascript.rhino.Node node14 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray11, 50, 50); boolean boolean15 = node1.isEquivalentTo(node14); boolean boolean16 = node1.isInstanceOf(); node1.setCharno((int) ' '); org.junit.Assert.assertNotNull(node1); org.junit.Assert.assertTrue("'" + boolean2 + "' != '" + false + "'", boolean2 == false); org.junit.Assert.assertNotNull(node5); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNull(strSet7); org.junit.Assert.assertNotNull(node9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNotNull(nodeArray11); org.junit.Assert.assertTrue("'" + boolean15 + "' != '" + false + "'", boolean15 == false); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); } @Test public void test4502() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4502"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); boolean boolean8 = jSType7.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter9 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry10 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter9); com.google.javascript.rhino.ErrorReporter errorReporter11 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry12 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter11); com.google.javascript.rhino.jstype.ObjectType objectType13 = null; com.google.javascript.rhino.jstype.JSType jSType14 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray15 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList16 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean17 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList16, jSTypeArray15); com.google.javascript.rhino.jstype.JSType jSType18 = jSTypeRegistry12.createFunctionTypeWithVarArgs(objectType13, jSType14, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList16); boolean boolean19 = jSType18.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter21 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry22 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter21); com.google.javascript.rhino.jstype.ObjectType objectType23 = null; com.google.javascript.rhino.jstype.JSType jSType24 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray25 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList26 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean27 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList26, jSTypeArray25); com.google.javascript.rhino.jstype.JSType jSType28 = jSTypeRegistry22.createFunctionTypeWithVarArgs(objectType23, jSType24, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList26); boolean boolean29 = jSType28.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType30 = jSType28.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter31 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry32 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter31); com.google.javascript.rhino.jstype.ObjectType objectType33 = null; com.google.javascript.rhino.jstype.JSType jSType34 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray35 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList36 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean37 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList36, jSTypeArray35); com.google.javascript.rhino.jstype.JSType jSType38 = jSTypeRegistry32.createFunctionTypeWithVarArgs(objectType33, jSType34, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList36); boolean boolean39 = jSType38.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType40 = jSType38.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter41 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry42 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter41); com.google.javascript.rhino.jstype.ObjectType objectType43 = null; com.google.javascript.rhino.jstype.JSType jSType44 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray45 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList46 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean47 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList46, jSTypeArray45); com.google.javascript.rhino.jstype.JSType jSType48 = jSTypeRegistry42.createFunctionTypeWithVarArgs(objectType43, jSType44, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList46); com.google.javascript.rhino.ErrorReporter errorReporter49 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry50 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter49); com.google.javascript.rhino.jstype.ObjectType objectType51 = null; com.google.javascript.rhino.jstype.JSType jSType52 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray53 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList54 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean55 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList54, jSTypeArray53); com.google.javascript.rhino.jstype.JSType jSType56 = jSTypeRegistry50.createFunctionTypeWithVarArgs(objectType51, jSType52, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList54); boolean boolean57 = jSType56.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType58 = jSType56.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter59 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry60 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter59); com.google.javascript.rhino.jstype.ObjectType objectType61 = null; com.google.javascript.rhino.jstype.JSType jSType62 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray63 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList64 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean65 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList64, jSTypeArray63); com.google.javascript.rhino.jstype.JSType jSType66 = jSTypeRegistry60.createFunctionTypeWithVarArgs(objectType61, jSType62, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList64); com.google.javascript.rhino.ErrorReporter errorReporter67 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry68 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter67); com.google.javascript.rhino.jstype.ObjectType objectType69 = null; com.google.javascript.rhino.jstype.JSType jSType70 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray71 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList72 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean73 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList72, jSTypeArray71); com.google.javascript.rhino.jstype.JSType jSType74 = jSTypeRegistry68.createFunctionTypeWithVarArgs(objectType69, jSType70, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList72); boolean boolean75 = jSType74.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType76 = jSType74.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray77 = new com.google.javascript.rhino.jstype.JSType[] { jSType30, jSType38, jSType44, jSType58, jSType66, objectType76 }; com.google.javascript.rhino.jstype.FunctionType functionType78 = jSTypeRegistry10.createConstructorType(jSType18, false, jSTypeArray77); boolean boolean79 = jSType7.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType78); com.google.javascript.rhino.jstype.ObjectType objectType80 = functionType78.getImplicitPrototype(); boolean boolean81 = functionType78.isUnionType(); java.lang.String str82 = functionType78.getNormalizedReferenceName(); com.google.javascript.rhino.jstype.FunctionType functionType84 = functionType78.getBindReturnType(52); boolean boolean85 = functionType84.isNumber(); com.google.javascript.rhino.jstype.ObjectType objectType86 = functionType84.getPrototype(); java.lang.String str87 = objectType86.getDisplayName(); com.google.javascript.rhino.jstype.ObjectType objectType88 = com.google.javascript.rhino.jstype.ObjectType.cast((com.google.javascript.rhino.jstype.JSType) objectType86); boolean boolean89 = objectType86.isNominalConstructor(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSTypeArray15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(jSType18); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(jSTypeArray25); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(jSType28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(jSType30); org.junit.Assert.assertNotNull(jSTypeArray35); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSType38); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(jSType40); org.junit.Assert.assertNotNull(jSTypeArray45); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(jSType48); org.junit.Assert.assertNotNull(jSTypeArray53); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); org.junit.Assert.assertNotNull(jSType56); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNotNull(jSType58); org.junit.Assert.assertNotNull(jSTypeArray63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(jSType66); org.junit.Assert.assertNotNull(jSTypeArray71); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNotNull(jSType74); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(objectType76); org.junit.Assert.assertNotNull(jSTypeArray77); org.junit.Assert.assertNotNull(functionType78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + true + "'", boolean79 == true); org.junit.Assert.assertNotNull(objectType80); org.junit.Assert.assertTrue("'" + boolean81 + "' != '" + false + "'", boolean81 == false); org.junit.Assert.assertNull(str82); org.junit.Assert.assertNotNull(functionType84); org.junit.Assert.assertTrue("'" + boolean85 + "' != '" + false + "'", boolean85 == false); org.junit.Assert.assertNotNull(objectType86); org.junit.Assert.assertEquals("'" + str87 + "' != '" + "Unknown" + "'", str87, "Unknown"); org.junit.Assert.assertNotNull(objectType88); org.junit.Assert.assertTrue("'" + boolean89 + "' != '" + false + "'", boolean89 == false); } @Test public void test4503() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4503"); com.google.javascript.rhino.ErrorReporter errorReporter1 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry2 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter1); com.google.javascript.rhino.jstype.ObjectType objectType3 = null; com.google.javascript.rhino.jstype.JSType jSType4 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray5 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList6 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean7 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList6, jSTypeArray5); com.google.javascript.rhino.jstype.JSType jSType8 = jSTypeRegistry2.createFunctionTypeWithVarArgs(objectType3, jSType4, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList6); com.google.javascript.rhino.ErrorReporter errorReporter9 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry10 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter9); com.google.javascript.rhino.jstype.ObjectType objectType11 = null; com.google.javascript.rhino.jstype.JSType jSType12 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray13 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList14 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean15 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList14, jSTypeArray13); com.google.javascript.rhino.jstype.JSType jSType16 = jSTypeRegistry10.createFunctionTypeWithVarArgs(objectType11, jSType12, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList14); com.google.javascript.rhino.ErrorReporter errorReporter17 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry18 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter17); com.google.javascript.rhino.jstype.ObjectType objectType19 = null; com.google.javascript.rhino.jstype.JSType jSType20 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray21 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList22 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean23 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList22, jSTypeArray21); com.google.javascript.rhino.jstype.JSType jSType24 = jSTypeRegistry18.createFunctionTypeWithVarArgs(objectType19, jSType20, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList22); com.google.javascript.rhino.ErrorReporter errorReporter25 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry26 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter25); com.google.javascript.rhino.jstype.ObjectType objectType27 = null; com.google.javascript.rhino.jstype.JSType jSType28 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray29 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList30 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean31 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList30, jSTypeArray29); com.google.javascript.rhino.jstype.JSType jSType32 = jSTypeRegistry26.createFunctionTypeWithVarArgs(objectType27, jSType28, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList30); boolean boolean33 = jSType32.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType34 = jSType32.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter35 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry36 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter35); com.google.javascript.rhino.jstype.ObjectType objectType37 = null; com.google.javascript.rhino.jstype.JSType jSType38 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray39 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList40 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean41 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList40, jSTypeArray39); com.google.javascript.rhino.jstype.JSType jSType42 = jSTypeRegistry36.createFunctionTypeWithVarArgs(objectType37, jSType38, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList40); com.google.javascript.rhino.jstype.JSType[] jSTypeArray43 = new com.google.javascript.rhino.jstype.JSType[] { jSType20, jSType34, objectType37 }; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList44 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean45 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList44, jSTypeArray43); boolean boolean46 = jSTypeList14.containsAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList44); java.util.stream.Stream<com.google.javascript.rhino.jstype.JSType> jSTypeStream47 = jSTypeList44.stream(); boolean boolean48 = jSTypeList6.containsAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList44); jSTypeList6.clear(); com.google.javascript.rhino.JSDocInfo jSDocInfo50 = new com.google.javascript.rhino.JSDocInfo(); boolean boolean51 = jSDocInfo50.hasTypedefType(); java.util.Collection<java.lang.String> strCollection52 = jSDocInfo50.getReferences(); com.google.javascript.rhino.JSTypeExpression jSTypeExpression53 = jSDocInfo50.getBaseType(); boolean boolean54 = jSDocInfo50.isJavaDispatch(); int int55 = jSDocInfo50.getParameterCount(); jSDocInfo50.setLicense("JSDocInfo"); boolean boolean58 = jSTypeList6.equals((java.lang.Object) jSDocInfo50); com.google.javascript.rhino.Node node62 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean63 = node62.isLabelName(); java.util.Set<java.lang.String> strSet64 = node62.getDirectives(); com.google.javascript.rhino.Node node66 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean67 = node66.isLabelName(); com.google.javascript.rhino.Node[] nodeArray68 = new com.google.javascript.rhino.Node[] { node62, node66 }; com.google.javascript.rhino.Node node71 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray68, 50, 50); com.google.javascript.rhino.Node node73 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node71.addChildToFront(node73); boolean boolean75 = node71.isNew(); com.google.javascript.rhino.Node node77 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node78 = node71.useSourceInfoFrom(node77); java.lang.String str79 = com.google.javascript.jscomp.NodeUtil.getNearestFunctionName(node78); java.lang.String str80 = com.google.javascript.jscomp.NodeUtil.getSourceName(node78); com.google.javascript.rhino.Node[] nodeArray81 = new com.google.javascript.rhino.Node[] { node78 }; com.google.javascript.rhino.Node node84 = new com.google.javascript.rhino.Node(36, nodeArray81, 44, 38); com.google.javascript.rhino.Node[] nodeArray85 = jSTypeList6.toArray(nodeArray81); // The following exception was thrown during execution in test generation try { com.google.javascript.rhino.Node node86 = new com.google.javascript.rhino.Node(32, nodeArray85); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(jSTypeArray5); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertNotNull(jSType8); org.junit.Assert.assertNotNull(jSTypeArray13); org.junit.Assert.assertTrue("'" + boolean15 + "' != '" + false + "'", boolean15 == false); org.junit.Assert.assertNotNull(jSType16); org.junit.Assert.assertNotNull(jSTypeArray21); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + false + "'", boolean23 == false); org.junit.Assert.assertNotNull(jSType24); org.junit.Assert.assertNotNull(jSTypeArray29); org.junit.Assert.assertTrue("'" + boolean31 + "' != '" + false + "'", boolean31 == false); org.junit.Assert.assertNotNull(jSType32); org.junit.Assert.assertTrue("'" + boolean33 + "' != '" + false + "'", boolean33 == false); org.junit.Assert.assertNotNull(jSType34); org.junit.Assert.assertNotNull(jSTypeArray39); org.junit.Assert.assertTrue("'" + boolean41 + "' != '" + false + "'", boolean41 == false); org.junit.Assert.assertNotNull(jSType42); org.junit.Assert.assertNotNull(jSTypeArray43); org.junit.Assert.assertTrue("'" + boolean45 + "' != '" + true + "'", boolean45 == true); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSTypeStream47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertTrue("'" + boolean51 + "' != '" + false + "'", boolean51 == false); org.junit.Assert.assertNull(strCollection52); org.junit.Assert.assertNull(jSTypeExpression53); org.junit.Assert.assertTrue("'" + boolean54 + "' != '" + false + "'", boolean54 == false); org.junit.Assert.assertTrue("'" + int55 + "' != '" + 0 + "'", int55 == 0); org.junit.Assert.assertTrue("'" + boolean58 + "' != '" + false + "'", boolean58 == false); org.junit.Assert.assertNotNull(node62); org.junit.Assert.assertTrue("'" + boolean63 + "' != '" + false + "'", boolean63 == false); org.junit.Assert.assertNull(strSet64); org.junit.Assert.assertNotNull(node66); org.junit.Assert.assertTrue("'" + boolean67 + "' != '" + false + "'", boolean67 == false); org.junit.Assert.assertNotNull(nodeArray68); org.junit.Assert.assertNotNull(node73); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(node77); org.junit.Assert.assertNotNull(node78); org.junit.Assert.assertNull(str79); org.junit.Assert.assertNull(str80); org.junit.Assert.assertNotNull(nodeArray81); org.junit.Assert.assertNotNull(nodeArray85); } @Test public void test4504() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4504"); com.google.javascript.rhino.Node node2 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean3 = node2.isLabelName(); java.util.Set<java.lang.String> strSet4 = node2.getDirectives(); com.google.javascript.rhino.Node node6 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean7 = node6.isLabelName(); com.google.javascript.rhino.Node[] nodeArray8 = new com.google.javascript.rhino.Node[] { node2, node6 }; com.google.javascript.rhino.Node node11 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray8, 50, 50); com.google.javascript.rhino.Node node13 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node11.addChildToFront(node13); boolean boolean15 = node11.isNoSideEffectsCall(); // The following exception was thrown during execution in test generation try { com.google.javascript.rhino.Node node16 = com.google.javascript.jscomp.NodeUtil.getFunctionParameters(node11); org.junit.Assert.fail("Expected exception of type java.lang.IllegalArgumentException; message: null"); } catch (java.lang.IllegalArgumentException e) { // Expected exception. } org.junit.Assert.assertNotNull(node2); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertNull(strSet4); org.junit.Assert.assertNotNull(node6); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertNotNull(nodeArray8); org.junit.Assert.assertNotNull(node13); org.junit.Assert.assertTrue("'" + boolean15 + "' != '" + false + "'", boolean15 == false); } @Test public void test4505() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4505"); com.google.javascript.rhino.Node node3 = com.google.javascript.rhino.Node.newNumber((double) (byte) 100, 0, 100); boolean boolean4 = node3.isThis(); org.junit.Assert.assertNotNull(node3); org.junit.Assert.assertTrue("'" + boolean4 + "' != '" + false + "'", boolean4 == false); } @Test public void test4506() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4506"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); com.google.javascript.rhino.ErrorReporter errorReporter8 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry9 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter8); com.google.javascript.rhino.jstype.ObjectType objectType10 = null; com.google.javascript.rhino.jstype.JSType jSType11 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray12 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList13 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean14 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList13, jSTypeArray12); com.google.javascript.rhino.jstype.JSType jSType15 = jSTypeRegistry9.createFunctionTypeWithVarArgs(objectType10, jSType11, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList13); com.google.javascript.rhino.ErrorReporter errorReporter16 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry17 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter16); com.google.javascript.rhino.jstype.ObjectType objectType18 = null; com.google.javascript.rhino.jstype.JSType jSType19 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray20 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList21 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean22 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList21, jSTypeArray20); com.google.javascript.rhino.jstype.JSType jSType23 = jSTypeRegistry17.createFunctionTypeWithVarArgs(objectType18, jSType19, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList21); boolean boolean24 = jSType23.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType25 = jSType23.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter26 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry27 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter26); com.google.javascript.rhino.jstype.ObjectType objectType28 = null; com.google.javascript.rhino.jstype.JSType jSType29 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray30 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList31 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean32 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList31, jSTypeArray30); com.google.javascript.rhino.jstype.JSType jSType33 = jSTypeRegistry27.createFunctionTypeWithVarArgs(objectType28, jSType29, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList31); com.google.javascript.rhino.jstype.JSType[] jSTypeArray34 = new com.google.javascript.rhino.jstype.JSType[] { jSType11, jSType25, objectType28 }; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList35 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean36 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList35, jSTypeArray34); boolean boolean37 = jSTypeList5.containsAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList35); java.util.Iterator<com.google.javascript.rhino.jstype.JSType> jSTypeItor38 = jSTypeList5.iterator(); int int39 = jSTypeList5.size(); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); boolean boolean48 = jSTypeList5.removeAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); int int49 = jSTypeList45.size(); java.util.Iterator<com.google.javascript.rhino.jstype.JSType> jSTypeItor50 = jSTypeList45.iterator(); java.util.stream.Stream<com.google.javascript.rhino.jstype.JSType> jSTypeStream51 = jSTypeList45.stream(); int int52 = jSTypeList45.size(); com.google.javascript.rhino.Node node55 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean56 = node55.isLabelName(); java.util.Set<java.lang.String> strSet57 = node55.getDirectives(); com.google.javascript.rhino.Node node59 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean60 = node59.isLabelName(); com.google.javascript.rhino.Node[] nodeArray61 = new com.google.javascript.rhino.Node[] { node55, node59 }; com.google.javascript.rhino.Node node64 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray61, 50, 50); com.google.javascript.rhino.Node node66 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node64.addChildToFront(node66); boolean boolean68 = node64.isNew(); com.google.javascript.rhino.Node node70 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node71 = node64.useSourceInfoFrom(node70); boolean boolean72 = node70.isContinue(); boolean boolean73 = node70.isGetElem(); java.lang.Iterable<com.google.javascript.rhino.Node> nodeIterable74 = node70.siblings(); int int75 = jSTypeList45.lastIndexOf((java.lang.Object) nodeIterable74); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertNotNull(jSTypeArray12); org.junit.Assert.assertTrue("'" + boolean14 + "' != '" + false + "'", boolean14 == false); org.junit.Assert.assertNotNull(jSType15); org.junit.Assert.assertNotNull(jSTypeArray20); org.junit.Assert.assertTrue("'" + boolean22 + "' != '" + false + "'", boolean22 == false); org.junit.Assert.assertNotNull(jSType23); org.junit.Assert.assertTrue("'" + boolean24 + "' != '" + false + "'", boolean24 == false); org.junit.Assert.assertNotNull(jSType25); org.junit.Assert.assertNotNull(jSTypeArray30); org.junit.Assert.assertTrue("'" + boolean32 + "' != '" + false + "'", boolean32 == false); org.junit.Assert.assertNotNull(jSType33); org.junit.Assert.assertNotNull(jSTypeArray34); org.junit.Assert.assertTrue("'" + boolean36 + "' != '" + true + "'", boolean36 == true); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSTypeItor38); org.junit.Assert.assertTrue("'" + int39 + "' != '" + 0 + "'", int39 == 0); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertTrue("'" + int49 + "' != '" + 0 + "'", int49 == 0); org.junit.Assert.assertNotNull(jSTypeItor50); org.junit.Assert.assertNotNull(jSTypeStream51); org.junit.Assert.assertTrue("'" + int52 + "' != '" + 0 + "'", int52 == 0); org.junit.Assert.assertNotNull(node55); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNull(strSet57); org.junit.Assert.assertNotNull(node59); org.junit.Assert.assertTrue("'" + boolean60 + "' != '" + false + "'", boolean60 == false); org.junit.Assert.assertNotNull(nodeArray61); org.junit.Assert.assertNotNull(node66); org.junit.Assert.assertTrue("'" + boolean68 + "' != '" + false + "'", boolean68 == false); org.junit.Assert.assertNotNull(node70); org.junit.Assert.assertNotNull(node71); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNotNull(nodeIterable74); org.junit.Assert.assertTrue("'" + int75 + "' != '" + (-1) + "'", int75 == (-1)); } @Test public void test4507() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4507"); com.google.javascript.rhino.Node node2 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean3 = node2.isLabelName(); java.util.Set<java.lang.String> strSet4 = node2.getDirectives(); com.google.javascript.rhino.Node node6 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean7 = node6.isLabelName(); com.google.javascript.rhino.Node[] nodeArray8 = new com.google.javascript.rhino.Node[] { node2, node6 }; com.google.javascript.rhino.Node node11 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray8, 50, 50); com.google.javascript.rhino.Node node13 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node11.addChildToFront(node13); java.lang.String str15 = com.google.javascript.jscomp.NodeUtil.getSourceName(node13); node13.setVarArgs(false); boolean boolean18 = node13.isEmpty(); org.junit.Assert.assertNotNull(node2); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertNull(strSet4); org.junit.Assert.assertNotNull(node6); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertNotNull(nodeArray8); org.junit.Assert.assertNotNull(node13); org.junit.Assert.assertNull(str15); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); } @Test public void test4508() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4508"); com.google.javascript.rhino.Node node2 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean3 = node2.isLabelName(); java.util.Set<java.lang.String> strSet4 = node2.getDirectives(); com.google.javascript.rhino.Node node6 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean7 = node6.isLabelName(); com.google.javascript.rhino.Node[] nodeArray8 = new com.google.javascript.rhino.Node[] { node2, node6 }; com.google.javascript.rhino.Node node11 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray8, 50, 50); com.google.javascript.rhino.Node node13 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node11.addChildToFront(node13); boolean boolean15 = node11.isNew(); node11.setLineno((int) (short) 10); boolean boolean18 = node11.isExprResult(); com.google.javascript.rhino.Node node20 = com.google.javascript.rhino.Node.newNumber((double) (-1)); com.google.javascript.rhino.Node node21 = node11.copyInformationFromForTree(node20); node11.setCharno((int) '#'); org.junit.Assert.assertNotNull(node2); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertNull(strSet4); org.junit.Assert.assertNotNull(node6); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertNotNull(nodeArray8); org.junit.Assert.assertNotNull(node13); org.junit.Assert.assertTrue("'" + boolean15 + "' != '" + false + "'", boolean15 == false); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(node20); org.junit.Assert.assertNotNull(node21); } @Test public void test4509() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4509"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); boolean boolean3 = jSTypeRegistry1.isForwardDeclaredType("function (): {160022603}"); boolean boolean5 = jSTypeRegistry1.hasNamespace("java.io.IOException: []"); jSTypeRegistry1.resetForTypeCheck(); com.google.javascript.rhino.ErrorReporter errorReporter7 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry8 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter7); com.google.javascript.rhino.jstype.ObjectType objectType9 = null; com.google.javascript.rhino.jstype.JSType jSType10 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray11 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList12 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean13 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList12, jSTypeArray11); com.google.javascript.rhino.jstype.JSType jSType14 = jSTypeRegistry8.createFunctionTypeWithVarArgs(objectType9, jSType10, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList12); boolean boolean15 = jSType14.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter16 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry17 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter16); com.google.javascript.rhino.ErrorReporter errorReporter18 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry19 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter18); com.google.javascript.rhino.jstype.ObjectType objectType20 = null; com.google.javascript.rhino.jstype.JSType jSType21 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray22 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList23 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean24 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList23, jSTypeArray22); com.google.javascript.rhino.jstype.JSType jSType25 = jSTypeRegistry19.createFunctionTypeWithVarArgs(objectType20, jSType21, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList23); boolean boolean26 = jSType25.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter28 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry29 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter28); com.google.javascript.rhino.jstype.ObjectType objectType30 = null; com.google.javascript.rhino.jstype.JSType jSType31 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray32 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList33 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean34 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList33, jSTypeArray32); com.google.javascript.rhino.jstype.JSType jSType35 = jSTypeRegistry29.createFunctionTypeWithVarArgs(objectType30, jSType31, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList33); boolean boolean36 = jSType35.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType37 = jSType35.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter38 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry39 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter38); com.google.javascript.rhino.jstype.ObjectType objectType40 = null; com.google.javascript.rhino.jstype.JSType jSType41 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray42 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList43 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean44 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList43, jSTypeArray42); com.google.javascript.rhino.jstype.JSType jSType45 = jSTypeRegistry39.createFunctionTypeWithVarArgs(objectType40, jSType41, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList43); boolean boolean46 = jSType45.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType47 = jSType45.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter48 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry49 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter48); com.google.javascript.rhino.jstype.ObjectType objectType50 = null; com.google.javascript.rhino.jstype.JSType jSType51 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray52 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList53 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean54 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList53, jSTypeArray52); com.google.javascript.rhino.jstype.JSType jSType55 = jSTypeRegistry49.createFunctionTypeWithVarArgs(objectType50, jSType51, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList53); com.google.javascript.rhino.ErrorReporter errorReporter56 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry57 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter56); com.google.javascript.rhino.jstype.ObjectType objectType58 = null; com.google.javascript.rhino.jstype.JSType jSType59 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray60 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList61 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean62 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList61, jSTypeArray60); com.google.javascript.rhino.jstype.JSType jSType63 = jSTypeRegistry57.createFunctionTypeWithVarArgs(objectType58, jSType59, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList61); boolean boolean64 = jSType63.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType65 = jSType63.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter66 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry67 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter66); com.google.javascript.rhino.jstype.ObjectType objectType68 = null; com.google.javascript.rhino.jstype.JSType jSType69 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray70 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList71 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean72 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList71, jSTypeArray70); com.google.javascript.rhino.jstype.JSType jSType73 = jSTypeRegistry67.createFunctionTypeWithVarArgs(objectType68, jSType69, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList71); com.google.javascript.rhino.ErrorReporter errorReporter74 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry75 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter74); com.google.javascript.rhino.jstype.ObjectType objectType76 = null; com.google.javascript.rhino.jstype.JSType jSType77 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray78 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList79 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean80 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList79, jSTypeArray78); com.google.javascript.rhino.jstype.JSType jSType81 = jSTypeRegistry75.createFunctionTypeWithVarArgs(objectType76, jSType77, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList79); boolean boolean82 = jSType81.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType83 = jSType81.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray84 = new com.google.javascript.rhino.jstype.JSType[] { jSType37, jSType45, jSType51, jSType65, jSType73, objectType83 }; com.google.javascript.rhino.jstype.FunctionType functionType85 = jSTypeRegistry17.createConstructorType(jSType25, false, jSTypeArray84); boolean boolean86 = jSType14.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType85); com.google.javascript.rhino.jstype.ObjectType objectType87 = functionType85.getImplicitPrototype(); boolean boolean88 = functionType85.isUnionType(); boolean boolean89 = functionType85.isOrdinaryFunction(); boolean boolean90 = functionType85.isObject(); boolean boolean91 = functionType85.matchesNumberContext(); jSTypeRegistry1.resolveTypesInScope((com.google.javascript.rhino.jstype.StaticScope<com.google.javascript.rhino.jstype.JSType>) functionType85); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(jSTypeArray11); org.junit.Assert.assertTrue("'" + boolean13 + "' != '" + false + "'", boolean13 == false); org.junit.Assert.assertNotNull(jSType14); org.junit.Assert.assertTrue("'" + boolean15 + "' != '" + false + "'", boolean15 == false); org.junit.Assert.assertNotNull(jSTypeArray22); org.junit.Assert.assertTrue("'" + boolean24 + "' != '" + false + "'", boolean24 == false); org.junit.Assert.assertNotNull(jSType25); org.junit.Assert.assertTrue("'" + boolean26 + "' != '" + false + "'", boolean26 == false); org.junit.Assert.assertNotNull(jSTypeArray32); org.junit.Assert.assertTrue("'" + boolean34 + "' != '" + false + "'", boolean34 == false); org.junit.Assert.assertNotNull(jSType35); org.junit.Assert.assertTrue("'" + boolean36 + "' != '" + false + "'", boolean36 == false); org.junit.Assert.assertNotNull(jSType37); org.junit.Assert.assertNotNull(jSTypeArray42); org.junit.Assert.assertTrue("'" + boolean44 + "' != '" + false + "'", boolean44 == false); org.junit.Assert.assertNotNull(jSType45); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertNotNull(jSTypeArray52); org.junit.Assert.assertTrue("'" + boolean54 + "' != '" + false + "'", boolean54 == false); org.junit.Assert.assertNotNull(jSType55); org.junit.Assert.assertNotNull(jSTypeArray60); org.junit.Assert.assertTrue("'" + boolean62 + "' != '" + false + "'", boolean62 == false); org.junit.Assert.assertNotNull(jSType63); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertNotNull(jSTypeArray70); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertNotNull(jSType73); org.junit.Assert.assertNotNull(jSTypeArray78); org.junit.Assert.assertTrue("'" + boolean80 + "' != '" + false + "'", boolean80 == false); org.junit.Assert.assertNotNull(jSType81); org.junit.Assert.assertTrue("'" + boolean82 + "' != '" + false + "'", boolean82 == false); org.junit.Assert.assertNotNull(objectType83); org.junit.Assert.assertNotNull(jSTypeArray84); org.junit.Assert.assertNotNull(functionType85); org.junit.Assert.assertTrue("'" + boolean86 + "' != '" + true + "'", boolean86 == true); org.junit.Assert.assertNotNull(objectType87); org.junit.Assert.assertTrue("'" + boolean88 + "' != '" + false + "'", boolean88 == false); org.junit.Assert.assertTrue("'" + boolean89 + "' != '" + false + "'", boolean89 == false); org.junit.Assert.assertTrue("'" + boolean90 + "' != '" + true + "'", boolean90 == true); org.junit.Assert.assertTrue("'" + boolean91 + "' != '" + false + "'", boolean91 == false); } @Test public void test4510() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4510"); com.google.javascript.rhino.Node node2 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean3 = node2.isLabelName(); java.util.Set<java.lang.String> strSet4 = node2.getDirectives(); com.google.javascript.rhino.Node node6 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean7 = node6.isLabelName(); com.google.javascript.rhino.Node[] nodeArray8 = new com.google.javascript.rhino.Node[] { node2, node6 }; com.google.javascript.rhino.Node node11 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray8, 50, 50); com.google.javascript.rhino.Node node13 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node11.addChildToFront(node13); boolean boolean15 = node13.isDefaultCase(); com.google.javascript.rhino.Node node16 = node13.getParent(); boolean boolean17 = node13.isSetterDef(); boolean boolean18 = node13.isReturn(); int int20 = node13.getIntProp((int) (short) 100); java.lang.String str21 = com.google.javascript.jscomp.NodeUtil.getSourceName(node13); com.google.javascript.rhino.Node node24 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean25 = node24.isLabelName(); java.util.Set<java.lang.String> strSet26 = node24.getDirectives(); com.google.javascript.rhino.Node node28 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean29 = node28.isLabelName(); com.google.javascript.rhino.Node[] nodeArray30 = new com.google.javascript.rhino.Node[] { node24, node28 }; com.google.javascript.rhino.Node node33 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray30, 50, 50); boolean boolean34 = node33.hasOneChild(); node13.addChildToFront(node33); com.google.javascript.rhino.jstype.JSType jSType36 = node33.getJSType(); com.google.javascript.rhino.Node node39 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean40 = node39.isLabelName(); java.util.Set<java.lang.String> strSet41 = node39.getDirectives(); com.google.javascript.rhino.Node node43 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean44 = node43.isLabelName(); com.google.javascript.rhino.Node[] nodeArray45 = new com.google.javascript.rhino.Node[] { node39, node43 }; com.google.javascript.rhino.Node node48 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray45, 50, 50); com.google.javascript.rhino.Node node50 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node48.addChildToFront(node50); boolean boolean52 = node48.isNew(); com.google.javascript.rhino.Node node53 = node33.useSourceInfoFromForTree(node48); boolean boolean54 = node53.isAnd(); org.junit.Assert.assertNotNull(node2); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertNull(strSet4); org.junit.Assert.assertNotNull(node6); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertNotNull(nodeArray8); org.junit.Assert.assertNotNull(node13); org.junit.Assert.assertTrue("'" + boolean15 + "' != '" + false + "'", boolean15 == false); org.junit.Assert.assertNotNull(node16); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertTrue("'" + int20 + "' != '" + 0 + "'", int20 == 0); org.junit.Assert.assertNull(str21); org.junit.Assert.assertNotNull(node24); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); org.junit.Assert.assertNull(strSet26); org.junit.Assert.assertNotNull(node28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(nodeArray30); org.junit.Assert.assertTrue("'" + boolean34 + "' != '" + false + "'", boolean34 == false); org.junit.Assert.assertNull(jSType36); org.junit.Assert.assertNotNull(node39); org.junit.Assert.assertTrue("'" + boolean40 + "' != '" + false + "'", boolean40 == false); org.junit.Assert.assertNull(strSet41); org.junit.Assert.assertNotNull(node43); org.junit.Assert.assertTrue("'" + boolean44 + "' != '" + false + "'", boolean44 == false); org.junit.Assert.assertNotNull(nodeArray45); org.junit.Assert.assertNotNull(node50); org.junit.Assert.assertTrue("'" + boolean52 + "' != '" + false + "'", boolean52 == false); org.junit.Assert.assertNotNull(node53); org.junit.Assert.assertTrue("'" + boolean54 + "' != '" + false + "'", boolean54 == false); } @Test public void test4511() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4511"); com.google.javascript.rhino.Node node2 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean3 = node2.isLabelName(); java.util.Set<java.lang.String> strSet4 = node2.getDirectives(); com.google.javascript.rhino.Node node6 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean7 = node6.isLabelName(); com.google.javascript.rhino.Node[] nodeArray8 = new com.google.javascript.rhino.Node[] { node2, node6 }; com.google.javascript.rhino.Node node11 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray8, 50, 50); com.google.javascript.rhino.Node node13 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node11.addChildToFront(node13); boolean boolean15 = node11.isNew(); java.lang.String[] strArray18 = new java.lang.String[] { "function (): ?", "" }; java.util.LinkedHashSet<java.lang.String> strSet19 = new java.util.LinkedHashSet<java.lang.String>(); boolean boolean20 = java.util.Collections.addAll((java.util.Collection<java.lang.String>) strSet19, strArray18); node11.setDirectives((java.util.Set<java.lang.String>) strSet19); com.google.javascript.rhino.ErrorReporter errorReporter22 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry23 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter22); com.google.javascript.rhino.jstype.ObjectType objectType24 = null; com.google.javascript.rhino.jstype.JSType jSType25 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray26 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList27 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean28 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList27, jSTypeArray26); com.google.javascript.rhino.jstype.JSType jSType29 = jSTypeRegistry23.createFunctionTypeWithVarArgs(objectType24, jSType25, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList27); com.google.javascript.rhino.ErrorReporter errorReporter30 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry31 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter30); com.google.javascript.rhino.jstype.ObjectType objectType32 = null; com.google.javascript.rhino.jstype.JSType jSType33 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray34 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList35 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean36 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList35, jSTypeArray34); com.google.javascript.rhino.jstype.JSType jSType37 = jSTypeRegistry31.createFunctionTypeWithVarArgs(objectType32, jSType33, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList35); com.google.javascript.rhino.ErrorReporter errorReporter38 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry39 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter38); com.google.javascript.rhino.jstype.ObjectType objectType40 = null; com.google.javascript.rhino.jstype.JSType jSType41 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray42 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList43 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean44 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList43, jSTypeArray42); com.google.javascript.rhino.jstype.JSType jSType45 = jSTypeRegistry39.createFunctionTypeWithVarArgs(objectType40, jSType41, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList43); boolean boolean46 = jSType45.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType47 = jSType45.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter48 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry49 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter48); com.google.javascript.rhino.jstype.ObjectType objectType50 = null; com.google.javascript.rhino.jstype.JSType jSType51 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray52 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList53 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean54 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList53, jSTypeArray52); com.google.javascript.rhino.jstype.JSType jSType55 = jSTypeRegistry49.createFunctionTypeWithVarArgs(objectType50, jSType51, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList53); com.google.javascript.rhino.jstype.JSType[] jSTypeArray56 = new com.google.javascript.rhino.jstype.JSType[] { jSType33, jSType47, objectType50 }; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList57 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean58 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList57, jSTypeArray56); boolean boolean59 = jSTypeList27.containsAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList57); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet60 = com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE; boolean boolean62 = booleanLiteralSet60.contains(false); boolean boolean64 = booleanLiteralSet60.contains(false); int int65 = jSTypeList27.lastIndexOf((java.lang.Object) false); com.google.common.collect.ImmutableList<java.lang.Iterable<com.google.javascript.rhino.jstype.JSType>> jSTypeIterableList66 = com.google.common.collect.ImmutableList.of((java.lang.Iterable<com.google.javascript.rhino.jstype.JSType>) jSTypeList27); com.google.javascript.rhino.jstype.JSType jSType67 = null; boolean boolean68 = jSTypeList27.add(jSType67); boolean boolean69 = strSet19.removeAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList27); java.lang.Object[] objArray70 = new java.lang.Object[] {}; com.google.javascript.rhino.SourcePosition[] sourcePositionArray72 = new com.google.javascript.rhino.SourcePosition[0]; @SuppressWarnings("unchecked") com.google.javascript.rhino.SourcePosition<java.lang.String>[] strSourcePositionArray73 = (com.google.javascript.rhino.SourcePosition<java.lang.String>[]) sourcePositionArray72; com.google.common.collect.ImmutableList<com.google.javascript.rhino.SourcePosition<java.lang.String>> strSourcePositionList74 = com.google.common.collect.ImmutableList.of((com.google.javascript.rhino.SourcePosition<java.lang.String>[]) sourcePositionArray72); com.google.common.collect.ImmutableList<java.lang.Object[]> objArrayList75 = com.google.common.collect.ImmutableList.of(objArray70, (java.lang.Object[]) sourcePositionArray72); com.google.javascript.rhino.SourcePosition<java.lang.String>[] strSourcePositionArray76 = jSTypeList27.toArray((com.google.javascript.rhino.SourcePosition<java.lang.String>[]) sourcePositionArray72); // The following exception was thrown during execution in test generation try { com.google.javascript.rhino.jstype.JSType jSType78 = jSTypeList27.get((int) (byte) 100); org.junit.Assert.fail("Expected exception of type java.lang.IndexOutOfBoundsException; message: Index: 100, Size: 1"); } catch (java.lang.IndexOutOfBoundsException e) { // Expected exception. } org.junit.Assert.assertNotNull(node2); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertNull(strSet4); org.junit.Assert.assertNotNull(node6); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertNotNull(nodeArray8); org.junit.Assert.assertNotNull(node13); org.junit.Assert.assertTrue("'" + boolean15 + "' != '" + false + "'", boolean15 == false); org.junit.Assert.assertNotNull(strArray18); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + true + "'", boolean20 == true); org.junit.Assert.assertNotNull(jSTypeArray26); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertNotNull(jSTypeArray34); org.junit.Assert.assertTrue("'" + boolean36 + "' != '" + false + "'", boolean36 == false); org.junit.Assert.assertNotNull(jSType37); org.junit.Assert.assertNotNull(jSTypeArray42); org.junit.Assert.assertTrue("'" + boolean44 + "' != '" + false + "'", boolean44 == false); org.junit.Assert.assertNotNull(jSType45); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertNotNull(jSTypeArray52); org.junit.Assert.assertTrue("'" + boolean54 + "' != '" + false + "'", boolean54 == false); org.junit.Assert.assertNotNull(jSType55); org.junit.Assert.assertNotNull(jSTypeArray56); org.junit.Assert.assertTrue("'" + boolean58 + "' != '" + true + "'", boolean58 == true); org.junit.Assert.assertTrue("'" + boolean59 + "' != '" + false + "'", boolean59 == false); org.junit.Assert.assertTrue("'" + booleanLiteralSet60 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE + "'", booleanLiteralSet60.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE)); org.junit.Assert.assertTrue("'" + boolean62 + "' != '" + true + "'", boolean62 == true); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + true + "'", boolean64 == true); org.junit.Assert.assertTrue("'" + int65 + "' != '" + (-1) + "'", int65 == (-1)); org.junit.Assert.assertNotNull(jSTypeIterableList66); org.junit.Assert.assertTrue("'" + boolean68 + "' != '" + true + "'", boolean68 == true); org.junit.Assert.assertTrue("'" + boolean69 + "' != '" + false + "'", boolean69 == false); org.junit.Assert.assertNotNull(objArray70); org.junit.Assert.assertEquals(java.util.Arrays.deepToString(objArray70), "[]"); org.junit.Assert.assertEquals(java.util.Arrays.toString(objArray70), "[]"); org.junit.Assert.assertNotNull(sourcePositionArray72); org.junit.Assert.assertNotNull(strSourcePositionArray73); org.junit.Assert.assertNotNull(strSourcePositionList74); org.junit.Assert.assertNotNull(objArrayList75); org.junit.Assert.assertNotNull(strSourcePositionArray76); } @Test public void test4512() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4512"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); boolean boolean8 = jSType7.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter9 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry10 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter9); com.google.javascript.rhino.ErrorReporter errorReporter11 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry12 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter11); com.google.javascript.rhino.jstype.ObjectType objectType13 = null; com.google.javascript.rhino.jstype.JSType jSType14 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray15 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList16 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean17 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList16, jSTypeArray15); com.google.javascript.rhino.jstype.JSType jSType18 = jSTypeRegistry12.createFunctionTypeWithVarArgs(objectType13, jSType14, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList16); boolean boolean19 = jSType18.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter21 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry22 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter21); com.google.javascript.rhino.jstype.ObjectType objectType23 = null; com.google.javascript.rhino.jstype.JSType jSType24 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray25 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList26 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean27 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList26, jSTypeArray25); com.google.javascript.rhino.jstype.JSType jSType28 = jSTypeRegistry22.createFunctionTypeWithVarArgs(objectType23, jSType24, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList26); boolean boolean29 = jSType28.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType30 = jSType28.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter31 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry32 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter31); com.google.javascript.rhino.jstype.ObjectType objectType33 = null; com.google.javascript.rhino.jstype.JSType jSType34 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray35 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList36 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean37 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList36, jSTypeArray35); com.google.javascript.rhino.jstype.JSType jSType38 = jSTypeRegistry32.createFunctionTypeWithVarArgs(objectType33, jSType34, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList36); boolean boolean39 = jSType38.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType40 = jSType38.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter41 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry42 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter41); com.google.javascript.rhino.jstype.ObjectType objectType43 = null; com.google.javascript.rhino.jstype.JSType jSType44 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray45 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList46 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean47 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList46, jSTypeArray45); com.google.javascript.rhino.jstype.JSType jSType48 = jSTypeRegistry42.createFunctionTypeWithVarArgs(objectType43, jSType44, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList46); com.google.javascript.rhino.ErrorReporter errorReporter49 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry50 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter49); com.google.javascript.rhino.jstype.ObjectType objectType51 = null; com.google.javascript.rhino.jstype.JSType jSType52 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray53 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList54 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean55 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList54, jSTypeArray53); com.google.javascript.rhino.jstype.JSType jSType56 = jSTypeRegistry50.createFunctionTypeWithVarArgs(objectType51, jSType52, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList54); boolean boolean57 = jSType56.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType58 = jSType56.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter59 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry60 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter59); com.google.javascript.rhino.jstype.ObjectType objectType61 = null; com.google.javascript.rhino.jstype.JSType jSType62 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray63 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList64 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean65 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList64, jSTypeArray63); com.google.javascript.rhino.jstype.JSType jSType66 = jSTypeRegistry60.createFunctionTypeWithVarArgs(objectType61, jSType62, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList64); com.google.javascript.rhino.ErrorReporter errorReporter67 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry68 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter67); com.google.javascript.rhino.jstype.ObjectType objectType69 = null; com.google.javascript.rhino.jstype.JSType jSType70 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray71 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList72 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean73 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList72, jSTypeArray71); com.google.javascript.rhino.jstype.JSType jSType74 = jSTypeRegistry68.createFunctionTypeWithVarArgs(objectType69, jSType70, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList72); boolean boolean75 = jSType74.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType76 = jSType74.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray77 = new com.google.javascript.rhino.jstype.JSType[] { jSType30, jSType38, jSType44, jSType58, jSType66, objectType76 }; com.google.javascript.rhino.jstype.FunctionType functionType78 = jSTypeRegistry10.createConstructorType(jSType18, false, jSTypeArray77); boolean boolean79 = jSType7.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType78); com.google.javascript.rhino.jstype.StaticSlot staticSlot81 = functionType78.getSlot("Not declared as a constructor"); boolean boolean82 = functionType78.isNoObjectType(); boolean boolean83 = functionType78.isNumber(); boolean boolean84 = functionType78.matchesNumberContext(); java.lang.Iterable iterable85 = functionType78.getCtorExtendedInterfaces(); com.google.javascript.rhino.jstype.ObjectType objectType86 = functionType78.getImplicitPrototype(); com.google.javascript.rhino.jstype.JSType jSType87 = functionType78.getTypeOfThis(); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet88 = functionType78.getPossibleToBooleanOutcomes(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSTypeArray15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(jSType18); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(jSTypeArray25); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(jSType28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(jSType30); org.junit.Assert.assertNotNull(jSTypeArray35); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSType38); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(jSType40); org.junit.Assert.assertNotNull(jSTypeArray45); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(jSType48); org.junit.Assert.assertNotNull(jSTypeArray53); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); org.junit.Assert.assertNotNull(jSType56); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNotNull(jSType58); org.junit.Assert.assertNotNull(jSTypeArray63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(jSType66); org.junit.Assert.assertNotNull(jSTypeArray71); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNotNull(jSType74); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(objectType76); org.junit.Assert.assertNotNull(jSTypeArray77); org.junit.Assert.assertNotNull(functionType78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + true + "'", boolean79 == true); org.junit.Assert.assertNull(staticSlot81); org.junit.Assert.assertTrue("'" + boolean82 + "' != '" + false + "'", boolean82 == false); org.junit.Assert.assertTrue("'" + boolean83 + "' != '" + false + "'", boolean83 == false); org.junit.Assert.assertTrue("'" + boolean84 + "' != '" + false + "'", boolean84 == false); org.junit.Assert.assertNotNull(iterable85); org.junit.Assert.assertNotNull(objectType86); org.junit.Assert.assertNotNull(jSType87); org.junit.Assert.assertTrue("'" + booleanLiteralSet88 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.TRUE + "'", booleanLiteralSet88.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.TRUE)); } @Test public void test4513() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4513"); com.google.javascript.rhino.JSDocInfo jSDocInfo0 = new com.google.javascript.rhino.JSDocInfo(); boolean boolean1 = jSDocInfo0.hasTypedefType(); com.google.javascript.rhino.JSDocInfo.Visibility visibility2 = com.google.javascript.rhino.JSDocInfo.Visibility.PRIVATE; com.google.javascript.rhino.JSDocInfo.Visibility visibility3 = com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED; com.google.javascript.rhino.JSDocInfo.Visibility visibility4 = com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED; com.google.javascript.rhino.JSDocInfo.Visibility visibility5 = com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED; com.google.javascript.rhino.JSDocInfo.Visibility visibility6 = com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED; com.google.javascript.rhino.JSDocInfo.Visibility visibility7 = com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED; com.google.javascript.rhino.JSDocInfo.Visibility visibility8 = com.google.javascript.rhino.JSDocInfo.Visibility.PRIVATE; com.google.javascript.rhino.JSDocInfo.Visibility visibility9 = com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED; com.google.javascript.rhino.JSDocInfo.Visibility visibility10 = com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED; com.google.javascript.rhino.JSDocInfo.Visibility visibility11 = com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED; com.google.javascript.rhino.JSDocInfo.Visibility visibility12 = com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED; com.google.javascript.rhino.JSDocInfo.Visibility visibility13 = com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED; com.google.javascript.rhino.JSDocInfo.Visibility visibility14 = com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED; com.google.javascript.rhino.JSDocInfo.Visibility visibility15 = com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED; com.google.javascript.rhino.JSDocInfo.Visibility visibility16 = com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED; com.google.javascript.rhino.JSDocInfo.Visibility visibility17 = com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED; com.google.javascript.rhino.JSDocInfo.Visibility visibility18 = com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED; com.google.javascript.rhino.JSDocInfo.Visibility[] visibilityArray19 = new com.google.javascript.rhino.JSDocInfo.Visibility[] { visibility14, visibility15, visibility16, visibility17, visibility18 }; com.google.common.collect.ImmutableList<com.google.javascript.rhino.JSDocInfo.Visibility> visibilityList20 = com.google.common.collect.ImmutableList.of(visibility2, visibility3, visibility4, visibility5, visibility6, visibility7, visibility8, visibility9, visibility10, visibility11, visibility12, visibility13, visibilityArray19); jSDocInfo0.setVisibility(visibility2); jSDocInfo0.addSuppression("(java.io.IOException: java.io.IOException: )"); com.google.javascript.rhino.JSTypeExpression jSTypeExpression24 = jSDocInfo0.getThisType(); jSDocInfo0.setDeprecated(false); java.util.Collection<com.google.javascript.rhino.JSDocInfo.Marker> markerCollection27 = jSDocInfo0.getMarkers(); org.junit.Assert.assertTrue("'" + boolean1 + "' != '" + false + "'", boolean1 == false); org.junit.Assert.assertTrue("'" + visibility2 + "' != '" + com.google.javascript.rhino.JSDocInfo.Visibility.PRIVATE + "'", visibility2.equals(com.google.javascript.rhino.JSDocInfo.Visibility.PRIVATE)); org.junit.Assert.assertTrue("'" + visibility3 + "' != '" + com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED + "'", visibility3.equals(com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED)); org.junit.Assert.assertTrue("'" + visibility4 + "' != '" + com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED + "'", visibility4.equals(com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED)); org.junit.Assert.assertTrue("'" + visibility5 + "' != '" + com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED + "'", visibility5.equals(com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED)); org.junit.Assert.assertTrue("'" + visibility6 + "' != '" + com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED + "'", visibility6.equals(com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED)); org.junit.Assert.assertTrue("'" + visibility7 + "' != '" + com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED + "'", visibility7.equals(com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED)); org.junit.Assert.assertTrue("'" + visibility8 + "' != '" + com.google.javascript.rhino.JSDocInfo.Visibility.PRIVATE + "'", visibility8.equals(com.google.javascript.rhino.JSDocInfo.Visibility.PRIVATE)); org.junit.Assert.assertTrue("'" + visibility9 + "' != '" + com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED + "'", visibility9.equals(com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED)); org.junit.Assert.assertTrue("'" + visibility10 + "' != '" + com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED + "'", visibility10.equals(com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED)); org.junit.Assert.assertTrue("'" + visibility11 + "' != '" + com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED + "'", visibility11.equals(com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED)); org.junit.Assert.assertTrue("'" + visibility12 + "' != '" + com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED + "'", visibility12.equals(com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED)); org.junit.Assert.assertTrue("'" + visibility13 + "' != '" + com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED + "'", visibility13.equals(com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED)); org.junit.Assert.assertTrue("'" + visibility14 + "' != '" + com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED + "'", visibility14.equals(com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED)); org.junit.Assert.assertTrue("'" + visibility15 + "' != '" + com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED + "'", visibility15.equals(com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED)); org.junit.Assert.assertTrue("'" + visibility16 + "' != '" + com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED + "'", visibility16.equals(com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED)); org.junit.Assert.assertTrue("'" + visibility17 + "' != '" + com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED + "'", visibility17.equals(com.google.javascript.rhino.JSDocInfo.Visibility.INHERITED)); org.junit.Assert.assertTrue("'" + visibility18 + "' != '" + com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED + "'", visibility18.equals(com.google.javascript.rhino.JSDocInfo.Visibility.PROTECTED)); org.junit.Assert.assertNotNull(visibilityArray19); org.junit.Assert.assertNotNull(visibilityList20); org.junit.Assert.assertNull(jSTypeExpression24); org.junit.Assert.assertNotNull(markerCollection27); } @Test public void test4514() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4514"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.ErrorReporter errorReporter2 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry3 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter2); com.google.javascript.rhino.jstype.ObjectType objectType4 = null; com.google.javascript.rhino.jstype.JSType jSType5 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray6 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList7 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean8 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList7, jSTypeArray6); com.google.javascript.rhino.jstype.JSType jSType9 = jSTypeRegistry3.createFunctionTypeWithVarArgs(objectType4, jSType5, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList7); boolean boolean10 = jSType9.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter12 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry13 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter12); com.google.javascript.rhino.jstype.ObjectType objectType14 = null; com.google.javascript.rhino.jstype.JSType jSType15 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray16 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList17 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean18 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList17, jSTypeArray16); com.google.javascript.rhino.jstype.JSType jSType19 = jSTypeRegistry13.createFunctionTypeWithVarArgs(objectType14, jSType15, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList17); boolean boolean20 = jSType19.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType21 = jSType19.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter22 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry23 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter22); com.google.javascript.rhino.jstype.ObjectType objectType24 = null; com.google.javascript.rhino.jstype.JSType jSType25 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray26 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList27 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean28 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList27, jSTypeArray26); com.google.javascript.rhino.jstype.JSType jSType29 = jSTypeRegistry23.createFunctionTypeWithVarArgs(objectType24, jSType25, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList27); boolean boolean30 = jSType29.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType31 = jSType29.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter32 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry33 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter32); com.google.javascript.rhino.jstype.ObjectType objectType34 = null; com.google.javascript.rhino.jstype.JSType jSType35 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray36 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList37 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean38 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList37, jSTypeArray36); com.google.javascript.rhino.jstype.JSType jSType39 = jSTypeRegistry33.createFunctionTypeWithVarArgs(objectType34, jSType35, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList37); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); boolean boolean48 = jSType47.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType49 = jSType47.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter50 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry51 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter50); com.google.javascript.rhino.jstype.ObjectType objectType52 = null; com.google.javascript.rhino.jstype.JSType jSType53 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray54 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList55 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean56 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList55, jSTypeArray54); com.google.javascript.rhino.jstype.JSType jSType57 = jSTypeRegistry51.createFunctionTypeWithVarArgs(objectType52, jSType53, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList55); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); boolean boolean66 = jSType65.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType67 = jSType65.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray68 = new com.google.javascript.rhino.jstype.JSType[] { jSType21, jSType29, jSType35, jSType49, jSType57, objectType67 }; com.google.javascript.rhino.jstype.FunctionType functionType69 = jSTypeRegistry1.createConstructorType(jSType9, false, jSTypeArray68); com.google.javascript.rhino.jstype.FunctionType functionType70 = functionType69.getOwnerFunction(); java.lang.Iterable<com.google.javascript.rhino.jstype.ObjectType> objectTypeIterable71 = functionType69.getImplementedInterfaces(); com.google.javascript.rhino.jstype.FunctionType functionType72 = functionType69.toMaybeFunctionType(); int int73 = functionType69.getMinArguments(); org.junit.Assert.assertNotNull(jSTypeArray6); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSType9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNotNull(jSTypeArray16); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSType19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(jSType21); org.junit.Assert.assertNotNull(jSTypeArray26); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(jSType31); org.junit.Assert.assertNotNull(jSTypeArray36); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(jSType49); org.junit.Assert.assertNotNull(jSTypeArray54); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertNotNull(objectType67); org.junit.Assert.assertNotNull(jSTypeArray68); org.junit.Assert.assertNotNull(functionType69); org.junit.Assert.assertNull(functionType70); org.junit.Assert.assertNotNull(objectTypeIterable71); org.junit.Assert.assertNotNull(functionType72); org.junit.Assert.assertTrue("'" + int73 + "' != '" + 6 + "'", int73 == 6); } @Test public void test4515() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4515"); com.google.javascript.rhino.JSDocInfo jSDocInfo0 = new com.google.javascript.rhino.JSDocInfo(); boolean boolean1 = jSDocInfo0.hasTypedefType(); java.util.Collection<java.lang.String> strCollection2 = jSDocInfo0.getReferences(); com.google.javascript.rhino.JSTypeExpression jSTypeExpression3 = jSDocInfo0.getBaseType(); boolean boolean4 = jSDocInfo0.isConstant(); com.google.common.collect.ImmutableList<java.lang.String> strList5 = jSDocInfo0.getTemplateTypeNames(); boolean boolean7 = jSDocInfo0.hasParameterType("Named type with empty name component"); boolean boolean8 = jSDocInfo0.isNoShadow(); jSDocInfo0.setDeprecated(true); org.junit.Assert.assertTrue("'" + boolean1 + "' != '" + false + "'", boolean1 == false); org.junit.Assert.assertNull(strCollection2); org.junit.Assert.assertNull(jSTypeExpression3); org.junit.Assert.assertTrue("'" + boolean4 + "' != '" + false + "'", boolean4 == false); org.junit.Assert.assertNotNull(strList5); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); } @Test public void test4516() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4516"); com.google.javascript.rhino.Node node2 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean3 = node2.isLabelName(); java.util.Set<java.lang.String> strSet4 = node2.getDirectives(); com.google.javascript.rhino.Node node6 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean7 = node6.isLabelName(); com.google.javascript.rhino.Node[] nodeArray8 = new com.google.javascript.rhino.Node[] { node2, node6 }; com.google.javascript.rhino.Node node11 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray8, 50, 50); com.google.javascript.rhino.Node node13 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node11.addChildToFront(node13); boolean boolean15 = node11.isNew(); com.google.javascript.rhino.jstype.StaticSourceFile staticSourceFile16 = node11.getStaticSourceFile(); com.google.javascript.rhino.Node node19 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean20 = node19.isLabelName(); java.util.Set<java.lang.String> strSet21 = node19.getDirectives(); com.google.javascript.rhino.Node node23 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean24 = node23.isLabelName(); com.google.javascript.rhino.Node[] nodeArray25 = new com.google.javascript.rhino.Node[] { node19, node23 }; com.google.javascript.rhino.Node node28 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray25, 50, 50); com.google.javascript.rhino.Node node30 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node28.addChildToFront(node30); boolean boolean32 = node30.isDefaultCase(); com.google.javascript.rhino.Node node33 = node30.getParent(); node30.detachChildren(); com.google.javascript.rhino.Node node37 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean38 = node37.isLabelName(); java.util.Set<java.lang.String> strSet39 = node37.getDirectives(); com.google.javascript.rhino.Node node41 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean42 = node41.isLabelName(); com.google.javascript.rhino.Node[] nodeArray43 = new com.google.javascript.rhino.Node[] { node37, node41 }; com.google.javascript.rhino.Node node46 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray43, 50, 50); com.google.javascript.rhino.Node node48 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node46.addChildToFront(node48); boolean boolean50 = node46.isNew(); java.lang.String[] strArray53 = new java.lang.String[] { "function (): ?", "" }; java.util.LinkedHashSet<java.lang.String> strSet54 = new java.util.LinkedHashSet<java.lang.String>(); boolean boolean55 = java.util.Collections.addAll((java.util.Collection<java.lang.String>) strSet54, strArray53); node46.setDirectives((java.util.Set<java.lang.String>) strSet54); int int57 = node30.getIndexOfChild(node46); com.google.javascript.rhino.Node node58 = node11.srcrefTree(node30); boolean boolean59 = node30.isLocalResultCall(); boolean boolean60 = node30.isDelProp(); boolean boolean61 = node30.isNull(); com.google.javascript.rhino.Node node64 = com.google.javascript.rhino.Node.newString(5, "hi!"); boolean boolean65 = node30.hasChild(node64); com.google.javascript.rhino.Node node71 = com.google.javascript.rhino.Node.newString(44, "InputId: []", 46, 31); node64.putProp(46, (java.lang.Object) node71); org.junit.Assert.assertNotNull(node2); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertNull(strSet4); org.junit.Assert.assertNotNull(node6); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertNotNull(nodeArray8); org.junit.Assert.assertNotNull(node13); org.junit.Assert.assertTrue("'" + boolean15 + "' != '" + false + "'", boolean15 == false); org.junit.Assert.assertNull(staticSourceFile16); org.junit.Assert.assertNotNull(node19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNull(strSet21); org.junit.Assert.assertNotNull(node23); org.junit.Assert.assertTrue("'" + boolean24 + "' != '" + false + "'", boolean24 == false); org.junit.Assert.assertNotNull(nodeArray25); org.junit.Assert.assertNotNull(node30); org.junit.Assert.assertTrue("'" + boolean32 + "' != '" + false + "'", boolean32 == false); org.junit.Assert.assertNotNull(node33); org.junit.Assert.assertNotNull(node37); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNull(strSet39); org.junit.Assert.assertNotNull(node41); org.junit.Assert.assertTrue("'" + boolean42 + "' != '" + false + "'", boolean42 == false); org.junit.Assert.assertNotNull(nodeArray43); org.junit.Assert.assertNotNull(node48); org.junit.Assert.assertTrue("'" + boolean50 + "' != '" + false + "'", boolean50 == false); org.junit.Assert.assertNotNull(strArray53); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + true + "'", boolean55 == true); org.junit.Assert.assertTrue("'" + int57 + "' != '" + (-1) + "'", int57 == (-1)); org.junit.Assert.assertNotNull(node58); org.junit.Assert.assertTrue("'" + boolean59 + "' != '" + false + "'", boolean59 == false); org.junit.Assert.assertTrue("'" + boolean60 + "' != '" + false + "'", boolean60 == false); org.junit.Assert.assertTrue("'" + boolean61 + "' != '" + false + "'", boolean61 == false); org.junit.Assert.assertNotNull(node64); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(node71); } @Test public void test4517() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4517"); com.google.javascript.jscomp.CodingConvention.SubclassType subclassType0 = com.google.javascript.jscomp.CodingConvention.SubclassType.MIXIN; com.google.javascript.rhino.Node node3 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean4 = node3.isLabelName(); com.google.javascript.rhino.Node node7 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean8 = node7.isLabelName(); java.util.Set<java.lang.String> strSet9 = node7.getDirectives(); com.google.javascript.rhino.Node node11 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean12 = node11.isLabelName(); com.google.javascript.rhino.Node[] nodeArray13 = new com.google.javascript.rhino.Node[] { node7, node11 }; com.google.javascript.rhino.Node node16 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray13, 50, 50); boolean boolean17 = node3.isEquivalentTo(node16); com.google.javascript.rhino.Node node18 = new com.google.javascript.rhino.Node(50, node16); com.google.javascript.rhino.Node node20 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node21 = com.google.javascript.jscomp.NodeUtil.newExpr(node20); boolean boolean22 = node20.isScript(); com.google.javascript.rhino.Node node23 = node18.useSourceInfoIfMissingFrom(node20); boolean boolean24 = node20.isExprResult(); boolean boolean25 = node20.isOr(); com.google.javascript.rhino.Node node27 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean28 = node27.isLabelName(); java.util.Set<java.lang.String> strSet29 = node27.getDirectives(); boolean boolean30 = node27.isNE(); com.google.javascript.jscomp.CodingConvention.SubclassRelationship subclassRelationship31 = new com.google.javascript.jscomp.CodingConvention.SubclassRelationship(subclassType0, node20, node27); boolean boolean32 = node20.isBlock(); org.junit.Assert.assertTrue("'" + subclassType0 + "' != '" + com.google.javascript.jscomp.CodingConvention.SubclassType.MIXIN + "'", subclassType0.equals(com.google.javascript.jscomp.CodingConvention.SubclassType.MIXIN)); org.junit.Assert.assertNotNull(node3); org.junit.Assert.assertTrue("'" + boolean4 + "' != '" + false + "'", boolean4 == false); org.junit.Assert.assertNotNull(node7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNull(strSet9); org.junit.Assert.assertNotNull(node11); org.junit.Assert.assertTrue("'" + boolean12 + "' != '" + false + "'", boolean12 == false); org.junit.Assert.assertNotNull(nodeArray13); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(node20); org.junit.Assert.assertNotNull(node21); org.junit.Assert.assertTrue("'" + boolean22 + "' != '" + false + "'", boolean22 == false); org.junit.Assert.assertNotNull(node23); org.junit.Assert.assertTrue("'" + boolean24 + "' != '" + false + "'", boolean24 == false); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); org.junit.Assert.assertNotNull(node27); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNull(strSet29); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertTrue("'" + boolean32 + "' != '" + false + "'", boolean32 == false); } @Test public void test4518() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4518"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); com.google.javascript.rhino.ErrorReporter errorReporter8 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry9 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter8); com.google.javascript.rhino.jstype.ObjectType objectType10 = null; com.google.javascript.rhino.jstype.JSType jSType11 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray12 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList13 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean14 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList13, jSTypeArray12); com.google.javascript.rhino.jstype.JSType jSType15 = jSTypeRegistry9.createFunctionTypeWithVarArgs(objectType10, jSType11, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList13); boolean boolean16 = jSType15.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType17 = jSType15.toObjectType(); boolean boolean18 = jSTypeList5.add((com.google.javascript.rhino.jstype.JSType) objectType17); java.lang.Object obj19 = null; boolean boolean20 = jSTypeList5.equals(obj19); // The following exception was thrown during execution in test generation try { com.google.javascript.rhino.jstype.JSType jSType22 = jSTypeList5.get(130); org.junit.Assert.fail("Expected exception of type java.lang.IndexOutOfBoundsException; message: Index: 130, Size: 1"); } catch (java.lang.IndexOutOfBoundsException e) { // Expected exception. } org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertNotNull(jSTypeArray12); org.junit.Assert.assertTrue("'" + boolean14 + "' != '" + false + "'", boolean14 == false); org.junit.Assert.assertNotNull(jSType15); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertNotNull(objectType17); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + true + "'", boolean18 == true); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); } @Test public void test4519() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4519"); com.google.javascript.rhino.Node node2 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean3 = node2.isLabelName(); java.util.Set<java.lang.String> strSet4 = node2.getDirectives(); com.google.javascript.rhino.Node node6 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean7 = node6.isLabelName(); com.google.javascript.rhino.Node[] nodeArray8 = new com.google.javascript.rhino.Node[] { node2, node6 }; com.google.javascript.rhino.Node node11 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray8, 50, 50); com.google.javascript.rhino.Node node13 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node11.addChildToFront(node13); boolean boolean15 = node13.isDefaultCase(); com.google.javascript.rhino.Node node16 = node13.getParent(); node13.detachChildren(); com.google.javascript.rhino.Node node20 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean21 = node20.isLabelName(); java.util.Set<java.lang.String> strSet22 = node20.getDirectives(); com.google.javascript.rhino.Node node24 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean25 = node24.isLabelName(); com.google.javascript.rhino.Node[] nodeArray26 = new com.google.javascript.rhino.Node[] { node20, node24 }; com.google.javascript.rhino.Node node29 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray26, 50, 50); com.google.javascript.rhino.Node node31 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node29.addChildToFront(node31); boolean boolean33 = node29.isNew(); java.lang.String[] strArray36 = new java.lang.String[] { "function (): ?", "" }; java.util.LinkedHashSet<java.lang.String> strSet37 = new java.util.LinkedHashSet<java.lang.String>(); boolean boolean38 = java.util.Collections.addAll((java.util.Collection<java.lang.String>) strSet37, strArray36); node29.setDirectives((java.util.Set<java.lang.String>) strSet37); int int40 = node13.getIndexOfChild(node29); boolean boolean41 = node13.isAssignAdd(); boolean boolean42 = node13.isRegExp(); // The following exception was thrown during execution in test generation try { node13.setSideEffectFlags(50); org.junit.Assert.fail("Expected exception of type java.lang.IllegalArgumentException; message: setIsNoSideEffectsCall only supports CALL and NEW nodes, got STRING"); } catch (java.lang.IllegalArgumentException e) { // Expected exception. } org.junit.Assert.assertNotNull(node2); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertNull(strSet4); org.junit.Assert.assertNotNull(node6); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertNotNull(nodeArray8); org.junit.Assert.assertNotNull(node13); org.junit.Assert.assertTrue("'" + boolean15 + "' != '" + false + "'", boolean15 == false); org.junit.Assert.assertNotNull(node16); org.junit.Assert.assertNotNull(node20); org.junit.Assert.assertTrue("'" + boolean21 + "' != '" + false + "'", boolean21 == false); org.junit.Assert.assertNull(strSet22); org.junit.Assert.assertNotNull(node24); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); org.junit.Assert.assertNotNull(nodeArray26); org.junit.Assert.assertNotNull(node31); org.junit.Assert.assertTrue("'" + boolean33 + "' != '" + false + "'", boolean33 == false); org.junit.Assert.assertNotNull(strArray36); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + true + "'", boolean38 == true); org.junit.Assert.assertTrue("'" + int40 + "' != '" + (-1) + "'", int40 == (-1)); org.junit.Assert.assertTrue("'" + boolean41 + "' != '" + false + "'", boolean41 == false); org.junit.Assert.assertTrue("'" + boolean42 + "' != '" + false + "'", boolean42 == false); } @Test public void test4520() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4520"); com.google.javascript.rhino.Node node1 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node2 = com.google.javascript.jscomp.NodeUtil.newExpr(node1); boolean boolean3 = node2.isHook(); com.google.javascript.rhino.Node node6 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean7 = node6.isLabelName(); java.util.Set<java.lang.String> strSet8 = node6.getDirectives(); com.google.javascript.rhino.Node node10 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean11 = node10.isLabelName(); com.google.javascript.rhino.Node[] nodeArray12 = new com.google.javascript.rhino.Node[] { node6, node10 }; com.google.javascript.rhino.Node node15 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray12, 50, 50); com.google.javascript.rhino.Node node17 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node15.addChildToFront(node17); java.lang.String str19 = com.google.javascript.jscomp.NodeUtil.getSourceName(node17); node17.setIsSyntheticBlock(true); com.google.javascript.rhino.Node node25 = new com.google.javascript.rhino.Node(50, 1, 0); node25.setOptionalArg(true); com.google.javascript.jscomp.CodingConvention.Bind bind28 = new com.google.javascript.jscomp.CodingConvention.Bind(node2, node17, node25); int int29 = node2.getType(); com.google.javascript.rhino.Node node33 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean34 = node33.isLabelName(); java.util.Set<java.lang.String> strSet35 = node33.getDirectives(); com.google.javascript.rhino.Node node37 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean38 = node37.isLabelName(); com.google.javascript.rhino.Node[] nodeArray39 = new com.google.javascript.rhino.Node[] { node33, node37 }; com.google.javascript.rhino.Node node42 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray39, 50, 50); com.google.javascript.rhino.Node node44 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node42.addChildToFront(node44); boolean boolean46 = node42.isNoSideEffectsCall(); boolean boolean47 = node42.isName(); boolean boolean48 = node42.isAdd(); com.google.javascript.rhino.Node node51 = new com.google.javascript.rhino.Node((int) ' ', node42, (int) (byte) 1, 41); com.google.javascript.jscomp.CodingConvention.SubclassType subclassType52 = com.google.javascript.jscomp.CodingConvention.SubclassType.MIXIN; com.google.javascript.rhino.Node node55 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean56 = node55.isLabelName(); java.util.Set<java.lang.String> strSet57 = node55.getDirectives(); com.google.javascript.rhino.Node node59 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean60 = node59.isLabelName(); com.google.javascript.rhino.Node[] nodeArray61 = new com.google.javascript.rhino.Node[] { node55, node59 }; com.google.javascript.rhino.Node node64 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray61, 50, 50); com.google.javascript.rhino.Node node66 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node64.addChildToFront(node66); boolean boolean68 = node64.isNew(); node64.setLineno((int) (short) 10); com.google.javascript.rhino.Node node72 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node73 = com.google.javascript.jscomp.NodeUtil.newExpr(node72); com.google.javascript.jscomp.CodingConvention.SubclassRelationship subclassRelationship74 = new com.google.javascript.jscomp.CodingConvention.SubclassRelationship(subclassType52, node64, node73); boolean boolean75 = node64.isWith(); boolean boolean76 = node64.isInc(); boolean boolean77 = node64.isSwitch(); com.google.javascript.rhino.Node node78 = node51.useSourceInfoFromForTree(node64); com.google.javascript.rhino.Node node79 = null; com.google.javascript.jscomp.CodingConvention.Bind bind80 = new com.google.javascript.jscomp.CodingConvention.Bind(node2, node64, node79); java.util.Collection<com.google.javascript.rhino.Node> nodeCollection81 = com.google.javascript.jscomp.NodeUtil.getVarsDeclaredInBranch(node64); boolean boolean82 = node64.isDefaultCase(); org.junit.Assert.assertNotNull(node1); org.junit.Assert.assertNotNull(node2); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertNotNull(node6); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertNull(strSet8); org.junit.Assert.assertNotNull(node10); org.junit.Assert.assertTrue("'" + boolean11 + "' != '" + false + "'", boolean11 == false); org.junit.Assert.assertNotNull(nodeArray12); org.junit.Assert.assertNotNull(node17); org.junit.Assert.assertNull(str19); org.junit.Assert.assertTrue("'" + int29 + "' != '" + 130 + "'", int29 == 130); org.junit.Assert.assertNotNull(node33); org.junit.Assert.assertTrue("'" + boolean34 + "' != '" + false + "'", boolean34 == false); org.junit.Assert.assertNull(strSet35); org.junit.Assert.assertNotNull(node37); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(nodeArray39); org.junit.Assert.assertNotNull(node44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertTrue("'" + subclassType52 + "' != '" + com.google.javascript.jscomp.CodingConvention.SubclassType.MIXIN + "'", subclassType52.equals(com.google.javascript.jscomp.CodingConvention.SubclassType.MIXIN)); org.junit.Assert.assertNotNull(node55); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNull(strSet57); org.junit.Assert.assertNotNull(node59); org.junit.Assert.assertTrue("'" + boolean60 + "' != '" + false + "'", boolean60 == false); org.junit.Assert.assertNotNull(nodeArray61); org.junit.Assert.assertNotNull(node66); org.junit.Assert.assertTrue("'" + boolean68 + "' != '" + false + "'", boolean68 == false); org.junit.Assert.assertNotNull(node72); org.junit.Assert.assertNotNull(node73); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertTrue("'" + boolean76 + "' != '" + false + "'", boolean76 == false); org.junit.Assert.assertTrue("'" + boolean77 + "' != '" + false + "'", boolean77 == false); org.junit.Assert.assertNotNull(node78); org.junit.Assert.assertNotNull(nodeCollection81); org.junit.Assert.assertTrue("'" + boolean82 + "' != '" + false + "'", boolean82 == false); } @Test public void test4521() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4521"); com.google.javascript.rhino.ErrorReporter errorReporter1 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry2 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter1); com.google.javascript.rhino.jstype.ObjectType objectType3 = null; com.google.javascript.rhino.jstype.JSType jSType4 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray5 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList6 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean7 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList6, jSTypeArray5); com.google.javascript.rhino.jstype.JSType jSType8 = jSTypeRegistry2.createFunctionTypeWithVarArgs(objectType3, jSType4, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList6); boolean boolean9 = jSType8.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter10 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry11 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter10); com.google.javascript.rhino.ErrorReporter errorReporter12 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry13 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter12); com.google.javascript.rhino.jstype.ObjectType objectType14 = null; com.google.javascript.rhino.jstype.JSType jSType15 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray16 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList17 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean18 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList17, jSTypeArray16); com.google.javascript.rhino.jstype.JSType jSType19 = jSTypeRegistry13.createFunctionTypeWithVarArgs(objectType14, jSType15, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList17); boolean boolean20 = jSType19.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter22 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry23 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter22); com.google.javascript.rhino.jstype.ObjectType objectType24 = null; com.google.javascript.rhino.jstype.JSType jSType25 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray26 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList27 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean28 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList27, jSTypeArray26); com.google.javascript.rhino.jstype.JSType jSType29 = jSTypeRegistry23.createFunctionTypeWithVarArgs(objectType24, jSType25, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList27); boolean boolean30 = jSType29.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType31 = jSType29.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter32 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry33 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter32); com.google.javascript.rhino.jstype.ObjectType objectType34 = null; com.google.javascript.rhino.jstype.JSType jSType35 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray36 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList37 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean38 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList37, jSTypeArray36); com.google.javascript.rhino.jstype.JSType jSType39 = jSTypeRegistry33.createFunctionTypeWithVarArgs(objectType34, jSType35, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList37); boolean boolean40 = jSType39.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType41 = jSType39.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter42 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry43 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter42); com.google.javascript.rhino.jstype.ObjectType objectType44 = null; com.google.javascript.rhino.jstype.JSType jSType45 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray46 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList47 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean48 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList47, jSTypeArray46); com.google.javascript.rhino.jstype.JSType jSType49 = jSTypeRegistry43.createFunctionTypeWithVarArgs(objectType44, jSType45, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList47); com.google.javascript.rhino.ErrorReporter errorReporter50 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry51 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter50); com.google.javascript.rhino.jstype.ObjectType objectType52 = null; com.google.javascript.rhino.jstype.JSType jSType53 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray54 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList55 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean56 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList55, jSTypeArray54); com.google.javascript.rhino.jstype.JSType jSType57 = jSTypeRegistry51.createFunctionTypeWithVarArgs(objectType52, jSType53, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList55); boolean boolean58 = jSType57.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType59 = jSType57.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter60 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry61 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter60); com.google.javascript.rhino.jstype.ObjectType objectType62 = null; com.google.javascript.rhino.jstype.JSType jSType63 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray64 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList65 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean66 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList65, jSTypeArray64); com.google.javascript.rhino.jstype.JSType jSType67 = jSTypeRegistry61.createFunctionTypeWithVarArgs(objectType62, jSType63, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList65); com.google.javascript.rhino.ErrorReporter errorReporter68 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry69 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter68); com.google.javascript.rhino.jstype.ObjectType objectType70 = null; com.google.javascript.rhino.jstype.JSType jSType71 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray72 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList73 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean74 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList73, jSTypeArray72); com.google.javascript.rhino.jstype.JSType jSType75 = jSTypeRegistry69.createFunctionTypeWithVarArgs(objectType70, jSType71, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList73); boolean boolean76 = jSType75.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType77 = jSType75.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray78 = new com.google.javascript.rhino.jstype.JSType[] { jSType31, jSType39, jSType45, jSType59, jSType67, objectType77 }; com.google.javascript.rhino.jstype.FunctionType functionType79 = jSTypeRegistry11.createConstructorType(jSType19, false, jSTypeArray78); boolean boolean80 = jSType8.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType79); com.google.javascript.rhino.jstype.StaticSlot staticSlot82 = functionType79.getSlot("Not declared as a constructor"); com.google.javascript.rhino.jstype.StaticScope<com.google.javascript.rhino.jstype.JSType> jSTypeStaticScope83 = functionType79.getParentScope(); functionType79.clearCachedValues(); com.google.javascript.rhino.Node node85 = functionType79.getParametersNode(); com.google.javascript.rhino.Node node86 = new com.google.javascript.rhino.Node((int) ' ', node85); java.lang.Iterable<com.google.javascript.rhino.Node> nodeIterable87 = node85.siblings(); boolean boolean88 = node85.isAnd(); org.junit.Assert.assertNotNull(jSTypeArray5); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertNotNull(jSType8); org.junit.Assert.assertTrue("'" + boolean9 + "' != '" + false + "'", boolean9 == false); org.junit.Assert.assertNotNull(jSTypeArray16); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSType19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(jSTypeArray26); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(jSType31); org.junit.Assert.assertNotNull(jSTypeArray36); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertTrue("'" + boolean40 + "' != '" + false + "'", boolean40 == false); org.junit.Assert.assertNotNull(jSType41); org.junit.Assert.assertNotNull(jSTypeArray46); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(jSType49); org.junit.Assert.assertNotNull(jSTypeArray54); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertTrue("'" + boolean58 + "' != '" + false + "'", boolean58 == false); org.junit.Assert.assertNotNull(jSType59); org.junit.Assert.assertNotNull(jSTypeArray64); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertNotNull(jSType67); org.junit.Assert.assertNotNull(jSTypeArray72); org.junit.Assert.assertTrue("'" + boolean74 + "' != '" + false + "'", boolean74 == false); org.junit.Assert.assertNotNull(jSType75); org.junit.Assert.assertTrue("'" + boolean76 + "' != '" + false + "'", boolean76 == false); org.junit.Assert.assertNotNull(objectType77); org.junit.Assert.assertNotNull(jSTypeArray78); org.junit.Assert.assertNotNull(functionType79); org.junit.Assert.assertTrue("'" + boolean80 + "' != '" + true + "'", boolean80 == true); org.junit.Assert.assertNull(staticSlot82); org.junit.Assert.assertNotNull(jSTypeStaticScope83); org.junit.Assert.assertNotNull(node85); org.junit.Assert.assertNotNull(nodeIterable87); org.junit.Assert.assertTrue("'" + boolean88 + "' != '" + false + "'", boolean88 == false); } @Test public void test4522() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4522"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); com.google.javascript.rhino.ErrorReporter errorReporter8 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry9 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter8); com.google.javascript.rhino.ErrorReporter errorReporter10 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry11 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter10); com.google.javascript.rhino.jstype.ObjectType objectType12 = null; com.google.javascript.rhino.jstype.JSType jSType13 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray14 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList15 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean16 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList15, jSTypeArray14); com.google.javascript.rhino.jstype.JSType jSType17 = jSTypeRegistry11.createFunctionTypeWithVarArgs(objectType12, jSType13, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList15); boolean boolean18 = jSType17.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter20 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry21 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter20); com.google.javascript.rhino.jstype.ObjectType objectType22 = null; com.google.javascript.rhino.jstype.JSType jSType23 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray24 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList25 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean26 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList25, jSTypeArray24); com.google.javascript.rhino.jstype.JSType jSType27 = jSTypeRegistry21.createFunctionTypeWithVarArgs(objectType22, jSType23, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList25); boolean boolean28 = jSType27.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType29 = jSType27.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter30 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry31 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter30); com.google.javascript.rhino.jstype.ObjectType objectType32 = null; com.google.javascript.rhino.jstype.JSType jSType33 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray34 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList35 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean36 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList35, jSTypeArray34); com.google.javascript.rhino.jstype.JSType jSType37 = jSTypeRegistry31.createFunctionTypeWithVarArgs(objectType32, jSType33, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList35); boolean boolean38 = jSType37.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType39 = jSType37.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); com.google.javascript.rhino.ErrorReporter errorReporter48 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry49 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter48); com.google.javascript.rhino.jstype.ObjectType objectType50 = null; com.google.javascript.rhino.jstype.JSType jSType51 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray52 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList53 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean54 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList53, jSTypeArray52); com.google.javascript.rhino.jstype.JSType jSType55 = jSTypeRegistry49.createFunctionTypeWithVarArgs(objectType50, jSType51, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList53); boolean boolean56 = jSType55.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType57 = jSType55.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); com.google.javascript.rhino.ErrorReporter errorReporter66 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry67 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter66); com.google.javascript.rhino.jstype.ObjectType objectType68 = null; com.google.javascript.rhino.jstype.JSType jSType69 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray70 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList71 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean72 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList71, jSTypeArray70); com.google.javascript.rhino.jstype.JSType jSType73 = jSTypeRegistry67.createFunctionTypeWithVarArgs(objectType68, jSType69, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList71); boolean boolean74 = jSType73.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType75 = jSType73.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray76 = new com.google.javascript.rhino.jstype.JSType[] { jSType29, jSType37, jSType43, jSType57, jSType65, objectType75 }; com.google.javascript.rhino.jstype.FunctionType functionType77 = jSTypeRegistry9.createConstructorType(jSType17, false, jSTypeArray76); com.google.javascript.rhino.jstype.JSType jSType78 = functionType77.unboxesTo(); com.google.javascript.rhino.ErrorReporter errorReporter79 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry80 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter79); com.google.javascript.rhino.jstype.ObjectType objectType81 = null; com.google.javascript.rhino.jstype.JSType jSType82 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray83 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList84 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean85 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList84, jSTypeArray83); com.google.javascript.rhino.jstype.JSType jSType86 = jSTypeRegistry80.createFunctionTypeWithVarArgs(objectType81, jSType82, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList84); boolean boolean87 = jSType86.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType88 = jSType86.toObjectType(); com.google.javascript.rhino.jstype.FunctionType functionType89 = jSTypeRegistry1.createFunctionTypeWithNewThisType(functionType77, objectType88); com.google.javascript.rhino.jstype.StaticScope<com.google.javascript.rhino.jstype.JSType> jSTypeStaticScope90 = functionType77.getParentScope(); com.google.javascript.rhino.jstype.StaticScope<com.google.javascript.rhino.jstype.JSType> jSTypeStaticScope91 = functionType77.getParentScope(); boolean boolean92 = functionType77.isNoType(); com.google.javascript.rhino.Node node93 = functionType77.getRootNode(); java.lang.Iterable iterable94 = functionType77.getCtorExtendedInterfaces(); int int95 = functionType77.getExtendedInterfacesCount(); com.google.javascript.rhino.jstype.ObjectType objectType96 = functionType77.toObjectType(); boolean boolean97 = objectType96.isInterface(); boolean boolean98 = objectType96.isFunctionPrototypeType(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertNotNull(jSTypeArray14); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertNotNull(jSType17); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSTypeArray24); org.junit.Assert.assertTrue("'" + boolean26 + "' != '" + false + "'", boolean26 == false); org.junit.Assert.assertNotNull(jSType27); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertNotNull(jSTypeArray34); org.junit.Assert.assertTrue("'" + boolean36 + "' != '" + false + "'", boolean36 == false); org.junit.Assert.assertNotNull(jSType37); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertNotNull(jSTypeArray52); org.junit.Assert.assertTrue("'" + boolean54 + "' != '" + false + "'", boolean54 == false); org.junit.Assert.assertNotNull(jSType55); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertNotNull(jSTypeArray70); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertNotNull(jSType73); org.junit.Assert.assertTrue("'" + boolean74 + "' != '" + false + "'", boolean74 == false); org.junit.Assert.assertNotNull(objectType75); org.junit.Assert.assertNotNull(jSTypeArray76); org.junit.Assert.assertNotNull(functionType77); org.junit.Assert.assertNull(jSType78); org.junit.Assert.assertNotNull(jSTypeArray83); org.junit.Assert.assertTrue("'" + boolean85 + "' != '" + false + "'", boolean85 == false); org.junit.Assert.assertNotNull(jSType86); org.junit.Assert.assertTrue("'" + boolean87 + "' != '" + false + "'", boolean87 == false); org.junit.Assert.assertNotNull(objectType88); org.junit.Assert.assertNotNull(functionType89); org.junit.Assert.assertNotNull(jSTypeStaticScope90); org.junit.Assert.assertNotNull(jSTypeStaticScope91); org.junit.Assert.assertTrue("'" + boolean92 + "' != '" + false + "'", boolean92 == false); org.junit.Assert.assertNull(node93); org.junit.Assert.assertNotNull(iterable94); org.junit.Assert.assertTrue("'" + int95 + "' != '" + 0 + "'", int95 == 0); org.junit.Assert.assertNotNull(objectType96); org.junit.Assert.assertTrue("'" + boolean97 + "' != '" + false + "'", boolean97 == false); org.junit.Assert.assertTrue("'" + boolean98 + "' != '" + false + "'", boolean98 == false); } @Test public void test4523() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4523"); com.google.javascript.rhino.Node node1 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean2 = node1.isLabelName(); boolean boolean3 = node1.isReturn(); boolean boolean5 = node1.getBooleanProp(16); com.google.javascript.rhino.InputId inputId7 = new com.google.javascript.rhino.InputId("[]"); node1.setInputId(inputId7); java.lang.String str9 = node1.getSourceFileName(); boolean boolean10 = node1.isCatch(); org.junit.Assert.assertNotNull(node1); org.junit.Assert.assertTrue("'" + boolean2 + "' != '" + false + "'", boolean2 == false); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNull(str9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); } @Test public void test4524() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4524"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.ErrorReporter errorReporter2 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry3 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter2); com.google.javascript.rhino.jstype.ObjectType objectType4 = null; com.google.javascript.rhino.jstype.JSType jSType5 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray6 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList7 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean8 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList7, jSTypeArray6); com.google.javascript.rhino.jstype.JSType jSType9 = jSTypeRegistry3.createFunctionTypeWithVarArgs(objectType4, jSType5, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList7); boolean boolean10 = jSType9.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter12 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry13 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter12); com.google.javascript.rhino.jstype.ObjectType objectType14 = null; com.google.javascript.rhino.jstype.JSType jSType15 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray16 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList17 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean18 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList17, jSTypeArray16); com.google.javascript.rhino.jstype.JSType jSType19 = jSTypeRegistry13.createFunctionTypeWithVarArgs(objectType14, jSType15, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList17); boolean boolean20 = jSType19.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType21 = jSType19.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter22 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry23 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter22); com.google.javascript.rhino.jstype.ObjectType objectType24 = null; com.google.javascript.rhino.jstype.JSType jSType25 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray26 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList27 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean28 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList27, jSTypeArray26); com.google.javascript.rhino.jstype.JSType jSType29 = jSTypeRegistry23.createFunctionTypeWithVarArgs(objectType24, jSType25, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList27); boolean boolean30 = jSType29.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType31 = jSType29.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter32 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry33 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter32); com.google.javascript.rhino.jstype.ObjectType objectType34 = null; com.google.javascript.rhino.jstype.JSType jSType35 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray36 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList37 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean38 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList37, jSTypeArray36); com.google.javascript.rhino.jstype.JSType jSType39 = jSTypeRegistry33.createFunctionTypeWithVarArgs(objectType34, jSType35, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList37); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); boolean boolean48 = jSType47.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType49 = jSType47.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter50 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry51 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter50); com.google.javascript.rhino.jstype.ObjectType objectType52 = null; com.google.javascript.rhino.jstype.JSType jSType53 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray54 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList55 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean56 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList55, jSTypeArray54); com.google.javascript.rhino.jstype.JSType jSType57 = jSTypeRegistry51.createFunctionTypeWithVarArgs(objectType52, jSType53, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList55); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); boolean boolean66 = jSType65.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType67 = jSType65.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray68 = new com.google.javascript.rhino.jstype.JSType[] { jSType21, jSType29, jSType35, jSType49, jSType57, objectType67 }; com.google.javascript.rhino.jstype.FunctionType functionType69 = jSTypeRegistry1.createConstructorType(jSType9, false, jSTypeArray68); com.google.javascript.rhino.jstype.FunctionType functionType70 = functionType69.getOwnerFunction(); java.lang.Iterable<com.google.javascript.rhino.jstype.ObjectType> objectTypeIterable71 = functionType69.getImplementedInterfaces(); java.lang.String str72 = functionType69.getNormalizedReferenceName(); java.util.Set<java.lang.String> strSet73 = functionType69.getOwnPropertyNames(); int int74 = strSet73.size(); org.junit.Assert.assertNotNull(jSTypeArray6); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSType9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNotNull(jSTypeArray16); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSType19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(jSType21); org.junit.Assert.assertNotNull(jSTypeArray26); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(jSType31); org.junit.Assert.assertNotNull(jSTypeArray36); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(jSType49); org.junit.Assert.assertNotNull(jSTypeArray54); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertNotNull(objectType67); org.junit.Assert.assertNotNull(jSTypeArray68); org.junit.Assert.assertNotNull(functionType69); org.junit.Assert.assertNull(functionType70); org.junit.Assert.assertNotNull(objectTypeIterable71); org.junit.Assert.assertNull(str72); org.junit.Assert.assertNotNull(strSet73); org.junit.Assert.assertTrue("'" + int74 + "' != '" + 1 + "'", int74 == 1); } @Test public void test4525() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4525"); com.google.javascript.rhino.Node node4 = new com.google.javascript.rhino.Node(50, 1, 0); node4.removeProp((int) (short) 1); com.google.javascript.rhino.jstype.StaticSourceFile staticSourceFile7 = null; node4.setStaticSourceFile(staticSourceFile7); boolean boolean9 = node4.isNull(); com.google.javascript.rhino.Node node13 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean14 = node13.isLabelName(); java.util.Set<java.lang.String> strSet15 = node13.getDirectives(); com.google.javascript.rhino.Node node17 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean18 = node17.isLabelName(); com.google.javascript.rhino.Node[] nodeArray19 = new com.google.javascript.rhino.Node[] { node13, node17 }; com.google.javascript.rhino.Node node22 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray19, 50, 50); com.google.javascript.rhino.Node node24 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node22.addChildToFront(node24); boolean boolean26 = node22.isNew(); com.google.javascript.rhino.JSDocInfo jSDocInfo27 = node22.getJSDocInfo(); com.google.javascript.rhino.Node node30 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean31 = node30.isLabelName(); java.util.Set<java.lang.String> strSet32 = node30.getDirectives(); com.google.javascript.rhino.Node node34 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean35 = node34.isLabelName(); com.google.javascript.rhino.Node[] nodeArray36 = new com.google.javascript.rhino.Node[] { node30, node34 }; com.google.javascript.rhino.Node node39 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray36, 50, 50); com.google.javascript.rhino.Node node41 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node39.addChildToFront(node41); boolean boolean43 = node39.isNew(); node39.setLineno((int) (short) 10); boolean boolean46 = node39.isObjectLit(); com.google.javascript.rhino.Node[] nodeArray47 = new com.google.javascript.rhino.Node[] { node22, node39 }; com.google.javascript.rhino.Node node50 = new com.google.javascript.rhino.Node(44, nodeArray47, 40, (int) (short) 100); boolean boolean51 = node50.isWhile(); node50.setSourceEncodedPositionForTree((int) (short) 0); boolean boolean54 = node50.isParamList(); com.google.javascript.rhino.Node node57 = new com.google.javascript.rhino.Node(49, node4, node50, 41, (int) (byte) 0); boolean boolean58 = node57.isInstanceOf(); org.junit.Assert.assertTrue("'" + boolean9 + "' != '" + false + "'", boolean9 == false); org.junit.Assert.assertNotNull(node13); org.junit.Assert.assertTrue("'" + boolean14 + "' != '" + false + "'", boolean14 == false); org.junit.Assert.assertNull(strSet15); org.junit.Assert.assertNotNull(node17); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(nodeArray19); org.junit.Assert.assertNotNull(node24); org.junit.Assert.assertTrue("'" + boolean26 + "' != '" + false + "'", boolean26 == false); org.junit.Assert.assertNull(jSDocInfo27); org.junit.Assert.assertNotNull(node30); org.junit.Assert.assertTrue("'" + boolean31 + "' != '" + false + "'", boolean31 == false); org.junit.Assert.assertNull(strSet32); org.junit.Assert.assertNotNull(node34); org.junit.Assert.assertTrue("'" + boolean35 + "' != '" + false + "'", boolean35 == false); org.junit.Assert.assertNotNull(nodeArray36); org.junit.Assert.assertNotNull(node41); org.junit.Assert.assertTrue("'" + boolean43 + "' != '" + false + "'", boolean43 == false); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(nodeArray47); org.junit.Assert.assertTrue("'" + boolean51 + "' != '" + false + "'", boolean51 == false); org.junit.Assert.assertTrue("'" + boolean54 + "' != '" + false + "'", boolean54 == false); org.junit.Assert.assertTrue("'" + boolean58 + "' != '" + false + "'", boolean58 == false); } @Test public void test4526() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4526"); com.google.javascript.rhino.Node node1 = com.google.javascript.rhino.Node.newNumber((double) 10.0f); int int2 = node1.getSideEffectFlags(); org.junit.Assert.assertNotNull(node1); org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0); } @Test public void test4527() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4527"); com.google.javascript.rhino.Node node1 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node2 = com.google.javascript.jscomp.NodeUtil.newExpr(node1); com.google.javascript.rhino.jstype.StaticSourceFile staticSourceFile3 = null; node1.setStaticSourceFile(staticSourceFile3); com.google.javascript.rhino.Node node5 = node1.getParent(); boolean boolean6 = node5.isParamList(); boolean boolean7 = node5.isStringKey(); java.lang.String str8 = com.google.javascript.jscomp.NodeUtil.getSourceName(node5); com.google.javascript.rhino.jstype.StaticSourceFile staticSourceFile9 = node5.getStaticSourceFile(); int int10 = node5.getSideEffectFlags(); boolean boolean11 = node5.isString(); org.junit.Assert.assertNotNull(node1); org.junit.Assert.assertNotNull(node2); org.junit.Assert.assertNotNull(node5); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertNull(str8); org.junit.Assert.assertNull(staticSourceFile9); org.junit.Assert.assertTrue("'" + int10 + "' != '" + 0 + "'", int10 == 0); org.junit.Assert.assertTrue("'" + boolean11 + "' != '" + false + "'", boolean11 == false); } @Test public void test4528() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4528"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); jSTypeRegistry1.incrementGeneration(); com.google.javascript.rhino.ErrorReporter errorReporter9 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry10 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter9); com.google.javascript.rhino.ErrorReporter errorReporter11 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry12 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter11); com.google.javascript.rhino.jstype.ObjectType objectType13 = null; com.google.javascript.rhino.jstype.JSType jSType14 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray15 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList16 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean17 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList16, jSTypeArray15); com.google.javascript.rhino.jstype.JSType jSType18 = jSTypeRegistry12.createFunctionTypeWithVarArgs(objectType13, jSType14, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList16); boolean boolean19 = jSType18.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter21 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry22 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter21); com.google.javascript.rhino.jstype.ObjectType objectType23 = null; com.google.javascript.rhino.jstype.JSType jSType24 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray25 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList26 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean27 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList26, jSTypeArray25); com.google.javascript.rhino.jstype.JSType jSType28 = jSTypeRegistry22.createFunctionTypeWithVarArgs(objectType23, jSType24, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList26); boolean boolean29 = jSType28.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType30 = jSType28.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter31 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry32 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter31); com.google.javascript.rhino.jstype.ObjectType objectType33 = null; com.google.javascript.rhino.jstype.JSType jSType34 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray35 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList36 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean37 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList36, jSTypeArray35); com.google.javascript.rhino.jstype.JSType jSType38 = jSTypeRegistry32.createFunctionTypeWithVarArgs(objectType33, jSType34, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList36); boolean boolean39 = jSType38.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType40 = jSType38.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter41 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry42 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter41); com.google.javascript.rhino.jstype.ObjectType objectType43 = null; com.google.javascript.rhino.jstype.JSType jSType44 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray45 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList46 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean47 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList46, jSTypeArray45); com.google.javascript.rhino.jstype.JSType jSType48 = jSTypeRegistry42.createFunctionTypeWithVarArgs(objectType43, jSType44, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList46); com.google.javascript.rhino.ErrorReporter errorReporter49 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry50 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter49); com.google.javascript.rhino.jstype.ObjectType objectType51 = null; com.google.javascript.rhino.jstype.JSType jSType52 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray53 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList54 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean55 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList54, jSTypeArray53); com.google.javascript.rhino.jstype.JSType jSType56 = jSTypeRegistry50.createFunctionTypeWithVarArgs(objectType51, jSType52, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList54); boolean boolean57 = jSType56.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType58 = jSType56.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter59 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry60 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter59); com.google.javascript.rhino.jstype.ObjectType objectType61 = null; com.google.javascript.rhino.jstype.JSType jSType62 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray63 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList64 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean65 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList64, jSTypeArray63); com.google.javascript.rhino.jstype.JSType jSType66 = jSTypeRegistry60.createFunctionTypeWithVarArgs(objectType61, jSType62, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList64); com.google.javascript.rhino.ErrorReporter errorReporter67 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry68 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter67); com.google.javascript.rhino.jstype.ObjectType objectType69 = null; com.google.javascript.rhino.jstype.JSType jSType70 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray71 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList72 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean73 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList72, jSTypeArray71); com.google.javascript.rhino.jstype.JSType jSType74 = jSTypeRegistry68.createFunctionTypeWithVarArgs(objectType69, jSType70, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList72); boolean boolean75 = jSType74.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType76 = jSType74.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray77 = new com.google.javascript.rhino.jstype.JSType[] { jSType30, jSType38, jSType44, jSType58, jSType66, objectType76 }; com.google.javascript.rhino.jstype.FunctionType functionType78 = jSTypeRegistry10.createConstructorType(jSType18, false, jSTypeArray77); boolean boolean79 = functionType78.hasReferenceName(); boolean boolean80 = functionType78.isNoType(); jSTypeRegistry1.resolveTypesInScope((com.google.javascript.rhino.jstype.StaticScope<com.google.javascript.rhino.jstype.JSType>) functionType78); boolean boolean82 = functionType78.isNoResolvedType(); boolean boolean83 = functionType78.isNullType(); com.google.javascript.rhino.JSDocInfo jSDocInfo85 = new com.google.javascript.rhino.JSDocInfo(); java.lang.String str86 = jSDocInfo85.getDescription(); boolean boolean87 = jSDocInfo85.isInterface(); boolean boolean88 = jSDocInfo85.isDeprecated(); functionType78.setPropertyJSDocInfo("function (): {889988203}", jSDocInfo85); boolean boolean90 = jSDocInfo85.isHidden(); com.google.javascript.rhino.JSDocInfo.Visibility visibility91 = jSDocInfo85.getVisibility(); java.lang.String str92 = jSDocInfo85.getDeprecationReason(); boolean boolean93 = jSDocInfo85.isOverride(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertNotNull(jSTypeArray15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(jSType18); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(jSTypeArray25); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(jSType28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(jSType30); org.junit.Assert.assertNotNull(jSTypeArray35); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSType38); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(jSType40); org.junit.Assert.assertNotNull(jSTypeArray45); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(jSType48); org.junit.Assert.assertNotNull(jSTypeArray53); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); org.junit.Assert.assertNotNull(jSType56); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNotNull(jSType58); org.junit.Assert.assertNotNull(jSTypeArray63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(jSType66); org.junit.Assert.assertNotNull(jSTypeArray71); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNotNull(jSType74); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(objectType76); org.junit.Assert.assertNotNull(jSTypeArray77); org.junit.Assert.assertNotNull(functionType78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + false + "'", boolean79 == false); org.junit.Assert.assertTrue("'" + boolean80 + "' != '" + false + "'", boolean80 == false); org.junit.Assert.assertTrue("'" + boolean82 + "' != '" + false + "'", boolean82 == false); org.junit.Assert.assertTrue("'" + boolean83 + "' != '" + false + "'", boolean83 == false); org.junit.Assert.assertNull(str86); org.junit.Assert.assertTrue("'" + boolean87 + "' != '" + false + "'", boolean87 == false); org.junit.Assert.assertTrue("'" + boolean88 + "' != '" + false + "'", boolean88 == false); org.junit.Assert.assertTrue("'" + boolean90 + "' != '" + false + "'", boolean90 == false); org.junit.Assert.assertNull(visibility91); org.junit.Assert.assertNull(str92); org.junit.Assert.assertTrue("'" + boolean93 + "' != '" + false + "'", boolean93 == false); } @Test public void test4529() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4529"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.ErrorReporter errorReporter2 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry3 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter2); com.google.javascript.rhino.jstype.ObjectType objectType4 = null; com.google.javascript.rhino.jstype.JSType jSType5 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray6 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList7 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean8 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList7, jSTypeArray6); com.google.javascript.rhino.jstype.JSType jSType9 = jSTypeRegistry3.createFunctionTypeWithVarArgs(objectType4, jSType5, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList7); boolean boolean10 = jSType9.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter11 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry12 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter11); com.google.javascript.rhino.ErrorReporter errorReporter13 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry14 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter13); com.google.javascript.rhino.jstype.ObjectType objectType15 = null; com.google.javascript.rhino.jstype.JSType jSType16 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray17 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList18 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean19 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList18, jSTypeArray17); com.google.javascript.rhino.jstype.JSType jSType20 = jSTypeRegistry14.createFunctionTypeWithVarArgs(objectType15, jSType16, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList18); boolean boolean21 = jSType20.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter23 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry24 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter23); com.google.javascript.rhino.jstype.ObjectType objectType25 = null; com.google.javascript.rhino.jstype.JSType jSType26 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray27 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList28 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean29 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList28, jSTypeArray27); com.google.javascript.rhino.jstype.JSType jSType30 = jSTypeRegistry24.createFunctionTypeWithVarArgs(objectType25, jSType26, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList28); boolean boolean31 = jSType30.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType32 = jSType30.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter33 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry34 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter33); com.google.javascript.rhino.jstype.ObjectType objectType35 = null; com.google.javascript.rhino.jstype.JSType jSType36 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray37 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList38 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean39 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList38, jSTypeArray37); com.google.javascript.rhino.jstype.JSType jSType40 = jSTypeRegistry34.createFunctionTypeWithVarArgs(objectType35, jSType36, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList38); boolean boolean41 = jSType40.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType42 = jSType40.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter43 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry44 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter43); com.google.javascript.rhino.jstype.ObjectType objectType45 = null; com.google.javascript.rhino.jstype.JSType jSType46 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray47 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList48 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean49 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList48, jSTypeArray47); com.google.javascript.rhino.jstype.JSType jSType50 = jSTypeRegistry44.createFunctionTypeWithVarArgs(objectType45, jSType46, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList48); com.google.javascript.rhino.ErrorReporter errorReporter51 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry52 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter51); com.google.javascript.rhino.jstype.ObjectType objectType53 = null; com.google.javascript.rhino.jstype.JSType jSType54 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray55 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList56 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean57 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList56, jSTypeArray55); com.google.javascript.rhino.jstype.JSType jSType58 = jSTypeRegistry52.createFunctionTypeWithVarArgs(objectType53, jSType54, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList56); boolean boolean59 = jSType58.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType60 = jSType58.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter61 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry62 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter61); com.google.javascript.rhino.jstype.ObjectType objectType63 = null; com.google.javascript.rhino.jstype.JSType jSType64 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray65 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList66 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean67 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList66, jSTypeArray65); com.google.javascript.rhino.jstype.JSType jSType68 = jSTypeRegistry62.createFunctionTypeWithVarArgs(objectType63, jSType64, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList66); com.google.javascript.rhino.ErrorReporter errorReporter69 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry70 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter69); com.google.javascript.rhino.jstype.ObjectType objectType71 = null; com.google.javascript.rhino.jstype.JSType jSType72 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray73 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList74 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean75 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList74, jSTypeArray73); com.google.javascript.rhino.jstype.JSType jSType76 = jSTypeRegistry70.createFunctionTypeWithVarArgs(objectType71, jSType72, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList74); boolean boolean77 = jSType76.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType78 = jSType76.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray79 = new com.google.javascript.rhino.jstype.JSType[] { jSType32, jSType40, jSType46, jSType60, jSType68, objectType78 }; com.google.javascript.rhino.jstype.FunctionType functionType80 = jSTypeRegistry12.createConstructorType(jSType20, false, jSTypeArray79); boolean boolean81 = jSType9.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType80); com.google.javascript.rhino.jstype.FunctionType functionType82 = functionType80.toMaybeFunctionType(); com.google.javascript.rhino.JSDocInfo jSDocInfo83 = null; functionType80.setJSDocInfo(jSDocInfo83); java.lang.Iterable<com.google.javascript.rhino.jstype.ObjectType> objectTypeIterable85 = functionType80.getAllImplementedInterfaces(); boolean boolean87 = jSTypeRegistry1.canPropertyBeDefined((com.google.javascript.rhino.jstype.JSType) functionType80, "EXPR_RESULT"); java.lang.Iterable<com.google.javascript.rhino.jstype.JSType> jSTypeIterable89 = jSTypeRegistry1.getTypesWithProperty("hi!"); com.google.javascript.rhino.jstype.JSType jSType94 = jSTypeRegistry1.createNamedType("{111306604}", "Unknown class name", 48, 53); jSTypeRegistry1.resetForTypeCheck(); com.google.javascript.rhino.ErrorReporter errorReporter96 = jSTypeRegistry1.getErrorReporter(); org.junit.Assert.assertNotNull(jSTypeArray6); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSType9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNotNull(jSTypeArray17); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(jSType20); org.junit.Assert.assertTrue("'" + boolean21 + "' != '" + false + "'", boolean21 == false); org.junit.Assert.assertNotNull(jSTypeArray27); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(jSType30); org.junit.Assert.assertTrue("'" + boolean31 + "' != '" + false + "'", boolean31 == false); org.junit.Assert.assertNotNull(jSType32); org.junit.Assert.assertNotNull(jSTypeArray37); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(jSType40); org.junit.Assert.assertTrue("'" + boolean41 + "' != '" + false + "'", boolean41 == false); org.junit.Assert.assertNotNull(jSType42); org.junit.Assert.assertNotNull(jSTypeArray47); org.junit.Assert.assertTrue("'" + boolean49 + "' != '" + false + "'", boolean49 == false); org.junit.Assert.assertNotNull(jSType50); org.junit.Assert.assertNotNull(jSTypeArray55); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNotNull(jSType58); org.junit.Assert.assertTrue("'" + boolean59 + "' != '" + false + "'", boolean59 == false); org.junit.Assert.assertNotNull(jSType60); org.junit.Assert.assertNotNull(jSTypeArray65); org.junit.Assert.assertTrue("'" + boolean67 + "' != '" + false + "'", boolean67 == false); org.junit.Assert.assertNotNull(jSType68); org.junit.Assert.assertNotNull(jSTypeArray73); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(jSType76); org.junit.Assert.assertTrue("'" + boolean77 + "' != '" + false + "'", boolean77 == false); org.junit.Assert.assertNotNull(objectType78); org.junit.Assert.assertNotNull(jSTypeArray79); org.junit.Assert.assertNotNull(functionType80); org.junit.Assert.assertTrue("'" + boolean81 + "' != '" + true + "'", boolean81 == true); org.junit.Assert.assertNotNull(functionType82); org.junit.Assert.assertNotNull(objectTypeIterable85); org.junit.Assert.assertTrue("'" + boolean87 + "' != '" + false + "'", boolean87 == false); org.junit.Assert.assertNotNull(jSTypeIterable89); org.junit.Assert.assertNotNull(jSType94); org.junit.Assert.assertNull(errorReporter96); } @Test public void test4530() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4530"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); com.google.javascript.rhino.jstype.JSType jSType8 = null; com.google.javascript.rhino.ErrorReporter errorReporter9 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry10 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter9); com.google.javascript.rhino.ErrorReporter errorReporter11 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry12 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter11); com.google.javascript.rhino.jstype.ObjectType objectType13 = null; com.google.javascript.rhino.jstype.JSType jSType14 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray15 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList16 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean17 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList16, jSTypeArray15); com.google.javascript.rhino.jstype.JSType jSType18 = jSTypeRegistry12.createFunctionTypeWithVarArgs(objectType13, jSType14, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList16); boolean boolean19 = jSType18.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter21 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry22 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter21); com.google.javascript.rhino.jstype.ObjectType objectType23 = null; com.google.javascript.rhino.jstype.JSType jSType24 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray25 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList26 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean27 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList26, jSTypeArray25); com.google.javascript.rhino.jstype.JSType jSType28 = jSTypeRegistry22.createFunctionTypeWithVarArgs(objectType23, jSType24, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList26); boolean boolean29 = jSType28.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType30 = jSType28.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter31 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry32 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter31); com.google.javascript.rhino.jstype.ObjectType objectType33 = null; com.google.javascript.rhino.jstype.JSType jSType34 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray35 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList36 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean37 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList36, jSTypeArray35); com.google.javascript.rhino.jstype.JSType jSType38 = jSTypeRegistry32.createFunctionTypeWithVarArgs(objectType33, jSType34, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList36); boolean boolean39 = jSType38.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType40 = jSType38.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter41 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry42 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter41); com.google.javascript.rhino.jstype.ObjectType objectType43 = null; com.google.javascript.rhino.jstype.JSType jSType44 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray45 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList46 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean47 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList46, jSTypeArray45); com.google.javascript.rhino.jstype.JSType jSType48 = jSTypeRegistry42.createFunctionTypeWithVarArgs(objectType43, jSType44, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList46); com.google.javascript.rhino.ErrorReporter errorReporter49 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry50 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter49); com.google.javascript.rhino.jstype.ObjectType objectType51 = null; com.google.javascript.rhino.jstype.JSType jSType52 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray53 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList54 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean55 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList54, jSTypeArray53); com.google.javascript.rhino.jstype.JSType jSType56 = jSTypeRegistry50.createFunctionTypeWithVarArgs(objectType51, jSType52, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList54); boolean boolean57 = jSType56.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType58 = jSType56.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter59 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry60 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter59); com.google.javascript.rhino.jstype.ObjectType objectType61 = null; com.google.javascript.rhino.jstype.JSType jSType62 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray63 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList64 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean65 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList64, jSTypeArray63); com.google.javascript.rhino.jstype.JSType jSType66 = jSTypeRegistry60.createFunctionTypeWithVarArgs(objectType61, jSType62, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList64); com.google.javascript.rhino.ErrorReporter errorReporter67 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry68 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter67); com.google.javascript.rhino.jstype.ObjectType objectType69 = null; com.google.javascript.rhino.jstype.JSType jSType70 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray71 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList72 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean73 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList72, jSTypeArray71); com.google.javascript.rhino.jstype.JSType jSType74 = jSTypeRegistry68.createFunctionTypeWithVarArgs(objectType69, jSType70, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList72); boolean boolean75 = jSType74.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType76 = jSType74.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray77 = new com.google.javascript.rhino.jstype.JSType[] { jSType30, jSType38, jSType44, jSType58, jSType66, objectType76 }; com.google.javascript.rhino.jstype.FunctionType functionType78 = jSTypeRegistry10.createConstructorType(jSType18, false, jSTypeArray77); com.google.javascript.rhino.jstype.FunctionType functionType79 = jSTypeRegistry1.createFunctionTypeWithVarArgs(jSType8, jSTypeArray77); com.google.javascript.rhino.jstype.ObjectType objectType80 = jSTypeRegistry1.createAnonymousObjectType(); com.google.javascript.rhino.jstype.ObjectType objectType81 = jSTypeRegistry1.createAnonymousObjectType(); jSTypeRegistry1.identifyNonNullableName("function (): {56751540}"); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertNotNull(jSTypeArray15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(jSType18); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(jSTypeArray25); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(jSType28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(jSType30); org.junit.Assert.assertNotNull(jSTypeArray35); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSType38); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(jSType40); org.junit.Assert.assertNotNull(jSTypeArray45); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(jSType48); org.junit.Assert.assertNotNull(jSTypeArray53); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); org.junit.Assert.assertNotNull(jSType56); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNotNull(jSType58); org.junit.Assert.assertNotNull(jSTypeArray63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(jSType66); org.junit.Assert.assertNotNull(jSTypeArray71); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNotNull(jSType74); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(objectType76); org.junit.Assert.assertNotNull(jSTypeArray77); org.junit.Assert.assertNotNull(functionType78); org.junit.Assert.assertNotNull(functionType79); org.junit.Assert.assertNotNull(objectType80); org.junit.Assert.assertNotNull(objectType81); } @Test public void test4531() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4531"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.ErrorReporter errorReporter2 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry3 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter2); com.google.javascript.rhino.jstype.ObjectType objectType4 = null; com.google.javascript.rhino.jstype.JSType jSType5 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray6 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList7 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean8 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList7, jSTypeArray6); com.google.javascript.rhino.jstype.JSType jSType9 = jSTypeRegistry3.createFunctionTypeWithVarArgs(objectType4, jSType5, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList7); boolean boolean10 = jSType9.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter12 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry13 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter12); com.google.javascript.rhino.jstype.ObjectType objectType14 = null; com.google.javascript.rhino.jstype.JSType jSType15 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray16 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList17 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean18 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList17, jSTypeArray16); com.google.javascript.rhino.jstype.JSType jSType19 = jSTypeRegistry13.createFunctionTypeWithVarArgs(objectType14, jSType15, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList17); boolean boolean20 = jSType19.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType21 = jSType19.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter22 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry23 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter22); com.google.javascript.rhino.jstype.ObjectType objectType24 = null; com.google.javascript.rhino.jstype.JSType jSType25 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray26 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList27 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean28 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList27, jSTypeArray26); com.google.javascript.rhino.jstype.JSType jSType29 = jSTypeRegistry23.createFunctionTypeWithVarArgs(objectType24, jSType25, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList27); boolean boolean30 = jSType29.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType31 = jSType29.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter32 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry33 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter32); com.google.javascript.rhino.jstype.ObjectType objectType34 = null; com.google.javascript.rhino.jstype.JSType jSType35 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray36 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList37 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean38 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList37, jSTypeArray36); com.google.javascript.rhino.jstype.JSType jSType39 = jSTypeRegistry33.createFunctionTypeWithVarArgs(objectType34, jSType35, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList37); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); boolean boolean48 = jSType47.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType49 = jSType47.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter50 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry51 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter50); com.google.javascript.rhino.jstype.ObjectType objectType52 = null; com.google.javascript.rhino.jstype.JSType jSType53 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray54 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList55 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean56 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList55, jSTypeArray54); com.google.javascript.rhino.jstype.JSType jSType57 = jSTypeRegistry51.createFunctionTypeWithVarArgs(objectType52, jSType53, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList55); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); boolean boolean66 = jSType65.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType67 = jSType65.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray68 = new com.google.javascript.rhino.jstype.JSType[] { jSType21, jSType29, jSType35, jSType49, jSType57, objectType67 }; com.google.javascript.rhino.jstype.FunctionType functionType69 = jSTypeRegistry1.createConstructorType(jSType9, false, jSTypeArray68); boolean boolean70 = functionType69.hasReferenceName(); boolean boolean72 = functionType69.isPropertyInExterns("Not declared as a constructor"); boolean boolean74 = functionType69.isPropertyTypeInferred(""); boolean boolean76 = functionType69.hasProperty(""); boolean boolean77 = functionType69.isNumberObjectType(); com.google.javascript.rhino.jstype.ObjectType objectType78 = functionType69.getTypeOfThis(); com.google.javascript.rhino.jstype.JSType jSType79 = functionType69.autoboxesTo(); boolean boolean80 = functionType69.canBeCalled(); org.junit.Assert.assertNotNull(jSTypeArray6); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSType9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNotNull(jSTypeArray16); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSType19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(jSType21); org.junit.Assert.assertNotNull(jSTypeArray26); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(jSType31); org.junit.Assert.assertNotNull(jSTypeArray36); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(jSType49); org.junit.Assert.assertNotNull(jSTypeArray54); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertNotNull(objectType67); org.junit.Assert.assertNotNull(jSTypeArray68); org.junit.Assert.assertNotNull(functionType69); org.junit.Assert.assertTrue("'" + boolean70 + "' != '" + false + "'", boolean70 == false); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertTrue("'" + boolean74 + "' != '" + false + "'", boolean74 == false); org.junit.Assert.assertTrue("'" + boolean76 + "' != '" + false + "'", boolean76 == false); org.junit.Assert.assertTrue("'" + boolean77 + "' != '" + false + "'", boolean77 == false); org.junit.Assert.assertNotNull(objectType78); org.junit.Assert.assertNull(jSType79); org.junit.Assert.assertTrue("'" + boolean80 + "' != '" + true + "'", boolean80 == true); } @Test public void test4532() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4532"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.ErrorReporter errorReporter2 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry3 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter2); com.google.javascript.rhino.jstype.ObjectType objectType4 = null; com.google.javascript.rhino.jstype.JSType jSType5 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray6 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList7 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean8 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList7, jSTypeArray6); com.google.javascript.rhino.jstype.JSType jSType9 = jSTypeRegistry3.createFunctionTypeWithVarArgs(objectType4, jSType5, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList7); boolean boolean10 = jSType9.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter12 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry13 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter12); com.google.javascript.rhino.jstype.ObjectType objectType14 = null; com.google.javascript.rhino.jstype.JSType jSType15 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray16 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList17 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean18 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList17, jSTypeArray16); com.google.javascript.rhino.jstype.JSType jSType19 = jSTypeRegistry13.createFunctionTypeWithVarArgs(objectType14, jSType15, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList17); boolean boolean20 = jSType19.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType21 = jSType19.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter22 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry23 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter22); com.google.javascript.rhino.jstype.ObjectType objectType24 = null; com.google.javascript.rhino.jstype.JSType jSType25 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray26 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList27 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean28 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList27, jSTypeArray26); com.google.javascript.rhino.jstype.JSType jSType29 = jSTypeRegistry23.createFunctionTypeWithVarArgs(objectType24, jSType25, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList27); boolean boolean30 = jSType29.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType31 = jSType29.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter32 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry33 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter32); com.google.javascript.rhino.jstype.ObjectType objectType34 = null; com.google.javascript.rhino.jstype.JSType jSType35 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray36 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList37 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean38 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList37, jSTypeArray36); com.google.javascript.rhino.jstype.JSType jSType39 = jSTypeRegistry33.createFunctionTypeWithVarArgs(objectType34, jSType35, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList37); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); boolean boolean48 = jSType47.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType49 = jSType47.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter50 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry51 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter50); com.google.javascript.rhino.jstype.ObjectType objectType52 = null; com.google.javascript.rhino.jstype.JSType jSType53 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray54 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList55 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean56 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList55, jSTypeArray54); com.google.javascript.rhino.jstype.JSType jSType57 = jSTypeRegistry51.createFunctionTypeWithVarArgs(objectType52, jSType53, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList55); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); boolean boolean66 = jSType65.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType67 = jSType65.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray68 = new com.google.javascript.rhino.jstype.JSType[] { jSType21, jSType29, jSType35, jSType49, jSType57, objectType67 }; com.google.javascript.rhino.jstype.FunctionType functionType69 = jSTypeRegistry1.createConstructorType(jSType9, false, jSTypeArray68); boolean boolean70 = functionType69.hasReferenceName(); boolean boolean71 = functionType69.isNoType(); java.util.List<com.google.javascript.rhino.jstype.FunctionType> functionTypeList72 = functionType69.getSubTypes(); java.util.List<com.google.javascript.rhino.jstype.FunctionType> functionTypeList73 = functionType69.getSubTypes(); com.google.javascript.rhino.jstype.JSType jSType75 = functionType69.findPropertyType(""); boolean boolean76 = functionType69.isStringObjectType(); java.lang.Iterable iterable77 = functionType69.getCtorExtendedInterfaces(); java.lang.String str78 = functionType69.getNormalizedReferenceName(); boolean boolean79 = functionType69.isParameterizedType(); org.junit.Assert.assertNotNull(jSTypeArray6); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSType9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNotNull(jSTypeArray16); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSType19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(jSType21); org.junit.Assert.assertNotNull(jSTypeArray26); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(jSType31); org.junit.Assert.assertNotNull(jSTypeArray36); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(jSType49); org.junit.Assert.assertNotNull(jSTypeArray54); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertNotNull(objectType67); org.junit.Assert.assertNotNull(jSTypeArray68); org.junit.Assert.assertNotNull(functionType69); org.junit.Assert.assertTrue("'" + boolean70 + "' != '" + false + "'", boolean70 == false); org.junit.Assert.assertTrue("'" + boolean71 + "' != '" + false + "'", boolean71 == false); org.junit.Assert.assertNull(functionTypeList72); org.junit.Assert.assertNull(functionTypeList73); org.junit.Assert.assertNull(jSType75); org.junit.Assert.assertTrue("'" + boolean76 + "' != '" + false + "'", boolean76 == false); org.junit.Assert.assertNotNull(iterable77); org.junit.Assert.assertNull(str78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + false + "'", boolean79 == false); } @Test public void test4533() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4533"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); com.google.javascript.rhino.ErrorReporter errorReporter8 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry9 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter8); com.google.javascript.rhino.ErrorReporter errorReporter10 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry11 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter10); com.google.javascript.rhino.jstype.ObjectType objectType12 = null; com.google.javascript.rhino.jstype.JSType jSType13 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray14 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList15 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean16 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList15, jSTypeArray14); com.google.javascript.rhino.jstype.JSType jSType17 = jSTypeRegistry11.createFunctionTypeWithVarArgs(objectType12, jSType13, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList15); boolean boolean18 = jSType17.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter20 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry21 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter20); com.google.javascript.rhino.jstype.ObjectType objectType22 = null; com.google.javascript.rhino.jstype.JSType jSType23 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray24 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList25 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean26 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList25, jSTypeArray24); com.google.javascript.rhino.jstype.JSType jSType27 = jSTypeRegistry21.createFunctionTypeWithVarArgs(objectType22, jSType23, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList25); boolean boolean28 = jSType27.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType29 = jSType27.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter30 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry31 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter30); com.google.javascript.rhino.jstype.ObjectType objectType32 = null; com.google.javascript.rhino.jstype.JSType jSType33 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray34 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList35 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean36 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList35, jSTypeArray34); com.google.javascript.rhino.jstype.JSType jSType37 = jSTypeRegistry31.createFunctionTypeWithVarArgs(objectType32, jSType33, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList35); boolean boolean38 = jSType37.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType39 = jSType37.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); com.google.javascript.rhino.ErrorReporter errorReporter48 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry49 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter48); com.google.javascript.rhino.jstype.ObjectType objectType50 = null; com.google.javascript.rhino.jstype.JSType jSType51 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray52 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList53 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean54 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList53, jSTypeArray52); com.google.javascript.rhino.jstype.JSType jSType55 = jSTypeRegistry49.createFunctionTypeWithVarArgs(objectType50, jSType51, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList53); boolean boolean56 = jSType55.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType57 = jSType55.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); com.google.javascript.rhino.ErrorReporter errorReporter66 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry67 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter66); com.google.javascript.rhino.jstype.ObjectType objectType68 = null; com.google.javascript.rhino.jstype.JSType jSType69 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray70 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList71 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean72 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList71, jSTypeArray70); com.google.javascript.rhino.jstype.JSType jSType73 = jSTypeRegistry67.createFunctionTypeWithVarArgs(objectType68, jSType69, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList71); boolean boolean74 = jSType73.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType75 = jSType73.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray76 = new com.google.javascript.rhino.jstype.JSType[] { jSType29, jSType37, jSType43, jSType57, jSType65, objectType75 }; com.google.javascript.rhino.jstype.FunctionType functionType77 = jSTypeRegistry9.createConstructorType(jSType17, false, jSTypeArray76); com.google.javascript.rhino.jstype.JSType jSType78 = functionType77.unboxesTo(); com.google.javascript.rhino.ErrorReporter errorReporter79 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry80 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter79); com.google.javascript.rhino.jstype.ObjectType objectType81 = null; com.google.javascript.rhino.jstype.JSType jSType82 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray83 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList84 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean85 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList84, jSTypeArray83); com.google.javascript.rhino.jstype.JSType jSType86 = jSTypeRegistry80.createFunctionTypeWithVarArgs(objectType81, jSType82, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList84); boolean boolean87 = jSType86.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType88 = jSType86.toObjectType(); com.google.javascript.rhino.jstype.FunctionType functionType89 = jSTypeRegistry1.createFunctionTypeWithNewThisType(functionType77, objectType88); boolean boolean90 = functionType77.isNoObjectType(); java.lang.Iterable<com.google.javascript.rhino.jstype.ObjectType> objectTypeIterable91 = functionType77.getCtorImplementedInterfaces(); java.lang.Iterable<com.google.javascript.rhino.jstype.ObjectType> objectTypeIterable92 = functionType77.getCtorExtendedInterfaces(); java.util.Set<java.lang.String> strSet93 = functionType77.getOwnPropertyNames(); java.lang.Object[] objArray94 = strSet93.toArray(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertNotNull(jSTypeArray14); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertNotNull(jSType17); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSTypeArray24); org.junit.Assert.assertTrue("'" + boolean26 + "' != '" + false + "'", boolean26 == false); org.junit.Assert.assertNotNull(jSType27); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertNotNull(jSTypeArray34); org.junit.Assert.assertTrue("'" + boolean36 + "' != '" + false + "'", boolean36 == false); org.junit.Assert.assertNotNull(jSType37); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertNotNull(jSTypeArray52); org.junit.Assert.assertTrue("'" + boolean54 + "' != '" + false + "'", boolean54 == false); org.junit.Assert.assertNotNull(jSType55); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertNotNull(jSTypeArray70); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertNotNull(jSType73); org.junit.Assert.assertTrue("'" + boolean74 + "' != '" + false + "'", boolean74 == false); org.junit.Assert.assertNotNull(objectType75); org.junit.Assert.assertNotNull(jSTypeArray76); org.junit.Assert.assertNotNull(functionType77); org.junit.Assert.assertNull(jSType78); org.junit.Assert.assertNotNull(jSTypeArray83); org.junit.Assert.assertTrue("'" + boolean85 + "' != '" + false + "'", boolean85 == false); org.junit.Assert.assertNotNull(jSType86); org.junit.Assert.assertTrue("'" + boolean87 + "' != '" + false + "'", boolean87 == false); org.junit.Assert.assertNotNull(objectType88); org.junit.Assert.assertNotNull(functionType89); org.junit.Assert.assertTrue("'" + boolean90 + "' != '" + false + "'", boolean90 == false); org.junit.Assert.assertNotNull(objectTypeIterable91); org.junit.Assert.assertNotNull(objectTypeIterable92); org.junit.Assert.assertNotNull(strSet93); org.junit.Assert.assertNotNull(objArray94); org.junit.Assert.assertEquals(java.util.Arrays.deepToString(objArray94), "[]"); org.junit.Assert.assertEquals(java.util.Arrays.toString(objArray94), "[]"); } @Test public void test4534() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4534"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); com.google.javascript.rhino.ErrorReporter errorReporter8 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry9 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter8); com.google.javascript.rhino.jstype.ObjectType objectType10 = null; com.google.javascript.rhino.jstype.JSType jSType11 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray12 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList13 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean14 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList13, jSTypeArray12); com.google.javascript.rhino.jstype.JSType jSType15 = jSTypeRegistry9.createFunctionTypeWithVarArgs(objectType10, jSType11, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList13); com.google.javascript.rhino.ErrorReporter errorReporter16 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry17 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter16); com.google.javascript.rhino.jstype.ObjectType objectType18 = null; com.google.javascript.rhino.jstype.JSType jSType19 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray20 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList21 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean22 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList21, jSTypeArray20); com.google.javascript.rhino.jstype.JSType jSType23 = jSTypeRegistry17.createFunctionTypeWithVarArgs(objectType18, jSType19, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList21); boolean boolean24 = jSType23.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType25 = jSType23.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter26 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry27 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter26); com.google.javascript.rhino.jstype.ObjectType objectType28 = null; com.google.javascript.rhino.jstype.JSType jSType29 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray30 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList31 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean32 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList31, jSTypeArray30); com.google.javascript.rhino.jstype.JSType jSType33 = jSTypeRegistry27.createFunctionTypeWithVarArgs(objectType28, jSType29, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList31); com.google.javascript.rhino.jstype.JSType[] jSTypeArray34 = new com.google.javascript.rhino.jstype.JSType[] { jSType11, jSType25, objectType28 }; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList35 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean36 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList35, jSTypeArray34); boolean boolean37 = jSTypeList5.containsAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList35); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet38 = com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE; boolean boolean40 = booleanLiteralSet38.contains(false); boolean boolean42 = booleanLiteralSet38.contains(false); int int43 = jSTypeList5.lastIndexOf((java.lang.Object) false); java.util.Spliterator<com.google.javascript.rhino.jstype.JSType> jSTypeSpliterator44 = jSTypeList5.spliterator(); com.google.javascript.rhino.ErrorReporter errorReporter45 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry46 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter45); com.google.javascript.rhino.jstype.ObjectType objectType47 = null; com.google.javascript.rhino.jstype.JSType jSType48 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray49 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList50 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean51 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList50, jSTypeArray49); com.google.javascript.rhino.jstype.JSType jSType52 = jSTypeRegistry46.createFunctionTypeWithVarArgs(objectType47, jSType48, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList50); com.google.javascript.rhino.ErrorReporter errorReporter53 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry54 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter53); com.google.javascript.rhino.jstype.ObjectType objectType55 = null; com.google.javascript.rhino.jstype.JSType jSType56 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray57 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList58 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean59 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList58, jSTypeArray57); com.google.javascript.rhino.jstype.JSType jSType60 = jSTypeRegistry54.createFunctionTypeWithVarArgs(objectType55, jSType56, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList58); com.google.javascript.rhino.ErrorReporter errorReporter61 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry62 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter61); com.google.javascript.rhino.jstype.ObjectType objectType63 = null; com.google.javascript.rhino.jstype.JSType jSType64 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray65 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList66 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean67 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList66, jSTypeArray65); com.google.javascript.rhino.jstype.JSType jSType68 = jSTypeRegistry62.createFunctionTypeWithVarArgs(objectType63, jSType64, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList66); boolean boolean69 = jSType68.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType70 = jSType68.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter71 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry72 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter71); com.google.javascript.rhino.jstype.ObjectType objectType73 = null; com.google.javascript.rhino.jstype.JSType jSType74 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray75 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList76 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean77 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList76, jSTypeArray75); com.google.javascript.rhino.jstype.JSType jSType78 = jSTypeRegistry72.createFunctionTypeWithVarArgs(objectType73, jSType74, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList76); com.google.javascript.rhino.jstype.JSType[] jSTypeArray79 = new com.google.javascript.rhino.jstype.JSType[] { jSType56, jSType70, objectType73 }; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList80 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean81 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList80, jSTypeArray79); boolean boolean82 = jSTypeList50.containsAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList80); jSTypeList50.clear(); java.util.stream.Stream<com.google.javascript.rhino.jstype.JSType> jSTypeStream84 = jSTypeList50.stream(); boolean boolean85 = jSTypeList5.containsAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList50); boolean boolean87 = jSTypeList5.remove((java.lang.Object) 'a'); boolean boolean88 = jSTypeList5.isEmpty(); int int89 = jSTypeList5.size(); java.util.Collection<com.google.javascript.rhino.jstype.JSType> jSTypeCollection91 = null; // The following exception was thrown during execution in test generation try { boolean boolean92 = jSTypeList5.addAll(8, jSTypeCollection91); org.junit.Assert.fail("Expected exception of type java.lang.IndexOutOfBoundsException; message: Index: 8, Size: 0"); } catch (java.lang.IndexOutOfBoundsException e) { // Expected exception. } org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertNotNull(jSTypeArray12); org.junit.Assert.assertTrue("'" + boolean14 + "' != '" + false + "'", boolean14 == false); org.junit.Assert.assertNotNull(jSType15); org.junit.Assert.assertNotNull(jSTypeArray20); org.junit.Assert.assertTrue("'" + boolean22 + "' != '" + false + "'", boolean22 == false); org.junit.Assert.assertNotNull(jSType23); org.junit.Assert.assertTrue("'" + boolean24 + "' != '" + false + "'", boolean24 == false); org.junit.Assert.assertNotNull(jSType25); org.junit.Assert.assertNotNull(jSTypeArray30); org.junit.Assert.assertTrue("'" + boolean32 + "' != '" + false + "'", boolean32 == false); org.junit.Assert.assertNotNull(jSType33); org.junit.Assert.assertNotNull(jSTypeArray34); org.junit.Assert.assertTrue("'" + boolean36 + "' != '" + true + "'", boolean36 == true); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertTrue("'" + booleanLiteralSet38 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE + "'", booleanLiteralSet38.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE)); org.junit.Assert.assertTrue("'" + boolean40 + "' != '" + true + "'", boolean40 == true); org.junit.Assert.assertTrue("'" + boolean42 + "' != '" + true + "'", boolean42 == true); org.junit.Assert.assertTrue("'" + int43 + "' != '" + (-1) + "'", int43 == (-1)); org.junit.Assert.assertNotNull(jSTypeSpliterator44); org.junit.Assert.assertNotNull(jSTypeArray49); org.junit.Assert.assertTrue("'" + boolean51 + "' != '" + false + "'", boolean51 == false); org.junit.Assert.assertNotNull(jSType52); org.junit.Assert.assertNotNull(jSTypeArray57); org.junit.Assert.assertTrue("'" + boolean59 + "' != '" + false + "'", boolean59 == false); org.junit.Assert.assertNotNull(jSType60); org.junit.Assert.assertNotNull(jSTypeArray65); org.junit.Assert.assertTrue("'" + boolean67 + "' != '" + false + "'", boolean67 == false); org.junit.Assert.assertNotNull(jSType68); org.junit.Assert.assertTrue("'" + boolean69 + "' != '" + false + "'", boolean69 == false); org.junit.Assert.assertNotNull(jSType70); org.junit.Assert.assertNotNull(jSTypeArray75); org.junit.Assert.assertTrue("'" + boolean77 + "' != '" + false + "'", boolean77 == false); org.junit.Assert.assertNotNull(jSType78); org.junit.Assert.assertNotNull(jSTypeArray79); org.junit.Assert.assertTrue("'" + boolean81 + "' != '" + true + "'", boolean81 == true); org.junit.Assert.assertTrue("'" + boolean82 + "' != '" + false + "'", boolean82 == false); org.junit.Assert.assertNotNull(jSTypeStream84); org.junit.Assert.assertTrue("'" + boolean85 + "' != '" + true + "'", boolean85 == true); org.junit.Assert.assertTrue("'" + boolean87 + "' != '" + false + "'", boolean87 == false); org.junit.Assert.assertTrue("'" + boolean88 + "' != '" + true + "'", boolean88 == true); org.junit.Assert.assertTrue("'" + int89 + "' != '" + 0 + "'", int89 == 0); } @Test public void test4535() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4535"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); com.google.javascript.rhino.ErrorReporter errorReporter8 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry9 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter8); com.google.javascript.rhino.jstype.ObjectType objectType10 = null; com.google.javascript.rhino.jstype.JSType jSType11 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray12 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList13 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean14 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList13, jSTypeArray12); com.google.javascript.rhino.jstype.JSType jSType15 = jSTypeRegistry9.createFunctionTypeWithVarArgs(objectType10, jSType11, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList13); com.google.javascript.rhino.ErrorReporter errorReporter16 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry17 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter16); com.google.javascript.rhino.jstype.ObjectType objectType18 = null; com.google.javascript.rhino.jstype.JSType jSType19 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray20 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList21 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean22 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList21, jSTypeArray20); com.google.javascript.rhino.jstype.JSType jSType23 = jSTypeRegistry17.createFunctionTypeWithVarArgs(objectType18, jSType19, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList21); boolean boolean24 = jSType23.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType25 = jSType23.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter26 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry27 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter26); com.google.javascript.rhino.jstype.ObjectType objectType28 = null; com.google.javascript.rhino.jstype.JSType jSType29 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray30 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList31 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean32 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList31, jSTypeArray30); com.google.javascript.rhino.jstype.JSType jSType33 = jSTypeRegistry27.createFunctionTypeWithVarArgs(objectType28, jSType29, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList31); com.google.javascript.rhino.jstype.JSType[] jSTypeArray34 = new com.google.javascript.rhino.jstype.JSType[] { jSType11, jSType25, objectType28 }; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList35 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean36 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList35, jSTypeArray34); boolean boolean37 = jSTypeList5.containsAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList35); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet38 = com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE; boolean boolean40 = booleanLiteralSet38.contains(false); boolean boolean42 = booleanLiteralSet38.contains(false); int int43 = jSTypeList5.lastIndexOf((java.lang.Object) false); java.util.Spliterator<com.google.javascript.rhino.jstype.JSType> jSTypeSpliterator44 = jSTypeList5.spliterator(); boolean boolean45 = jSTypeList5.isEmpty(); int int46 = jSTypeList5.size(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertNotNull(jSTypeArray12); org.junit.Assert.assertTrue("'" + boolean14 + "' != '" + false + "'", boolean14 == false); org.junit.Assert.assertNotNull(jSType15); org.junit.Assert.assertNotNull(jSTypeArray20); org.junit.Assert.assertTrue("'" + boolean22 + "' != '" + false + "'", boolean22 == false); org.junit.Assert.assertNotNull(jSType23); org.junit.Assert.assertTrue("'" + boolean24 + "' != '" + false + "'", boolean24 == false); org.junit.Assert.assertNotNull(jSType25); org.junit.Assert.assertNotNull(jSTypeArray30); org.junit.Assert.assertTrue("'" + boolean32 + "' != '" + false + "'", boolean32 == false); org.junit.Assert.assertNotNull(jSType33); org.junit.Assert.assertNotNull(jSTypeArray34); org.junit.Assert.assertTrue("'" + boolean36 + "' != '" + true + "'", boolean36 == true); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertTrue("'" + booleanLiteralSet38 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE + "'", booleanLiteralSet38.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE)); org.junit.Assert.assertTrue("'" + boolean40 + "' != '" + true + "'", boolean40 == true); org.junit.Assert.assertTrue("'" + boolean42 + "' != '" + true + "'", boolean42 == true); org.junit.Assert.assertTrue("'" + int43 + "' != '" + (-1) + "'", int43 == (-1)); org.junit.Assert.assertNotNull(jSTypeSpliterator44); org.junit.Assert.assertTrue("'" + boolean45 + "' != '" + true + "'", boolean45 == true); org.junit.Assert.assertTrue("'" + int46 + "' != '" + 0 + "'", int46 == 0); } @Test public void test4536() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4536"); com.google.javascript.rhino.JSDocInfo jSDocInfo0 = new com.google.javascript.rhino.JSDocInfo(); java.lang.String str1 = jSDocInfo0.getDescription(); boolean boolean2 = jSDocInfo0.isInterface(); java.lang.String str3 = jSDocInfo0.getOriginalCommentString(); java.lang.String str4 = jSDocInfo0.getVersion(); java.lang.String str5 = jSDocInfo0.getBlockDescription(); com.google.javascript.rhino.JSTypeExpression jSTypeExpression6 = jSDocInfo0.getType(); int int7 = jSDocInfo0.getExtendedInterfacesCount(); org.junit.Assert.assertNull(str1); org.junit.Assert.assertTrue("'" + boolean2 + "' != '" + false + "'", boolean2 == false); org.junit.Assert.assertNull(str3); org.junit.Assert.assertNull(str4); org.junit.Assert.assertNull(str5); org.junit.Assert.assertNull(jSTypeExpression6); org.junit.Assert.assertTrue("'" + int7 + "' != '" + 0 + "'", int7 == 0); } @Test public void test4537() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4537"); com.google.javascript.rhino.Node node2 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean3 = node2.isLabelName(); java.util.Set<java.lang.String> strSet4 = node2.getDirectives(); com.google.javascript.rhino.Node node6 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean7 = node6.isLabelName(); com.google.javascript.rhino.Node[] nodeArray8 = new com.google.javascript.rhino.Node[] { node2, node6 }; com.google.javascript.rhino.Node node11 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray8, 50, 50); com.google.javascript.rhino.Node node13 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node11.addChildToFront(node13); boolean boolean15 = node11.isNew(); com.google.javascript.rhino.Node node17 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node18 = node11.useSourceInfoFrom(node17); int int19 = node17.getSourcePosition(); boolean boolean20 = node17.isComma(); boolean boolean21 = node17.isIf(); boolean boolean22 = node17.isNot(); com.google.javascript.rhino.jstype.StaticSourceFile staticSourceFile23 = null; node17.setStaticSourceFile(staticSourceFile23); com.google.javascript.rhino.Node.FileLevelJsDocBuilder fileLevelJsDocBuilder25 = node17.getJsDocBuilderForNode(); org.junit.Assert.assertNotNull(node2); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertNull(strSet4); org.junit.Assert.assertNotNull(node6); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertNotNull(nodeArray8); org.junit.Assert.assertNotNull(node13); org.junit.Assert.assertTrue("'" + boolean15 + "' != '" + false + "'", boolean15 == false); org.junit.Assert.assertNotNull(node17); org.junit.Assert.assertNotNull(node18); org.junit.Assert.assertTrue("'" + int19 + "' != '" + (-1) + "'", int19 == (-1)); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertTrue("'" + boolean21 + "' != '" + false + "'", boolean21 == false); org.junit.Assert.assertTrue("'" + boolean22 + "' != '" + false + "'", boolean22 == false); org.junit.Assert.assertNotNull(fileLevelJsDocBuilder25); } @Test public void test4538() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4538"); com.google.javascript.rhino.Node node2 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean3 = node2.isLabelName(); java.util.Set<java.lang.String> strSet4 = node2.getDirectives(); com.google.javascript.rhino.Node node6 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean7 = node6.isLabelName(); com.google.javascript.rhino.Node[] nodeArray8 = new com.google.javascript.rhino.Node[] { node2, node6 }; com.google.javascript.rhino.Node node11 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray8, 50, 50); com.google.javascript.rhino.Node node13 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node11.addChildToFront(node13); boolean boolean15 = node13.isDefaultCase(); com.google.javascript.rhino.Node node16 = node13.getParent(); node13.detachChildren(); com.google.javascript.rhino.Node node20 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean21 = node20.isLabelName(); java.util.Set<java.lang.String> strSet22 = node20.getDirectives(); com.google.javascript.rhino.Node node24 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean25 = node24.isLabelName(); com.google.javascript.rhino.Node[] nodeArray26 = new com.google.javascript.rhino.Node[] { node20, node24 }; com.google.javascript.rhino.Node node29 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray26, 50, 50); com.google.javascript.rhino.Node node31 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node29.addChildToFront(node31); boolean boolean33 = node29.isNew(); java.lang.String[] strArray36 = new java.lang.String[] { "function (): ?", "" }; java.util.LinkedHashSet<java.lang.String> strSet37 = new java.util.LinkedHashSet<java.lang.String>(); boolean boolean38 = java.util.Collections.addAll((java.util.Collection<java.lang.String>) strSet37, strArray36); node29.setDirectives((java.util.Set<java.lang.String>) strSet37); int int40 = node13.getIndexOfChild(node29); boolean boolean41 = node29.isScript(); java.lang.Iterable<com.google.javascript.rhino.Node> nodeIterable42 = node29.children(); boolean boolean43 = node29.isBreak(); com.google.javascript.rhino.Node node46 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean47 = node46.isLabelName(); java.util.Set<java.lang.String> strSet48 = node46.getDirectives(); com.google.javascript.rhino.Node node50 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean51 = node50.isLabelName(); com.google.javascript.rhino.Node[] nodeArray52 = new com.google.javascript.rhino.Node[] { node46, node50 }; com.google.javascript.rhino.Node node55 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray52, 50, 50); com.google.javascript.rhino.Node node57 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node55.addChildToFront(node57); boolean boolean59 = node55.isNew(); com.google.javascript.rhino.Node node61 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node62 = node55.useSourceInfoFrom(node61); int int63 = node61.getSourcePosition(); node61.putIntProp(0, 10); java.lang.Iterable<com.google.javascript.rhino.Node> nodeIterable67 = node61.siblings(); boolean boolean68 = node61.isDo(); com.google.javascript.rhino.Node node71 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean72 = node71.isLabelName(); java.util.Set<java.lang.String> strSet73 = node71.getDirectives(); com.google.javascript.rhino.Node node75 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean76 = node75.isLabelName(); com.google.javascript.rhino.Node[] nodeArray77 = new com.google.javascript.rhino.Node[] { node71, node75 }; com.google.javascript.rhino.Node node80 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray77, 50, 50); com.google.javascript.rhino.Node node82 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node80.addChildToFront(node82); boolean boolean84 = node82.isDefaultCase(); com.google.javascript.rhino.Node node85 = node82.getParent(); boolean boolean86 = node82.isSetterDef(); boolean boolean87 = node82.isReturn(); int int89 = node82.getIntProp((int) (short) 100); com.google.javascript.rhino.JSDocInfo jSDocInfo90 = null; node82.setJSDocInfo(jSDocInfo90); com.google.javascript.rhino.Node node92 = node82.removeChildren(); // The following exception was thrown during execution in test generation try { node29.addChildBefore(node61, node82); org.junit.Assert.fail("Expected exception of type java.lang.IllegalArgumentException; message: The existing child node of the parent should not be null."); } catch (java.lang.IllegalArgumentException e) { // Expected exception. } org.junit.Assert.assertNotNull(node2); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertNull(strSet4); org.junit.Assert.assertNotNull(node6); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertNotNull(nodeArray8); org.junit.Assert.assertNotNull(node13); org.junit.Assert.assertTrue("'" + boolean15 + "' != '" + false + "'", boolean15 == false); org.junit.Assert.assertNotNull(node16); org.junit.Assert.assertNotNull(node20); org.junit.Assert.assertTrue("'" + boolean21 + "' != '" + false + "'", boolean21 == false); org.junit.Assert.assertNull(strSet22); org.junit.Assert.assertNotNull(node24); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); org.junit.Assert.assertNotNull(nodeArray26); org.junit.Assert.assertNotNull(node31); org.junit.Assert.assertTrue("'" + boolean33 + "' != '" + false + "'", boolean33 == false); org.junit.Assert.assertNotNull(strArray36); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + true + "'", boolean38 == true); org.junit.Assert.assertTrue("'" + int40 + "' != '" + (-1) + "'", int40 == (-1)); org.junit.Assert.assertTrue("'" + boolean41 + "' != '" + false + "'", boolean41 == false); org.junit.Assert.assertNotNull(nodeIterable42); org.junit.Assert.assertTrue("'" + boolean43 + "' != '" + false + "'", boolean43 == false); org.junit.Assert.assertNotNull(node46); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNull(strSet48); org.junit.Assert.assertNotNull(node50); org.junit.Assert.assertTrue("'" + boolean51 + "' != '" + false + "'", boolean51 == false); org.junit.Assert.assertNotNull(nodeArray52); org.junit.Assert.assertNotNull(node57); org.junit.Assert.assertTrue("'" + boolean59 + "' != '" + false + "'", boolean59 == false); org.junit.Assert.assertNotNull(node61); org.junit.Assert.assertNotNull(node62); org.junit.Assert.assertTrue("'" + int63 + "' != '" + (-1) + "'", int63 == (-1)); org.junit.Assert.assertNotNull(nodeIterable67); org.junit.Assert.assertTrue("'" + boolean68 + "' != '" + false + "'", boolean68 == false); org.junit.Assert.assertNotNull(node71); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertNull(strSet73); org.junit.Assert.assertNotNull(node75); org.junit.Assert.assertTrue("'" + boolean76 + "' != '" + false + "'", boolean76 == false); org.junit.Assert.assertNotNull(nodeArray77); org.junit.Assert.assertNotNull(node82); org.junit.Assert.assertTrue("'" + boolean84 + "' != '" + false + "'", boolean84 == false); org.junit.Assert.assertNotNull(node85); org.junit.Assert.assertTrue("'" + boolean86 + "' != '" + false + "'", boolean86 == false); org.junit.Assert.assertTrue("'" + boolean87 + "' != '" + false + "'", boolean87 == false); org.junit.Assert.assertTrue("'" + int89 + "' != '" + 0 + "'", int89 == 0); org.junit.Assert.assertNull(node92); } @Test public void test4539() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4539"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); boolean boolean8 = jSType7.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter9 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry10 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter9); com.google.javascript.rhino.ErrorReporter errorReporter11 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry12 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter11); com.google.javascript.rhino.jstype.ObjectType objectType13 = null; com.google.javascript.rhino.jstype.JSType jSType14 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray15 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList16 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean17 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList16, jSTypeArray15); com.google.javascript.rhino.jstype.JSType jSType18 = jSTypeRegistry12.createFunctionTypeWithVarArgs(objectType13, jSType14, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList16); boolean boolean19 = jSType18.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter21 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry22 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter21); com.google.javascript.rhino.jstype.ObjectType objectType23 = null; com.google.javascript.rhino.jstype.JSType jSType24 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray25 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList26 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean27 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList26, jSTypeArray25); com.google.javascript.rhino.jstype.JSType jSType28 = jSTypeRegistry22.createFunctionTypeWithVarArgs(objectType23, jSType24, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList26); boolean boolean29 = jSType28.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType30 = jSType28.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter31 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry32 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter31); com.google.javascript.rhino.jstype.ObjectType objectType33 = null; com.google.javascript.rhino.jstype.JSType jSType34 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray35 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList36 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean37 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList36, jSTypeArray35); com.google.javascript.rhino.jstype.JSType jSType38 = jSTypeRegistry32.createFunctionTypeWithVarArgs(objectType33, jSType34, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList36); boolean boolean39 = jSType38.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType40 = jSType38.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter41 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry42 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter41); com.google.javascript.rhino.jstype.ObjectType objectType43 = null; com.google.javascript.rhino.jstype.JSType jSType44 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray45 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList46 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean47 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList46, jSTypeArray45); com.google.javascript.rhino.jstype.JSType jSType48 = jSTypeRegistry42.createFunctionTypeWithVarArgs(objectType43, jSType44, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList46); com.google.javascript.rhino.ErrorReporter errorReporter49 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry50 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter49); com.google.javascript.rhino.jstype.ObjectType objectType51 = null; com.google.javascript.rhino.jstype.JSType jSType52 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray53 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList54 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean55 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList54, jSTypeArray53); com.google.javascript.rhino.jstype.JSType jSType56 = jSTypeRegistry50.createFunctionTypeWithVarArgs(objectType51, jSType52, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList54); boolean boolean57 = jSType56.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType58 = jSType56.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter59 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry60 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter59); com.google.javascript.rhino.jstype.ObjectType objectType61 = null; com.google.javascript.rhino.jstype.JSType jSType62 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray63 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList64 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean65 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList64, jSTypeArray63); com.google.javascript.rhino.jstype.JSType jSType66 = jSTypeRegistry60.createFunctionTypeWithVarArgs(objectType61, jSType62, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList64); com.google.javascript.rhino.ErrorReporter errorReporter67 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry68 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter67); com.google.javascript.rhino.jstype.ObjectType objectType69 = null; com.google.javascript.rhino.jstype.JSType jSType70 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray71 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList72 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean73 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList72, jSTypeArray71); com.google.javascript.rhino.jstype.JSType jSType74 = jSTypeRegistry68.createFunctionTypeWithVarArgs(objectType69, jSType70, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList72); boolean boolean75 = jSType74.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType76 = jSType74.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray77 = new com.google.javascript.rhino.jstype.JSType[] { jSType30, jSType38, jSType44, jSType58, jSType66, objectType76 }; com.google.javascript.rhino.jstype.FunctionType functionType78 = jSTypeRegistry10.createConstructorType(jSType18, false, jSTypeArray77); boolean boolean79 = jSType7.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType78); com.google.javascript.rhino.jstype.StaticSlot staticSlot81 = functionType78.getSlot("Not declared as a constructor"); com.google.javascript.rhino.jstype.StaticScope<com.google.javascript.rhino.jstype.JSType> jSTypeStaticScope82 = functionType78.getParentScope(); functionType78.clearCachedValues(); com.google.javascript.rhino.Node node84 = functionType78.getParametersNode(); java.util.Set<java.lang.String> strSet85 = functionType78.getOwnPropertyNames(); com.google.javascript.rhino.jstype.JSType jSType87 = functionType78.getPropertyType("OR"); boolean boolean88 = jSType87.isFunctionPrototypeType(); com.google.javascript.rhino.jstype.JSType jSType89 = null; com.google.javascript.rhino.jstype.TernaryValue ternaryValue90 = jSType87.testForEquality(jSType89); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSTypeArray15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(jSType18); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(jSTypeArray25); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(jSType28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(jSType30); org.junit.Assert.assertNotNull(jSTypeArray35); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSType38); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(jSType40); org.junit.Assert.assertNotNull(jSTypeArray45); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(jSType48); org.junit.Assert.assertNotNull(jSTypeArray53); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); org.junit.Assert.assertNotNull(jSType56); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNotNull(jSType58); org.junit.Assert.assertNotNull(jSTypeArray63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(jSType66); org.junit.Assert.assertNotNull(jSTypeArray71); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNotNull(jSType74); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(objectType76); org.junit.Assert.assertNotNull(jSTypeArray77); org.junit.Assert.assertNotNull(functionType78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + true + "'", boolean79 == true); org.junit.Assert.assertNull(staticSlot81); org.junit.Assert.assertNotNull(jSTypeStaticScope82); org.junit.Assert.assertNotNull(node84); org.junit.Assert.assertNotNull(strSet85); org.junit.Assert.assertNotNull(jSType87); org.junit.Assert.assertTrue("'" + boolean88 + "' != '" + false + "'", boolean88 == false); org.junit.Assert.assertNotNull(ternaryValue90); } @Test public void test4540() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4540"); com.google.javascript.rhino.Node node2 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean3 = node2.isLabelName(); java.util.Set<java.lang.String> strSet4 = node2.getDirectives(); com.google.javascript.rhino.Node node6 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean7 = node6.isLabelName(); com.google.javascript.rhino.Node[] nodeArray8 = new com.google.javascript.rhino.Node[] { node2, node6 }; com.google.javascript.rhino.Node node11 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray8, 50, 50); com.google.javascript.rhino.Node node13 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node11.addChildToFront(node13); boolean boolean15 = node11.isNew(); com.google.javascript.rhino.Node node17 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node18 = node11.useSourceInfoFrom(node17); int int19 = node17.getSourcePosition(); boolean boolean20 = node17.isComma(); java.lang.String str24 = node17.toString(true, false, true); boolean boolean25 = node17.hasChildren(); com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec assertionFunctionSpec27 = new com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec("Not declared as a constructor"); com.google.javascript.rhino.Node node30 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean31 = node30.isLabelName(); com.google.javascript.rhino.Node node34 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean35 = node34.isLabelName(); java.util.Set<java.lang.String> strSet36 = node34.getDirectives(); com.google.javascript.rhino.Node node38 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean39 = node38.isLabelName(); com.google.javascript.rhino.Node[] nodeArray40 = new com.google.javascript.rhino.Node[] { node34, node38 }; com.google.javascript.rhino.Node node43 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray40, 50, 50); boolean boolean44 = node30.isEquivalentTo(node43); com.google.javascript.rhino.Node node45 = new com.google.javascript.rhino.Node(50, node43); com.google.javascript.rhino.Node node47 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node48 = com.google.javascript.jscomp.NodeUtil.newExpr(node47); boolean boolean49 = node47.isScript(); com.google.javascript.rhino.Node node50 = node45.useSourceInfoIfMissingFrom(node47); com.google.javascript.rhino.Node node51 = assertionFunctionSpec27.getAssertedParam(node50); boolean boolean52 = node51.isDec(); int int53 = node51.getLineno(); node17.addChildToBack(node51); boolean boolean55 = node17.isBlock(); // The following exception was thrown during execution in test generation try { double double56 = node17.getDouble(); org.junit.Assert.fail("Expected exception of type java.lang.UnsupportedOperationException; message: STRING Not declared as a constructor is not a number node"); } catch (java.lang.UnsupportedOperationException e) { // Expected exception. } org.junit.Assert.assertNotNull(node2); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertNull(strSet4); org.junit.Assert.assertNotNull(node6); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertNotNull(nodeArray8); org.junit.Assert.assertNotNull(node13); org.junit.Assert.assertTrue("'" + boolean15 + "' != '" + false + "'", boolean15 == false); org.junit.Assert.assertNotNull(node17); org.junit.Assert.assertNotNull(node18); org.junit.Assert.assertTrue("'" + int19 + "' != '" + (-1) + "'", int19 == (-1)); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertEquals("'" + str24 + "' != '" + "STRING Not declared as a constructor" + "'", str24, "STRING Not declared as a constructor"); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); org.junit.Assert.assertNotNull(node30); org.junit.Assert.assertTrue("'" + boolean31 + "' != '" + false + "'", boolean31 == false); org.junit.Assert.assertNotNull(node34); org.junit.Assert.assertTrue("'" + boolean35 + "' != '" + false + "'", boolean35 == false); org.junit.Assert.assertNull(strSet36); org.junit.Assert.assertNotNull(node38); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(nodeArray40); org.junit.Assert.assertTrue("'" + boolean44 + "' != '" + false + "'", boolean44 == false); org.junit.Assert.assertNotNull(node47); org.junit.Assert.assertNotNull(node48); org.junit.Assert.assertTrue("'" + boolean49 + "' != '" + false + "'", boolean49 == false); org.junit.Assert.assertNotNull(node50); org.junit.Assert.assertNotNull(node51); org.junit.Assert.assertTrue("'" + boolean52 + "' != '" + false + "'", boolean52 == false); org.junit.Assert.assertTrue("'" + int53 + "' != '" + (-1) + "'", int53 == (-1)); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); } @Test public void test4541() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4541"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); com.google.javascript.rhino.ErrorReporter errorReporter8 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry9 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter8); com.google.javascript.rhino.ErrorReporter errorReporter10 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry11 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter10); com.google.javascript.rhino.jstype.ObjectType objectType12 = null; com.google.javascript.rhino.jstype.JSType jSType13 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray14 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList15 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean16 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList15, jSTypeArray14); com.google.javascript.rhino.jstype.JSType jSType17 = jSTypeRegistry11.createFunctionTypeWithVarArgs(objectType12, jSType13, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList15); boolean boolean18 = jSType17.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter20 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry21 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter20); com.google.javascript.rhino.jstype.ObjectType objectType22 = null; com.google.javascript.rhino.jstype.JSType jSType23 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray24 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList25 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean26 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList25, jSTypeArray24); com.google.javascript.rhino.jstype.JSType jSType27 = jSTypeRegistry21.createFunctionTypeWithVarArgs(objectType22, jSType23, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList25); boolean boolean28 = jSType27.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType29 = jSType27.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter30 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry31 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter30); com.google.javascript.rhino.jstype.ObjectType objectType32 = null; com.google.javascript.rhino.jstype.JSType jSType33 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray34 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList35 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean36 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList35, jSTypeArray34); com.google.javascript.rhino.jstype.JSType jSType37 = jSTypeRegistry31.createFunctionTypeWithVarArgs(objectType32, jSType33, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList35); boolean boolean38 = jSType37.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType39 = jSType37.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); com.google.javascript.rhino.ErrorReporter errorReporter48 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry49 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter48); com.google.javascript.rhino.jstype.ObjectType objectType50 = null; com.google.javascript.rhino.jstype.JSType jSType51 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray52 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList53 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean54 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList53, jSTypeArray52); com.google.javascript.rhino.jstype.JSType jSType55 = jSTypeRegistry49.createFunctionTypeWithVarArgs(objectType50, jSType51, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList53); boolean boolean56 = jSType55.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType57 = jSType55.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); com.google.javascript.rhino.ErrorReporter errorReporter66 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry67 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter66); com.google.javascript.rhino.jstype.ObjectType objectType68 = null; com.google.javascript.rhino.jstype.JSType jSType69 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray70 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList71 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean72 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList71, jSTypeArray70); com.google.javascript.rhino.jstype.JSType jSType73 = jSTypeRegistry67.createFunctionTypeWithVarArgs(objectType68, jSType69, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList71); boolean boolean74 = jSType73.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType75 = jSType73.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray76 = new com.google.javascript.rhino.jstype.JSType[] { jSType29, jSType37, jSType43, jSType57, jSType65, objectType75 }; com.google.javascript.rhino.jstype.FunctionType functionType77 = jSTypeRegistry9.createConstructorType(jSType17, false, jSTypeArray76); com.google.javascript.rhino.jstype.JSType jSType78 = functionType77.unboxesTo(); com.google.javascript.rhino.ErrorReporter errorReporter79 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry80 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter79); com.google.javascript.rhino.jstype.ObjectType objectType81 = null; com.google.javascript.rhino.jstype.JSType jSType82 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray83 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList84 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean85 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList84, jSTypeArray83); com.google.javascript.rhino.jstype.JSType jSType86 = jSTypeRegistry80.createFunctionTypeWithVarArgs(objectType81, jSType82, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList84); boolean boolean87 = jSType86.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType88 = jSType86.toObjectType(); com.google.javascript.rhino.jstype.FunctionType functionType89 = jSTypeRegistry1.createFunctionTypeWithNewThisType(functionType77, objectType88); boolean boolean91 = functionType89.hasOwnProperty(""); boolean boolean92 = functionType89.isUnknownType(); boolean boolean93 = functionType89.matchesInt32Context(); boolean boolean94 = functionType89.isResolved(); int int95 = functionType89.getPropertiesCount(); com.google.javascript.rhino.JSDocInfo jSDocInfo96 = null; functionType89.setJSDocInfo(jSDocInfo96); java.lang.Iterable<com.google.javascript.rhino.jstype.ObjectType> objectTypeIterable98 = functionType89.getCtorExtendedInterfaces(); boolean boolean99 = functionType89.isGlobalThisType(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertNotNull(jSTypeArray14); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertNotNull(jSType17); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSTypeArray24); org.junit.Assert.assertTrue("'" + boolean26 + "' != '" + false + "'", boolean26 == false); org.junit.Assert.assertNotNull(jSType27); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertNotNull(jSTypeArray34); org.junit.Assert.assertTrue("'" + boolean36 + "' != '" + false + "'", boolean36 == false); org.junit.Assert.assertNotNull(jSType37); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertNotNull(jSTypeArray52); org.junit.Assert.assertTrue("'" + boolean54 + "' != '" + false + "'", boolean54 == false); org.junit.Assert.assertNotNull(jSType55); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertNotNull(jSTypeArray70); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertNotNull(jSType73); org.junit.Assert.assertTrue("'" + boolean74 + "' != '" + false + "'", boolean74 == false); org.junit.Assert.assertNotNull(objectType75); org.junit.Assert.assertNotNull(jSTypeArray76); org.junit.Assert.assertNotNull(functionType77); org.junit.Assert.assertNull(jSType78); org.junit.Assert.assertNotNull(jSTypeArray83); org.junit.Assert.assertTrue("'" + boolean85 + "' != '" + false + "'", boolean85 == false); org.junit.Assert.assertNotNull(jSType86); org.junit.Assert.assertTrue("'" + boolean87 + "' != '" + false + "'", boolean87 == false); org.junit.Assert.assertNotNull(objectType88); org.junit.Assert.assertNotNull(functionType89); org.junit.Assert.assertTrue("'" + boolean91 + "' != '" + false + "'", boolean91 == false); org.junit.Assert.assertTrue("'" + boolean92 + "' != '" + false + "'", boolean92 == false); org.junit.Assert.assertTrue("'" + boolean93 + "' != '" + false + "'", boolean93 == false); org.junit.Assert.assertTrue("'" + boolean94 + "' != '" + false + "'", boolean94 == false); org.junit.Assert.assertTrue("'" + int95 + "' != '" + 0 + "'", int95 == 0); org.junit.Assert.assertNotNull(objectTypeIterable98); org.junit.Assert.assertTrue("'" + boolean99 + "' != '" + false + "'", boolean99 == false); } @Test public void test4542() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4542"); com.google.javascript.rhino.JSDocInfo jSDocInfo0 = new com.google.javascript.rhino.JSDocInfo(); boolean boolean1 = jSDocInfo0.hasTypedefType(); boolean boolean2 = jSDocInfo0.hasFileOverview(); boolean boolean3 = jSDocInfo0.hasType(); com.google.javascript.rhino.JSTypeExpression jSTypeExpression4 = jSDocInfo0.getBaseType(); java.lang.String str5 = jSDocInfo0.getDeprecationReason(); boolean boolean6 = jSDocInfo0.isNoShadow(); boolean boolean7 = jSDocInfo0.isIdGenerator(); boolean boolean8 = jSDocInfo0.isExport(); java.util.Set<java.lang.String> strSet9 = jSDocInfo0.getModifies(); java.lang.String str10 = jSDocInfo0.getMeaning(); java.util.Collection<java.lang.String> strCollection11 = jSDocInfo0.getAuthors(); org.junit.Assert.assertTrue("'" + boolean1 + "' != '" + false + "'", boolean1 == false); org.junit.Assert.assertTrue("'" + boolean2 + "' != '" + false + "'", boolean2 == false); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertNull(jSTypeExpression4); org.junit.Assert.assertNull(str5); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(strSet9); org.junit.Assert.assertNull(str10); org.junit.Assert.assertNull(strCollection11); } @Test public void test4543() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4543"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); boolean boolean8 = jSType7.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter9 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry10 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter9); com.google.javascript.rhino.ErrorReporter errorReporter11 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry12 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter11); com.google.javascript.rhino.jstype.ObjectType objectType13 = null; com.google.javascript.rhino.jstype.JSType jSType14 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray15 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList16 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean17 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList16, jSTypeArray15); com.google.javascript.rhino.jstype.JSType jSType18 = jSTypeRegistry12.createFunctionTypeWithVarArgs(objectType13, jSType14, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList16); boolean boolean19 = jSType18.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter21 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry22 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter21); com.google.javascript.rhino.jstype.ObjectType objectType23 = null; com.google.javascript.rhino.jstype.JSType jSType24 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray25 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList26 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean27 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList26, jSTypeArray25); com.google.javascript.rhino.jstype.JSType jSType28 = jSTypeRegistry22.createFunctionTypeWithVarArgs(objectType23, jSType24, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList26); boolean boolean29 = jSType28.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType30 = jSType28.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter31 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry32 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter31); com.google.javascript.rhino.jstype.ObjectType objectType33 = null; com.google.javascript.rhino.jstype.JSType jSType34 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray35 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList36 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean37 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList36, jSTypeArray35); com.google.javascript.rhino.jstype.JSType jSType38 = jSTypeRegistry32.createFunctionTypeWithVarArgs(objectType33, jSType34, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList36); boolean boolean39 = jSType38.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType40 = jSType38.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter41 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry42 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter41); com.google.javascript.rhino.jstype.ObjectType objectType43 = null; com.google.javascript.rhino.jstype.JSType jSType44 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray45 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList46 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean47 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList46, jSTypeArray45); com.google.javascript.rhino.jstype.JSType jSType48 = jSTypeRegistry42.createFunctionTypeWithVarArgs(objectType43, jSType44, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList46); com.google.javascript.rhino.ErrorReporter errorReporter49 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry50 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter49); com.google.javascript.rhino.jstype.ObjectType objectType51 = null; com.google.javascript.rhino.jstype.JSType jSType52 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray53 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList54 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean55 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList54, jSTypeArray53); com.google.javascript.rhino.jstype.JSType jSType56 = jSTypeRegistry50.createFunctionTypeWithVarArgs(objectType51, jSType52, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList54); boolean boolean57 = jSType56.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType58 = jSType56.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter59 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry60 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter59); com.google.javascript.rhino.jstype.ObjectType objectType61 = null; com.google.javascript.rhino.jstype.JSType jSType62 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray63 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList64 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean65 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList64, jSTypeArray63); com.google.javascript.rhino.jstype.JSType jSType66 = jSTypeRegistry60.createFunctionTypeWithVarArgs(objectType61, jSType62, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList64); com.google.javascript.rhino.ErrorReporter errorReporter67 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry68 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter67); com.google.javascript.rhino.jstype.ObjectType objectType69 = null; com.google.javascript.rhino.jstype.JSType jSType70 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray71 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList72 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean73 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList72, jSTypeArray71); com.google.javascript.rhino.jstype.JSType jSType74 = jSTypeRegistry68.createFunctionTypeWithVarArgs(objectType69, jSType70, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList72); boolean boolean75 = jSType74.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType76 = jSType74.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray77 = new com.google.javascript.rhino.jstype.JSType[] { jSType30, jSType38, jSType44, jSType58, jSType66, objectType76 }; com.google.javascript.rhino.jstype.FunctionType functionType78 = jSTypeRegistry10.createConstructorType(jSType18, false, jSTypeArray77); boolean boolean79 = jSType7.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType78); com.google.javascript.rhino.jstype.ObjectType objectType80 = functionType78.getImplicitPrototype(); boolean boolean81 = functionType78.isUnionType(); java.lang.String str82 = functionType78.getNormalizedReferenceName(); com.google.javascript.rhino.jstype.FunctionType functionType84 = functionType78.getBindReturnType(52); boolean boolean85 = functionType84.isNumberObjectType(); boolean boolean86 = functionType84.hasImplementedInterfaces(); boolean boolean88 = functionType84.isPropertyTypeInferred("(function (): {889988203})"); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSTypeArray15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(jSType18); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(jSTypeArray25); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(jSType28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(jSType30); org.junit.Assert.assertNotNull(jSTypeArray35); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSType38); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(jSType40); org.junit.Assert.assertNotNull(jSTypeArray45); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(jSType48); org.junit.Assert.assertNotNull(jSTypeArray53); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); org.junit.Assert.assertNotNull(jSType56); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNotNull(jSType58); org.junit.Assert.assertNotNull(jSTypeArray63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(jSType66); org.junit.Assert.assertNotNull(jSTypeArray71); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNotNull(jSType74); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(objectType76); org.junit.Assert.assertNotNull(jSTypeArray77); org.junit.Assert.assertNotNull(functionType78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + true + "'", boolean79 == true); org.junit.Assert.assertNotNull(objectType80); org.junit.Assert.assertTrue("'" + boolean81 + "' != '" + false + "'", boolean81 == false); org.junit.Assert.assertNull(str82); org.junit.Assert.assertNotNull(functionType84); org.junit.Assert.assertTrue("'" + boolean85 + "' != '" + false + "'", boolean85 == false); org.junit.Assert.assertTrue("'" + boolean86 + "' != '" + false + "'", boolean86 == false); org.junit.Assert.assertTrue("'" + boolean88 + "' != '" + false + "'", boolean88 == false); } @Test public void test4544() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4544"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.ErrorReporter errorReporter2 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry3 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter2); com.google.javascript.rhino.jstype.ObjectType objectType4 = null; com.google.javascript.rhino.jstype.JSType jSType5 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray6 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList7 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean8 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList7, jSTypeArray6); com.google.javascript.rhino.jstype.JSType jSType9 = jSTypeRegistry3.createFunctionTypeWithVarArgs(objectType4, jSType5, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList7); boolean boolean10 = jSType9.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter12 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry13 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter12); com.google.javascript.rhino.jstype.ObjectType objectType14 = null; com.google.javascript.rhino.jstype.JSType jSType15 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray16 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList17 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean18 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList17, jSTypeArray16); com.google.javascript.rhino.jstype.JSType jSType19 = jSTypeRegistry13.createFunctionTypeWithVarArgs(objectType14, jSType15, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList17); boolean boolean20 = jSType19.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType21 = jSType19.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter22 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry23 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter22); com.google.javascript.rhino.jstype.ObjectType objectType24 = null; com.google.javascript.rhino.jstype.JSType jSType25 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray26 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList27 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean28 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList27, jSTypeArray26); com.google.javascript.rhino.jstype.JSType jSType29 = jSTypeRegistry23.createFunctionTypeWithVarArgs(objectType24, jSType25, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList27); boolean boolean30 = jSType29.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType31 = jSType29.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter32 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry33 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter32); com.google.javascript.rhino.jstype.ObjectType objectType34 = null; com.google.javascript.rhino.jstype.JSType jSType35 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray36 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList37 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean38 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList37, jSTypeArray36); com.google.javascript.rhino.jstype.JSType jSType39 = jSTypeRegistry33.createFunctionTypeWithVarArgs(objectType34, jSType35, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList37); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); boolean boolean48 = jSType47.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType49 = jSType47.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter50 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry51 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter50); com.google.javascript.rhino.jstype.ObjectType objectType52 = null; com.google.javascript.rhino.jstype.JSType jSType53 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray54 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList55 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean56 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList55, jSTypeArray54); com.google.javascript.rhino.jstype.JSType jSType57 = jSTypeRegistry51.createFunctionTypeWithVarArgs(objectType52, jSType53, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList55); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); boolean boolean66 = jSType65.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType67 = jSType65.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray68 = new com.google.javascript.rhino.jstype.JSType[] { jSType21, jSType29, jSType35, jSType49, jSType57, objectType67 }; com.google.javascript.rhino.jstype.FunctionType functionType69 = jSTypeRegistry1.createConstructorType(jSType9, false, jSTypeArray68); boolean boolean70 = functionType69.hasReferenceName(); boolean boolean72 = functionType69.isPropertyInExterns("Not declared as a constructor"); boolean boolean74 = functionType69.isPropertyTypeInferred(""); boolean boolean76 = functionType69.hasProperty(""); com.google.javascript.rhino.jstype.JSType jSType77 = functionType69.autobox(); boolean boolean78 = jSType77.isFunctionPrototypeType(); org.junit.Assert.assertNotNull(jSTypeArray6); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSType9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNotNull(jSTypeArray16); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSType19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(jSType21); org.junit.Assert.assertNotNull(jSTypeArray26); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(jSType31); org.junit.Assert.assertNotNull(jSTypeArray36); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(jSType49); org.junit.Assert.assertNotNull(jSTypeArray54); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertNotNull(objectType67); org.junit.Assert.assertNotNull(jSTypeArray68); org.junit.Assert.assertNotNull(functionType69); org.junit.Assert.assertTrue("'" + boolean70 + "' != '" + false + "'", boolean70 == false); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertTrue("'" + boolean74 + "' != '" + false + "'", boolean74 == false); org.junit.Assert.assertTrue("'" + boolean76 + "' != '" + false + "'", boolean76 == false); org.junit.Assert.assertNotNull(jSType77); org.junit.Assert.assertTrue("'" + boolean78 + "' != '" + false + "'", boolean78 == false); } @Test public void test4545() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4545"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); com.google.javascript.rhino.ErrorReporter errorReporter8 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry9 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter8); com.google.javascript.rhino.ErrorReporter errorReporter10 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry11 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter10); com.google.javascript.rhino.jstype.ObjectType objectType12 = null; com.google.javascript.rhino.jstype.JSType jSType13 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray14 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList15 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean16 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList15, jSTypeArray14); com.google.javascript.rhino.jstype.JSType jSType17 = jSTypeRegistry11.createFunctionTypeWithVarArgs(objectType12, jSType13, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList15); boolean boolean18 = jSType17.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter20 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry21 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter20); com.google.javascript.rhino.jstype.ObjectType objectType22 = null; com.google.javascript.rhino.jstype.JSType jSType23 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray24 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList25 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean26 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList25, jSTypeArray24); com.google.javascript.rhino.jstype.JSType jSType27 = jSTypeRegistry21.createFunctionTypeWithVarArgs(objectType22, jSType23, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList25); boolean boolean28 = jSType27.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType29 = jSType27.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter30 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry31 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter30); com.google.javascript.rhino.jstype.ObjectType objectType32 = null; com.google.javascript.rhino.jstype.JSType jSType33 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray34 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList35 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean36 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList35, jSTypeArray34); com.google.javascript.rhino.jstype.JSType jSType37 = jSTypeRegistry31.createFunctionTypeWithVarArgs(objectType32, jSType33, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList35); boolean boolean38 = jSType37.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType39 = jSType37.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); com.google.javascript.rhino.ErrorReporter errorReporter48 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry49 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter48); com.google.javascript.rhino.jstype.ObjectType objectType50 = null; com.google.javascript.rhino.jstype.JSType jSType51 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray52 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList53 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean54 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList53, jSTypeArray52); com.google.javascript.rhino.jstype.JSType jSType55 = jSTypeRegistry49.createFunctionTypeWithVarArgs(objectType50, jSType51, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList53); boolean boolean56 = jSType55.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType57 = jSType55.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); com.google.javascript.rhino.ErrorReporter errorReporter66 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry67 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter66); com.google.javascript.rhino.jstype.ObjectType objectType68 = null; com.google.javascript.rhino.jstype.JSType jSType69 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray70 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList71 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean72 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList71, jSTypeArray70); com.google.javascript.rhino.jstype.JSType jSType73 = jSTypeRegistry67.createFunctionTypeWithVarArgs(objectType68, jSType69, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList71); boolean boolean74 = jSType73.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType75 = jSType73.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray76 = new com.google.javascript.rhino.jstype.JSType[] { jSType29, jSType37, jSType43, jSType57, jSType65, objectType75 }; com.google.javascript.rhino.jstype.FunctionType functionType77 = jSTypeRegistry9.createConstructorType(jSType17, false, jSTypeArray76); com.google.javascript.rhino.jstype.JSType jSType78 = functionType77.unboxesTo(); com.google.javascript.rhino.ErrorReporter errorReporter79 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry80 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter79); com.google.javascript.rhino.jstype.ObjectType objectType81 = null; com.google.javascript.rhino.jstype.JSType jSType82 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray83 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList84 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean85 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList84, jSTypeArray83); com.google.javascript.rhino.jstype.JSType jSType86 = jSTypeRegistry80.createFunctionTypeWithVarArgs(objectType81, jSType82, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList84); boolean boolean87 = jSType86.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType88 = jSType86.toObjectType(); com.google.javascript.rhino.jstype.FunctionType functionType89 = jSTypeRegistry1.createFunctionTypeWithNewThisType(functionType77, objectType88); boolean boolean90 = functionType77.isNoObjectType(); java.lang.Iterable<com.google.javascript.rhino.jstype.ObjectType> objectTypeIterable91 = functionType77.getCtorImplementedInterfaces(); java.lang.Iterable<com.google.javascript.rhino.jstype.ObjectType> objectTypeIterable92 = functionType77.getCtorExtendedInterfaces(); boolean boolean93 = functionType77.isNoResolvedType(); boolean boolean95 = functionType77.removeProperty("function (): {1284554631}"); boolean boolean96 = functionType77.isInterface(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertNotNull(jSTypeArray14); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertNotNull(jSType17); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSTypeArray24); org.junit.Assert.assertTrue("'" + boolean26 + "' != '" + false + "'", boolean26 == false); org.junit.Assert.assertNotNull(jSType27); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertNotNull(jSTypeArray34); org.junit.Assert.assertTrue("'" + boolean36 + "' != '" + false + "'", boolean36 == false); org.junit.Assert.assertNotNull(jSType37); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertNotNull(jSTypeArray52); org.junit.Assert.assertTrue("'" + boolean54 + "' != '" + false + "'", boolean54 == false); org.junit.Assert.assertNotNull(jSType55); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertNotNull(jSTypeArray70); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertNotNull(jSType73); org.junit.Assert.assertTrue("'" + boolean74 + "' != '" + false + "'", boolean74 == false); org.junit.Assert.assertNotNull(objectType75); org.junit.Assert.assertNotNull(jSTypeArray76); org.junit.Assert.assertNotNull(functionType77); org.junit.Assert.assertNull(jSType78); org.junit.Assert.assertNotNull(jSTypeArray83); org.junit.Assert.assertTrue("'" + boolean85 + "' != '" + false + "'", boolean85 == false); org.junit.Assert.assertNotNull(jSType86); org.junit.Assert.assertTrue("'" + boolean87 + "' != '" + false + "'", boolean87 == false); org.junit.Assert.assertNotNull(objectType88); org.junit.Assert.assertNotNull(functionType89); org.junit.Assert.assertTrue("'" + boolean90 + "' != '" + false + "'", boolean90 == false); org.junit.Assert.assertNotNull(objectTypeIterable91); org.junit.Assert.assertNotNull(objectTypeIterable92); org.junit.Assert.assertTrue("'" + boolean93 + "' != '" + false + "'", boolean93 == false); org.junit.Assert.assertTrue("'" + boolean95 + "' != '" + false + "'", boolean95 == false); org.junit.Assert.assertTrue("'" + boolean96 + "' != '" + false + "'", boolean96 == false); } @Test public void test4546() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4546"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.ErrorReporter errorReporter2 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry3 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter2); com.google.javascript.rhino.jstype.ObjectType objectType4 = null; com.google.javascript.rhino.jstype.JSType jSType5 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray6 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList7 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean8 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList7, jSTypeArray6); com.google.javascript.rhino.jstype.JSType jSType9 = jSTypeRegistry3.createFunctionTypeWithVarArgs(objectType4, jSType5, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList7); boolean boolean10 = jSType9.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter12 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry13 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter12); com.google.javascript.rhino.jstype.ObjectType objectType14 = null; com.google.javascript.rhino.jstype.JSType jSType15 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray16 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList17 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean18 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList17, jSTypeArray16); com.google.javascript.rhino.jstype.JSType jSType19 = jSTypeRegistry13.createFunctionTypeWithVarArgs(objectType14, jSType15, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList17); boolean boolean20 = jSType19.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType21 = jSType19.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter22 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry23 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter22); com.google.javascript.rhino.jstype.ObjectType objectType24 = null; com.google.javascript.rhino.jstype.JSType jSType25 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray26 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList27 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean28 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList27, jSTypeArray26); com.google.javascript.rhino.jstype.JSType jSType29 = jSTypeRegistry23.createFunctionTypeWithVarArgs(objectType24, jSType25, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList27); boolean boolean30 = jSType29.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType31 = jSType29.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter32 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry33 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter32); com.google.javascript.rhino.jstype.ObjectType objectType34 = null; com.google.javascript.rhino.jstype.JSType jSType35 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray36 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList37 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean38 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList37, jSTypeArray36); com.google.javascript.rhino.jstype.JSType jSType39 = jSTypeRegistry33.createFunctionTypeWithVarArgs(objectType34, jSType35, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList37); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); boolean boolean48 = jSType47.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType49 = jSType47.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter50 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry51 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter50); com.google.javascript.rhino.jstype.ObjectType objectType52 = null; com.google.javascript.rhino.jstype.JSType jSType53 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray54 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList55 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean56 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList55, jSTypeArray54); com.google.javascript.rhino.jstype.JSType jSType57 = jSTypeRegistry51.createFunctionTypeWithVarArgs(objectType52, jSType53, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList55); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); boolean boolean66 = jSType65.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType67 = jSType65.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray68 = new com.google.javascript.rhino.jstype.JSType[] { jSType21, jSType29, jSType35, jSType49, jSType57, objectType67 }; com.google.javascript.rhino.jstype.FunctionType functionType69 = jSTypeRegistry1.createConstructorType(jSType9, false, jSTypeArray68); boolean boolean70 = functionType69.hasReferenceName(); boolean boolean72 = functionType69.isPropertyInExterns("Not declared as a constructor"); boolean boolean74 = functionType69.isPropertyTypeInferred(""); com.google.javascript.rhino.jstype.JSType jSType75 = functionType69.unboxesTo(); com.google.javascript.rhino.jstype.ObjectType objectType76 = functionType69.getTypeOfThis(); com.google.javascript.rhino.jstype.ObjectType objectType77 = functionType69.getImplicitPrototype(); java.util.Set<java.lang.String> strSet78 = functionType69.getOwnPropertyNames(); boolean boolean79 = functionType69.isInstanceType(); com.google.javascript.rhino.jstype.ObjectType objectType80 = com.google.javascript.rhino.jstype.ObjectType.cast((com.google.javascript.rhino.jstype.JSType) functionType69); objectType80.clearCachedValues(); org.junit.Assert.assertNotNull(jSTypeArray6); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSType9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNotNull(jSTypeArray16); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSType19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(jSType21); org.junit.Assert.assertNotNull(jSTypeArray26); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(jSType31); org.junit.Assert.assertNotNull(jSTypeArray36); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(jSType49); org.junit.Assert.assertNotNull(jSTypeArray54); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertNotNull(objectType67); org.junit.Assert.assertNotNull(jSTypeArray68); org.junit.Assert.assertNotNull(functionType69); org.junit.Assert.assertTrue("'" + boolean70 + "' != '" + false + "'", boolean70 == false); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertTrue("'" + boolean74 + "' != '" + false + "'", boolean74 == false); org.junit.Assert.assertNull(jSType75); org.junit.Assert.assertNotNull(objectType76); org.junit.Assert.assertNotNull(objectType77); org.junit.Assert.assertNotNull(strSet78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + false + "'", boolean79 == false); org.junit.Assert.assertNotNull(objectType80); } @Test public void test4547() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4547"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); boolean boolean8 = jSType7.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter9 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry10 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter9); com.google.javascript.rhino.ErrorReporter errorReporter11 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry12 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter11); com.google.javascript.rhino.jstype.ObjectType objectType13 = null; com.google.javascript.rhino.jstype.JSType jSType14 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray15 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList16 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean17 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList16, jSTypeArray15); com.google.javascript.rhino.jstype.JSType jSType18 = jSTypeRegistry12.createFunctionTypeWithVarArgs(objectType13, jSType14, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList16); boolean boolean19 = jSType18.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter21 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry22 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter21); com.google.javascript.rhino.jstype.ObjectType objectType23 = null; com.google.javascript.rhino.jstype.JSType jSType24 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray25 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList26 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean27 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList26, jSTypeArray25); com.google.javascript.rhino.jstype.JSType jSType28 = jSTypeRegistry22.createFunctionTypeWithVarArgs(objectType23, jSType24, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList26); boolean boolean29 = jSType28.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType30 = jSType28.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter31 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry32 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter31); com.google.javascript.rhino.jstype.ObjectType objectType33 = null; com.google.javascript.rhino.jstype.JSType jSType34 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray35 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList36 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean37 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList36, jSTypeArray35); com.google.javascript.rhino.jstype.JSType jSType38 = jSTypeRegistry32.createFunctionTypeWithVarArgs(objectType33, jSType34, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList36); boolean boolean39 = jSType38.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType40 = jSType38.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter41 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry42 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter41); com.google.javascript.rhino.jstype.ObjectType objectType43 = null; com.google.javascript.rhino.jstype.JSType jSType44 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray45 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList46 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean47 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList46, jSTypeArray45); com.google.javascript.rhino.jstype.JSType jSType48 = jSTypeRegistry42.createFunctionTypeWithVarArgs(objectType43, jSType44, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList46); com.google.javascript.rhino.ErrorReporter errorReporter49 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry50 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter49); com.google.javascript.rhino.jstype.ObjectType objectType51 = null; com.google.javascript.rhino.jstype.JSType jSType52 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray53 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList54 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean55 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList54, jSTypeArray53); com.google.javascript.rhino.jstype.JSType jSType56 = jSTypeRegistry50.createFunctionTypeWithVarArgs(objectType51, jSType52, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList54); boolean boolean57 = jSType56.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType58 = jSType56.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter59 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry60 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter59); com.google.javascript.rhino.jstype.ObjectType objectType61 = null; com.google.javascript.rhino.jstype.JSType jSType62 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray63 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList64 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean65 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList64, jSTypeArray63); com.google.javascript.rhino.jstype.JSType jSType66 = jSTypeRegistry60.createFunctionTypeWithVarArgs(objectType61, jSType62, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList64); com.google.javascript.rhino.ErrorReporter errorReporter67 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry68 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter67); com.google.javascript.rhino.jstype.ObjectType objectType69 = null; com.google.javascript.rhino.jstype.JSType jSType70 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray71 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList72 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean73 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList72, jSTypeArray71); com.google.javascript.rhino.jstype.JSType jSType74 = jSTypeRegistry68.createFunctionTypeWithVarArgs(objectType69, jSType70, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList72); boolean boolean75 = jSType74.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType76 = jSType74.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray77 = new com.google.javascript.rhino.jstype.JSType[] { jSType30, jSType38, jSType44, jSType58, jSType66, objectType76 }; com.google.javascript.rhino.jstype.FunctionType functionType78 = jSTypeRegistry10.createConstructorType(jSType18, false, jSTypeArray77); boolean boolean79 = jSType7.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType78); com.google.javascript.rhino.jstype.FunctionType functionType80 = functionType78.toMaybeFunctionType(); boolean boolean81 = functionType78.matchesInt32Context(); com.google.javascript.rhino.jstype.ObjectType objectType82 = functionType78.getTypeOfThis(); com.google.javascript.rhino.jstype.ObjectType.Property property84 = functionType78.getOwnSlot("OR"); boolean boolean85 = functionType78.isParameterizedType(); com.google.javascript.rhino.jstype.ObjectType objectType86 = functionType78.dereference(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSTypeArray15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(jSType18); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(jSTypeArray25); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(jSType28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(jSType30); org.junit.Assert.assertNotNull(jSTypeArray35); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSType38); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(jSType40); org.junit.Assert.assertNotNull(jSTypeArray45); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(jSType48); org.junit.Assert.assertNotNull(jSTypeArray53); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); org.junit.Assert.assertNotNull(jSType56); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNotNull(jSType58); org.junit.Assert.assertNotNull(jSTypeArray63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(jSType66); org.junit.Assert.assertNotNull(jSTypeArray71); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNotNull(jSType74); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(objectType76); org.junit.Assert.assertNotNull(jSTypeArray77); org.junit.Assert.assertNotNull(functionType78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + true + "'", boolean79 == true); org.junit.Assert.assertNotNull(functionType80); org.junit.Assert.assertTrue("'" + boolean81 + "' != '" + false + "'", boolean81 == false); org.junit.Assert.assertNotNull(objectType82); org.junit.Assert.assertNull(property84); org.junit.Assert.assertTrue("'" + boolean85 + "' != '" + false + "'", boolean85 == false); org.junit.Assert.assertNotNull(objectType86); } @Test public void test4548() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4548"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.ErrorReporter errorReporter2 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry3 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter2); com.google.javascript.rhino.jstype.ObjectType objectType4 = null; com.google.javascript.rhino.jstype.JSType jSType5 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray6 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList7 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean8 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList7, jSTypeArray6); com.google.javascript.rhino.jstype.JSType jSType9 = jSTypeRegistry3.createFunctionTypeWithVarArgs(objectType4, jSType5, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList7); boolean boolean10 = jSType9.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType11 = jSType9.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter12 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry13 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter12); com.google.javascript.rhino.ErrorReporter errorReporter14 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry15 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter14); com.google.javascript.rhino.jstype.ObjectType objectType16 = null; com.google.javascript.rhino.jstype.JSType jSType17 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray18 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList19 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean20 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList19, jSTypeArray18); com.google.javascript.rhino.jstype.JSType jSType21 = jSTypeRegistry15.createFunctionTypeWithVarArgs(objectType16, jSType17, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList19); boolean boolean22 = jSType21.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter24 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry25 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter24); com.google.javascript.rhino.jstype.ObjectType objectType26 = null; com.google.javascript.rhino.jstype.JSType jSType27 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray28 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList29 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean30 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList29, jSTypeArray28); com.google.javascript.rhino.jstype.JSType jSType31 = jSTypeRegistry25.createFunctionTypeWithVarArgs(objectType26, jSType27, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList29); boolean boolean32 = jSType31.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType33 = jSType31.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter34 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry35 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter34); com.google.javascript.rhino.jstype.ObjectType objectType36 = null; com.google.javascript.rhino.jstype.JSType jSType37 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray38 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList39 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean40 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList39, jSTypeArray38); com.google.javascript.rhino.jstype.JSType jSType41 = jSTypeRegistry35.createFunctionTypeWithVarArgs(objectType36, jSType37, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList39); boolean boolean42 = jSType41.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType43 = jSType41.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter44 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry45 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter44); com.google.javascript.rhino.jstype.ObjectType objectType46 = null; com.google.javascript.rhino.jstype.JSType jSType47 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray48 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList49 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean50 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList49, jSTypeArray48); com.google.javascript.rhino.jstype.JSType jSType51 = jSTypeRegistry45.createFunctionTypeWithVarArgs(objectType46, jSType47, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList49); com.google.javascript.rhino.ErrorReporter errorReporter52 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry53 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter52); com.google.javascript.rhino.jstype.ObjectType objectType54 = null; com.google.javascript.rhino.jstype.JSType jSType55 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray56 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList57 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean58 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList57, jSTypeArray56); com.google.javascript.rhino.jstype.JSType jSType59 = jSTypeRegistry53.createFunctionTypeWithVarArgs(objectType54, jSType55, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList57); boolean boolean60 = jSType59.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType61 = jSType59.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter62 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry63 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter62); com.google.javascript.rhino.jstype.ObjectType objectType64 = null; com.google.javascript.rhino.jstype.JSType jSType65 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray66 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList67 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean68 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList67, jSTypeArray66); com.google.javascript.rhino.jstype.JSType jSType69 = jSTypeRegistry63.createFunctionTypeWithVarArgs(objectType64, jSType65, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList67); com.google.javascript.rhino.ErrorReporter errorReporter70 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry71 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter70); com.google.javascript.rhino.jstype.ObjectType objectType72 = null; com.google.javascript.rhino.jstype.JSType jSType73 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray74 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList75 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean76 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList75, jSTypeArray74); com.google.javascript.rhino.jstype.JSType jSType77 = jSTypeRegistry71.createFunctionTypeWithVarArgs(objectType72, jSType73, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList75); boolean boolean78 = jSType77.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType79 = jSType77.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray80 = new com.google.javascript.rhino.jstype.JSType[] { jSType33, jSType41, jSType47, jSType61, jSType69, objectType79 }; com.google.javascript.rhino.jstype.FunctionType functionType81 = jSTypeRegistry13.createConstructorType(jSType21, false, jSTypeArray80); com.google.javascript.rhino.jstype.FunctionType functionType82 = jSTypeRegistry1.createFunctionType(jSType11, jSTypeArray80); java.lang.Iterable<com.google.javascript.rhino.jstype.JSType> jSTypeIterable84 = jSTypeRegistry1.getTypesWithProperty("function (): ?"); com.google.javascript.rhino.jstype.JSTypeNative[] jSTypeNativeArray85 = new com.google.javascript.rhino.jstype.JSTypeNative[] {}; com.google.javascript.rhino.jstype.JSType jSType86 = jSTypeRegistry1.createUnionType(jSTypeNativeArray85); com.google.javascript.rhino.jstype.JSTypeNative jSTypeNative87 = null; // The following exception was thrown during execution in test generation try { com.google.javascript.rhino.jstype.ObjectType objectType88 = jSTypeRegistry1.getNativeObjectType(jSTypeNative87); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(jSTypeArray6); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSType9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNotNull(jSType11); org.junit.Assert.assertNotNull(jSTypeArray18); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(jSType21); org.junit.Assert.assertTrue("'" + boolean22 + "' != '" + false + "'", boolean22 == false); org.junit.Assert.assertNotNull(jSTypeArray28); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(jSType31); org.junit.Assert.assertTrue("'" + boolean32 + "' != '" + false + "'", boolean32 == false); org.junit.Assert.assertNotNull(jSType33); org.junit.Assert.assertNotNull(jSTypeArray38); org.junit.Assert.assertTrue("'" + boolean40 + "' != '" + false + "'", boolean40 == false); org.junit.Assert.assertNotNull(jSType41); org.junit.Assert.assertTrue("'" + boolean42 + "' != '" + false + "'", boolean42 == false); org.junit.Assert.assertNotNull(jSType43); org.junit.Assert.assertNotNull(jSTypeArray48); org.junit.Assert.assertTrue("'" + boolean50 + "' != '" + false + "'", boolean50 == false); org.junit.Assert.assertNotNull(jSType51); org.junit.Assert.assertNotNull(jSTypeArray56); org.junit.Assert.assertTrue("'" + boolean58 + "' != '" + false + "'", boolean58 == false); org.junit.Assert.assertNotNull(jSType59); org.junit.Assert.assertTrue("'" + boolean60 + "' != '" + false + "'", boolean60 == false); org.junit.Assert.assertNotNull(jSType61); org.junit.Assert.assertNotNull(jSTypeArray66); org.junit.Assert.assertTrue("'" + boolean68 + "' != '" + false + "'", boolean68 == false); org.junit.Assert.assertNotNull(jSType69); org.junit.Assert.assertNotNull(jSTypeArray74); org.junit.Assert.assertTrue("'" + boolean76 + "' != '" + false + "'", boolean76 == false); org.junit.Assert.assertNotNull(jSType77); org.junit.Assert.assertTrue("'" + boolean78 + "' != '" + false + "'", boolean78 == false); org.junit.Assert.assertNotNull(objectType79); org.junit.Assert.assertNotNull(jSTypeArray80); org.junit.Assert.assertNotNull(functionType81); org.junit.Assert.assertNotNull(functionType82); org.junit.Assert.assertNotNull(jSTypeIterable84); org.junit.Assert.assertNotNull(jSTypeNativeArray85); org.junit.Assert.assertNotNull(jSType86); } @Test public void test4549() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4549"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); com.google.javascript.rhino.ErrorReporter errorReporter8 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry9 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter8); com.google.javascript.rhino.ErrorReporter errorReporter10 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry11 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter10); com.google.javascript.rhino.jstype.ObjectType objectType12 = null; com.google.javascript.rhino.jstype.JSType jSType13 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray14 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList15 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean16 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList15, jSTypeArray14); com.google.javascript.rhino.jstype.JSType jSType17 = jSTypeRegistry11.createFunctionTypeWithVarArgs(objectType12, jSType13, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList15); boolean boolean18 = jSType17.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter20 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry21 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter20); com.google.javascript.rhino.jstype.ObjectType objectType22 = null; com.google.javascript.rhino.jstype.JSType jSType23 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray24 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList25 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean26 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList25, jSTypeArray24); com.google.javascript.rhino.jstype.JSType jSType27 = jSTypeRegistry21.createFunctionTypeWithVarArgs(objectType22, jSType23, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList25); boolean boolean28 = jSType27.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType29 = jSType27.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter30 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry31 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter30); com.google.javascript.rhino.jstype.ObjectType objectType32 = null; com.google.javascript.rhino.jstype.JSType jSType33 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray34 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList35 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean36 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList35, jSTypeArray34); com.google.javascript.rhino.jstype.JSType jSType37 = jSTypeRegistry31.createFunctionTypeWithVarArgs(objectType32, jSType33, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList35); boolean boolean38 = jSType37.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType39 = jSType37.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); com.google.javascript.rhino.ErrorReporter errorReporter48 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry49 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter48); com.google.javascript.rhino.jstype.ObjectType objectType50 = null; com.google.javascript.rhino.jstype.JSType jSType51 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray52 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList53 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean54 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList53, jSTypeArray52); com.google.javascript.rhino.jstype.JSType jSType55 = jSTypeRegistry49.createFunctionTypeWithVarArgs(objectType50, jSType51, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList53); boolean boolean56 = jSType55.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType57 = jSType55.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); com.google.javascript.rhino.ErrorReporter errorReporter66 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry67 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter66); com.google.javascript.rhino.jstype.ObjectType objectType68 = null; com.google.javascript.rhino.jstype.JSType jSType69 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray70 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList71 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean72 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList71, jSTypeArray70); com.google.javascript.rhino.jstype.JSType jSType73 = jSTypeRegistry67.createFunctionTypeWithVarArgs(objectType68, jSType69, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList71); boolean boolean74 = jSType73.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType75 = jSType73.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray76 = new com.google.javascript.rhino.jstype.JSType[] { jSType29, jSType37, jSType43, jSType57, jSType65, objectType75 }; com.google.javascript.rhino.jstype.FunctionType functionType77 = jSTypeRegistry9.createConstructorType(jSType17, false, jSTypeArray76); com.google.javascript.rhino.jstype.JSType jSType78 = functionType77.unboxesTo(); com.google.javascript.rhino.ErrorReporter errorReporter79 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry80 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter79); com.google.javascript.rhino.jstype.ObjectType objectType81 = null; com.google.javascript.rhino.jstype.JSType jSType82 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray83 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList84 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean85 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList84, jSTypeArray83); com.google.javascript.rhino.jstype.JSType jSType86 = jSTypeRegistry80.createFunctionTypeWithVarArgs(objectType81, jSType82, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList84); boolean boolean87 = jSType86.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType88 = jSType86.toObjectType(); com.google.javascript.rhino.jstype.FunctionType functionType89 = jSTypeRegistry1.createFunctionTypeWithNewThisType(functionType77, objectType88); com.google.javascript.rhino.jstype.StaticScope<com.google.javascript.rhino.jstype.JSType> jSTypeStaticScope90 = functionType77.getParentScope(); boolean boolean92 = functionType77.removeProperty("Not declared as a constructor"); java.lang.String str93 = functionType77.getDisplayName(); com.google.javascript.rhino.jstype.ObjectType objectType94 = functionType77.getTypeOfThis(); boolean boolean95 = functionType77.isReturnTypeInferred(); com.google.javascript.rhino.jstype.JSType jSType96 = functionType77.getTypeOfThis(); java.lang.Class<?> wildcardClass97 = jSType96.getClass(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertNotNull(jSTypeArray14); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertNotNull(jSType17); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSTypeArray24); org.junit.Assert.assertTrue("'" + boolean26 + "' != '" + false + "'", boolean26 == false); org.junit.Assert.assertNotNull(jSType27); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertNotNull(jSTypeArray34); org.junit.Assert.assertTrue("'" + boolean36 + "' != '" + false + "'", boolean36 == false); org.junit.Assert.assertNotNull(jSType37); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertNotNull(jSTypeArray52); org.junit.Assert.assertTrue("'" + boolean54 + "' != '" + false + "'", boolean54 == false); org.junit.Assert.assertNotNull(jSType55); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertNotNull(jSTypeArray70); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertNotNull(jSType73); org.junit.Assert.assertTrue("'" + boolean74 + "' != '" + false + "'", boolean74 == false); org.junit.Assert.assertNotNull(objectType75); org.junit.Assert.assertNotNull(jSTypeArray76); org.junit.Assert.assertNotNull(functionType77); org.junit.Assert.assertNull(jSType78); org.junit.Assert.assertNotNull(jSTypeArray83); org.junit.Assert.assertTrue("'" + boolean85 + "' != '" + false + "'", boolean85 == false); org.junit.Assert.assertNotNull(jSType86); org.junit.Assert.assertTrue("'" + boolean87 + "' != '" + false + "'", boolean87 == false); org.junit.Assert.assertNotNull(objectType88); org.junit.Assert.assertNotNull(functionType89); org.junit.Assert.assertNotNull(jSTypeStaticScope90); org.junit.Assert.assertTrue("'" + boolean92 + "' != '" + false + "'", boolean92 == false); org.junit.Assert.assertNull(str93); org.junit.Assert.assertNotNull(objectType94); org.junit.Assert.assertTrue("'" + boolean95 + "' != '" + false + "'", boolean95 == false); org.junit.Assert.assertNotNull(jSType96); org.junit.Assert.assertNotNull(wildcardClass97); } @Test public void test4550() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4550"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); boolean boolean8 = jSType7.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter9 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry10 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter9); com.google.javascript.rhino.ErrorReporter errorReporter11 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry12 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter11); com.google.javascript.rhino.jstype.ObjectType objectType13 = null; com.google.javascript.rhino.jstype.JSType jSType14 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray15 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList16 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean17 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList16, jSTypeArray15); com.google.javascript.rhino.jstype.JSType jSType18 = jSTypeRegistry12.createFunctionTypeWithVarArgs(objectType13, jSType14, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList16); boolean boolean19 = jSType18.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter21 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry22 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter21); com.google.javascript.rhino.jstype.ObjectType objectType23 = null; com.google.javascript.rhino.jstype.JSType jSType24 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray25 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList26 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean27 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList26, jSTypeArray25); com.google.javascript.rhino.jstype.JSType jSType28 = jSTypeRegistry22.createFunctionTypeWithVarArgs(objectType23, jSType24, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList26); boolean boolean29 = jSType28.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType30 = jSType28.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter31 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry32 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter31); com.google.javascript.rhino.jstype.ObjectType objectType33 = null; com.google.javascript.rhino.jstype.JSType jSType34 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray35 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList36 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean37 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList36, jSTypeArray35); com.google.javascript.rhino.jstype.JSType jSType38 = jSTypeRegistry32.createFunctionTypeWithVarArgs(objectType33, jSType34, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList36); boolean boolean39 = jSType38.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType40 = jSType38.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter41 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry42 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter41); com.google.javascript.rhino.jstype.ObjectType objectType43 = null; com.google.javascript.rhino.jstype.JSType jSType44 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray45 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList46 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean47 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList46, jSTypeArray45); com.google.javascript.rhino.jstype.JSType jSType48 = jSTypeRegistry42.createFunctionTypeWithVarArgs(objectType43, jSType44, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList46); com.google.javascript.rhino.ErrorReporter errorReporter49 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry50 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter49); com.google.javascript.rhino.jstype.ObjectType objectType51 = null; com.google.javascript.rhino.jstype.JSType jSType52 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray53 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList54 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean55 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList54, jSTypeArray53); com.google.javascript.rhino.jstype.JSType jSType56 = jSTypeRegistry50.createFunctionTypeWithVarArgs(objectType51, jSType52, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList54); boolean boolean57 = jSType56.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType58 = jSType56.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter59 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry60 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter59); com.google.javascript.rhino.jstype.ObjectType objectType61 = null; com.google.javascript.rhino.jstype.JSType jSType62 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray63 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList64 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean65 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList64, jSTypeArray63); com.google.javascript.rhino.jstype.JSType jSType66 = jSTypeRegistry60.createFunctionTypeWithVarArgs(objectType61, jSType62, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList64); com.google.javascript.rhino.ErrorReporter errorReporter67 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry68 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter67); com.google.javascript.rhino.jstype.ObjectType objectType69 = null; com.google.javascript.rhino.jstype.JSType jSType70 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray71 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList72 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean73 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList72, jSTypeArray71); com.google.javascript.rhino.jstype.JSType jSType74 = jSTypeRegistry68.createFunctionTypeWithVarArgs(objectType69, jSType70, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList72); boolean boolean75 = jSType74.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType76 = jSType74.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray77 = new com.google.javascript.rhino.jstype.JSType[] { jSType30, jSType38, jSType44, jSType58, jSType66, objectType76 }; com.google.javascript.rhino.jstype.FunctionType functionType78 = jSTypeRegistry10.createConstructorType(jSType18, false, jSTypeArray77); boolean boolean79 = jSType7.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType78); com.google.javascript.rhino.jstype.ObjectType objectType80 = functionType78.getImplicitPrototype(); boolean boolean82 = functionType78.removeProperty(""); boolean boolean83 = functionType78.isGlobalThisType(); com.google.javascript.rhino.jstype.JSType jSType84 = functionType78.autoboxesTo(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSTypeArray15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(jSType18); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(jSTypeArray25); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(jSType28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(jSType30); org.junit.Assert.assertNotNull(jSTypeArray35); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSType38); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(jSType40); org.junit.Assert.assertNotNull(jSTypeArray45); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(jSType48); org.junit.Assert.assertNotNull(jSTypeArray53); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); org.junit.Assert.assertNotNull(jSType56); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNotNull(jSType58); org.junit.Assert.assertNotNull(jSTypeArray63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(jSType66); org.junit.Assert.assertNotNull(jSTypeArray71); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNotNull(jSType74); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(objectType76); org.junit.Assert.assertNotNull(jSTypeArray77); org.junit.Assert.assertNotNull(functionType78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + true + "'", boolean79 == true); org.junit.Assert.assertNotNull(objectType80); org.junit.Assert.assertTrue("'" + boolean82 + "' != '" + false + "'", boolean82 == false); org.junit.Assert.assertTrue("'" + boolean83 + "' != '" + false + "'", boolean83 == false); org.junit.Assert.assertNull(jSType84); } @Test public void test4551() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4551"); com.google.javascript.rhino.Node node2 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean3 = node2.isLabelName(); java.util.Set<java.lang.String> strSet4 = node2.getDirectives(); com.google.javascript.rhino.Node node6 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean7 = node6.isLabelName(); com.google.javascript.rhino.Node[] nodeArray8 = new com.google.javascript.rhino.Node[] { node2, node6 }; com.google.javascript.rhino.Node node11 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray8, 50, 50); com.google.javascript.rhino.Node node13 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node11.addChildToFront(node13); boolean boolean15 = node13.isDefaultCase(); com.google.javascript.rhino.Node node16 = node13.getParent(); node13.detachChildren(); com.google.javascript.rhino.Node node20 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean21 = node20.isLabelName(); java.util.Set<java.lang.String> strSet22 = node20.getDirectives(); com.google.javascript.rhino.Node node24 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean25 = node24.isLabelName(); com.google.javascript.rhino.Node[] nodeArray26 = new com.google.javascript.rhino.Node[] { node20, node24 }; com.google.javascript.rhino.Node node29 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray26, 50, 50); com.google.javascript.rhino.Node node31 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node29.addChildToFront(node31); boolean boolean33 = node29.isNew(); java.lang.String[] strArray36 = new java.lang.String[] { "function (): ?", "" }; java.util.LinkedHashSet<java.lang.String> strSet37 = new java.util.LinkedHashSet<java.lang.String>(); boolean boolean38 = java.util.Collections.addAll((java.util.Collection<java.lang.String>) strSet37, strArray36); node29.setDirectives((java.util.Set<java.lang.String>) strSet37); int int40 = node13.getIndexOfChild(node29); com.google.javascript.rhino.Node node43 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean44 = node43.isLabelName(); java.util.Set<java.lang.String> strSet45 = node43.getDirectives(); com.google.javascript.rhino.Node node47 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean48 = node47.isLabelName(); com.google.javascript.rhino.Node[] nodeArray49 = new com.google.javascript.rhino.Node[] { node43, node47 }; com.google.javascript.rhino.Node node52 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray49, 50, 50); com.google.javascript.rhino.Node node54 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node52.addChildToFront(node54); boolean boolean56 = node52.isNew(); com.google.javascript.rhino.JSDocInfo jSDocInfo57 = node52.getJSDocInfo(); com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec assertionFunctionSpec59 = new com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec("Not declared as a constructor"); com.google.javascript.rhino.Node node62 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean63 = node62.isLabelName(); com.google.javascript.rhino.Node node66 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean67 = node66.isLabelName(); java.util.Set<java.lang.String> strSet68 = node66.getDirectives(); com.google.javascript.rhino.Node node70 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean71 = node70.isLabelName(); com.google.javascript.rhino.Node[] nodeArray72 = new com.google.javascript.rhino.Node[] { node66, node70 }; com.google.javascript.rhino.Node node75 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray72, 50, 50); boolean boolean76 = node62.isEquivalentTo(node75); com.google.javascript.rhino.Node node77 = new com.google.javascript.rhino.Node(50, node75); com.google.javascript.rhino.Node node79 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node80 = com.google.javascript.jscomp.NodeUtil.newExpr(node79); boolean boolean81 = node79.isScript(); com.google.javascript.rhino.Node node82 = node77.useSourceInfoIfMissingFrom(node79); com.google.javascript.rhino.Node node83 = assertionFunctionSpec59.getAssertedParam(node82); boolean boolean84 = node83.isDec(); com.google.javascript.jscomp.CodingConvention.Bind bind85 = new com.google.javascript.jscomp.CodingConvention.Bind(node13, node52, node83); boolean boolean86 = node13.isNoSideEffectsCall(); int int87 = node13.getType(); boolean boolean88 = node13.isCall(); node13.putIntProp((int) (short) 10, 42); com.google.javascript.rhino.InputId inputId92 = com.google.javascript.jscomp.NodeUtil.getInputId(node13); org.junit.Assert.assertNotNull(node2); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertNull(strSet4); org.junit.Assert.assertNotNull(node6); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertNotNull(nodeArray8); org.junit.Assert.assertNotNull(node13); org.junit.Assert.assertTrue("'" + boolean15 + "' != '" + false + "'", boolean15 == false); org.junit.Assert.assertNotNull(node16); org.junit.Assert.assertNotNull(node20); org.junit.Assert.assertTrue("'" + boolean21 + "' != '" + false + "'", boolean21 == false); org.junit.Assert.assertNull(strSet22); org.junit.Assert.assertNotNull(node24); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); org.junit.Assert.assertNotNull(nodeArray26); org.junit.Assert.assertNotNull(node31); org.junit.Assert.assertTrue("'" + boolean33 + "' != '" + false + "'", boolean33 == false); org.junit.Assert.assertNotNull(strArray36); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + true + "'", boolean38 == true); org.junit.Assert.assertTrue("'" + int40 + "' != '" + (-1) + "'", int40 == (-1)); org.junit.Assert.assertNotNull(node43); org.junit.Assert.assertTrue("'" + boolean44 + "' != '" + false + "'", boolean44 == false); org.junit.Assert.assertNull(strSet45); org.junit.Assert.assertNotNull(node47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(nodeArray49); org.junit.Assert.assertNotNull(node54); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNull(jSDocInfo57); org.junit.Assert.assertNotNull(node62); org.junit.Assert.assertTrue("'" + boolean63 + "' != '" + false + "'", boolean63 == false); org.junit.Assert.assertNotNull(node66); org.junit.Assert.assertTrue("'" + boolean67 + "' != '" + false + "'", boolean67 == false); org.junit.Assert.assertNull(strSet68); org.junit.Assert.assertNotNull(node70); org.junit.Assert.assertTrue("'" + boolean71 + "' != '" + false + "'", boolean71 == false); org.junit.Assert.assertNotNull(nodeArray72); org.junit.Assert.assertTrue("'" + boolean76 + "' != '" + false + "'", boolean76 == false); org.junit.Assert.assertNotNull(node79); org.junit.Assert.assertNotNull(node80); org.junit.Assert.assertTrue("'" + boolean81 + "' != '" + false + "'", boolean81 == false); org.junit.Assert.assertNotNull(node82); org.junit.Assert.assertNotNull(node83); org.junit.Assert.assertTrue("'" + boolean84 + "' != '" + false + "'", boolean84 == false); org.junit.Assert.assertTrue("'" + boolean86 + "' != '" + false + "'", boolean86 == false); org.junit.Assert.assertTrue("'" + int87 + "' != '" + 40 + "'", int87 == 40); org.junit.Assert.assertTrue("'" + boolean88 + "' != '" + false + "'", boolean88 == false); org.junit.Assert.assertNull(inputId92); } @Test public void test4552() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4552"); com.google.javascript.rhino.Node node4 = com.google.javascript.rhino.Node.newString(38, "true", 3, 8); com.google.javascript.rhino.Node node5 = node4.cloneTree(); boolean boolean6 = node4.isNoSideEffectsCall(); org.junit.Assert.assertNotNull(node4); org.junit.Assert.assertNotNull(node5); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); } @Test public void test4553() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4553"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); boolean boolean8 = jSType7.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType9 = jSType7.toObjectType(); boolean boolean10 = jSType7.matchesInt32Context(); boolean boolean11 = jSType7.isUnionType(); boolean boolean12 = jSType7.matchesObjectContext(); com.google.javascript.rhino.jstype.JSType jSType13 = jSType7.autoboxesTo(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(objectType9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertTrue("'" + boolean11 + "' != '" + false + "'", boolean11 == false); org.junit.Assert.assertTrue("'" + boolean12 + "' != '" + true + "'", boolean12 == true); org.junit.Assert.assertNull(jSType13); } @Test public void test4554() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4554"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); jSTypeRegistry1.resetForTypeCheck(); com.google.javascript.rhino.ErrorReporter errorReporter3 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry4 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter3); com.google.javascript.rhino.jstype.ObjectType objectType5 = null; com.google.javascript.rhino.jstype.JSType jSType6 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray7 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList8 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean9 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList8, jSTypeArray7); com.google.javascript.rhino.jstype.JSType jSType10 = jSTypeRegistry4.createFunctionTypeWithVarArgs(objectType5, jSType6, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList8); boolean boolean11 = jSType10.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter12 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry13 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter12); com.google.javascript.rhino.ErrorReporter errorReporter14 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry15 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter14); com.google.javascript.rhino.jstype.ObjectType objectType16 = null; com.google.javascript.rhino.jstype.JSType jSType17 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray18 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList19 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean20 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList19, jSTypeArray18); com.google.javascript.rhino.jstype.JSType jSType21 = jSTypeRegistry15.createFunctionTypeWithVarArgs(objectType16, jSType17, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList19); boolean boolean22 = jSType21.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter24 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry25 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter24); com.google.javascript.rhino.jstype.ObjectType objectType26 = null; com.google.javascript.rhino.jstype.JSType jSType27 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray28 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList29 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean30 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList29, jSTypeArray28); com.google.javascript.rhino.jstype.JSType jSType31 = jSTypeRegistry25.createFunctionTypeWithVarArgs(objectType26, jSType27, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList29); boolean boolean32 = jSType31.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType33 = jSType31.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter34 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry35 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter34); com.google.javascript.rhino.jstype.ObjectType objectType36 = null; com.google.javascript.rhino.jstype.JSType jSType37 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray38 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList39 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean40 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList39, jSTypeArray38); com.google.javascript.rhino.jstype.JSType jSType41 = jSTypeRegistry35.createFunctionTypeWithVarArgs(objectType36, jSType37, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList39); boolean boolean42 = jSType41.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType43 = jSType41.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter44 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry45 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter44); com.google.javascript.rhino.jstype.ObjectType objectType46 = null; com.google.javascript.rhino.jstype.JSType jSType47 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray48 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList49 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean50 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList49, jSTypeArray48); com.google.javascript.rhino.jstype.JSType jSType51 = jSTypeRegistry45.createFunctionTypeWithVarArgs(objectType46, jSType47, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList49); com.google.javascript.rhino.ErrorReporter errorReporter52 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry53 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter52); com.google.javascript.rhino.jstype.ObjectType objectType54 = null; com.google.javascript.rhino.jstype.JSType jSType55 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray56 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList57 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean58 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList57, jSTypeArray56); com.google.javascript.rhino.jstype.JSType jSType59 = jSTypeRegistry53.createFunctionTypeWithVarArgs(objectType54, jSType55, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList57); boolean boolean60 = jSType59.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType61 = jSType59.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter62 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry63 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter62); com.google.javascript.rhino.jstype.ObjectType objectType64 = null; com.google.javascript.rhino.jstype.JSType jSType65 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray66 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList67 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean68 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList67, jSTypeArray66); com.google.javascript.rhino.jstype.JSType jSType69 = jSTypeRegistry63.createFunctionTypeWithVarArgs(objectType64, jSType65, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList67); com.google.javascript.rhino.ErrorReporter errorReporter70 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry71 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter70); com.google.javascript.rhino.jstype.ObjectType objectType72 = null; com.google.javascript.rhino.jstype.JSType jSType73 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray74 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList75 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean76 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList75, jSTypeArray74); com.google.javascript.rhino.jstype.JSType jSType77 = jSTypeRegistry71.createFunctionTypeWithVarArgs(objectType72, jSType73, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList75); boolean boolean78 = jSType77.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType79 = jSType77.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray80 = new com.google.javascript.rhino.jstype.JSType[] { jSType33, jSType41, jSType47, jSType61, jSType69, objectType79 }; com.google.javascript.rhino.jstype.FunctionType functionType81 = jSTypeRegistry13.createConstructorType(jSType21, false, jSTypeArray80); boolean boolean82 = jSType10.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType81); com.google.javascript.rhino.jstype.ObjectType objectType83 = functionType81.getImplicitPrototype(); boolean boolean84 = functionType81.isUnionType(); java.util.Collection<com.google.javascript.rhino.jstype.FunctionType> functionTypeCollection85 = jSTypeRegistry1.getDirectImplementors((com.google.javascript.rhino.jstype.ObjectType) functionType81); com.google.javascript.rhino.jstype.FunctionType functionType86 = functionType81.toMaybeFunctionType(); com.google.javascript.rhino.JSDocInfo jSDocInfo87 = new com.google.javascript.rhino.JSDocInfo(); boolean boolean88 = jSDocInfo87.hasTypedefType(); java.util.Collection<java.lang.String> strCollection89 = jSDocInfo87.getReferences(); com.google.javascript.rhino.JSTypeExpression jSTypeExpression90 = jSDocInfo87.getBaseType(); boolean boolean91 = jSDocInfo87.isConstant(); boolean boolean92 = jSDocInfo87.containsDeclaration(); com.google.javascript.rhino.JSTypeExpression jSTypeExpression93 = jSDocInfo87.getTypedefType(); functionType81.setJSDocInfo(jSDocInfo87); org.junit.Assert.assertNotNull(jSTypeArray7); org.junit.Assert.assertTrue("'" + boolean9 + "' != '" + false + "'", boolean9 == false); org.junit.Assert.assertNotNull(jSType10); org.junit.Assert.assertTrue("'" + boolean11 + "' != '" + false + "'", boolean11 == false); org.junit.Assert.assertNotNull(jSTypeArray18); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(jSType21); org.junit.Assert.assertTrue("'" + boolean22 + "' != '" + false + "'", boolean22 == false); org.junit.Assert.assertNotNull(jSTypeArray28); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(jSType31); org.junit.Assert.assertTrue("'" + boolean32 + "' != '" + false + "'", boolean32 == false); org.junit.Assert.assertNotNull(jSType33); org.junit.Assert.assertNotNull(jSTypeArray38); org.junit.Assert.assertTrue("'" + boolean40 + "' != '" + false + "'", boolean40 == false); org.junit.Assert.assertNotNull(jSType41); org.junit.Assert.assertTrue("'" + boolean42 + "' != '" + false + "'", boolean42 == false); org.junit.Assert.assertNotNull(jSType43); org.junit.Assert.assertNotNull(jSTypeArray48); org.junit.Assert.assertTrue("'" + boolean50 + "' != '" + false + "'", boolean50 == false); org.junit.Assert.assertNotNull(jSType51); org.junit.Assert.assertNotNull(jSTypeArray56); org.junit.Assert.assertTrue("'" + boolean58 + "' != '" + false + "'", boolean58 == false); org.junit.Assert.assertNotNull(jSType59); org.junit.Assert.assertTrue("'" + boolean60 + "' != '" + false + "'", boolean60 == false); org.junit.Assert.assertNotNull(jSType61); org.junit.Assert.assertNotNull(jSTypeArray66); org.junit.Assert.assertTrue("'" + boolean68 + "' != '" + false + "'", boolean68 == false); org.junit.Assert.assertNotNull(jSType69); org.junit.Assert.assertNotNull(jSTypeArray74); org.junit.Assert.assertTrue("'" + boolean76 + "' != '" + false + "'", boolean76 == false); org.junit.Assert.assertNotNull(jSType77); org.junit.Assert.assertTrue("'" + boolean78 + "' != '" + false + "'", boolean78 == false); org.junit.Assert.assertNotNull(objectType79); org.junit.Assert.assertNotNull(jSTypeArray80); org.junit.Assert.assertNotNull(functionType81); org.junit.Assert.assertTrue("'" + boolean82 + "' != '" + true + "'", boolean82 == true); org.junit.Assert.assertNotNull(objectType83); org.junit.Assert.assertTrue("'" + boolean84 + "' != '" + false + "'", boolean84 == false); org.junit.Assert.assertNotNull(functionTypeCollection85); org.junit.Assert.assertNotNull(functionType86); org.junit.Assert.assertTrue("'" + boolean88 + "' != '" + false + "'", boolean88 == false); org.junit.Assert.assertNull(strCollection89); org.junit.Assert.assertNull(jSTypeExpression90); org.junit.Assert.assertTrue("'" + boolean91 + "' != '" + false + "'", boolean91 == false); org.junit.Assert.assertTrue("'" + boolean92 + "' != '" + false + "'", boolean92 == false); org.junit.Assert.assertNull(jSTypeExpression93); } @Test public void test4555() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4555"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); boolean boolean8 = jSType7.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter9 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry10 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter9); com.google.javascript.rhino.ErrorReporter errorReporter11 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry12 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter11); com.google.javascript.rhino.jstype.ObjectType objectType13 = null; com.google.javascript.rhino.jstype.JSType jSType14 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray15 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList16 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean17 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList16, jSTypeArray15); com.google.javascript.rhino.jstype.JSType jSType18 = jSTypeRegistry12.createFunctionTypeWithVarArgs(objectType13, jSType14, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList16); boolean boolean19 = jSType18.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter21 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry22 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter21); com.google.javascript.rhino.jstype.ObjectType objectType23 = null; com.google.javascript.rhino.jstype.JSType jSType24 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray25 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList26 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean27 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList26, jSTypeArray25); com.google.javascript.rhino.jstype.JSType jSType28 = jSTypeRegistry22.createFunctionTypeWithVarArgs(objectType23, jSType24, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList26); boolean boolean29 = jSType28.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType30 = jSType28.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter31 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry32 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter31); com.google.javascript.rhino.jstype.ObjectType objectType33 = null; com.google.javascript.rhino.jstype.JSType jSType34 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray35 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList36 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean37 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList36, jSTypeArray35); com.google.javascript.rhino.jstype.JSType jSType38 = jSTypeRegistry32.createFunctionTypeWithVarArgs(objectType33, jSType34, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList36); boolean boolean39 = jSType38.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType40 = jSType38.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter41 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry42 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter41); com.google.javascript.rhino.jstype.ObjectType objectType43 = null; com.google.javascript.rhino.jstype.JSType jSType44 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray45 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList46 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean47 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList46, jSTypeArray45); com.google.javascript.rhino.jstype.JSType jSType48 = jSTypeRegistry42.createFunctionTypeWithVarArgs(objectType43, jSType44, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList46); com.google.javascript.rhino.ErrorReporter errorReporter49 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry50 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter49); com.google.javascript.rhino.jstype.ObjectType objectType51 = null; com.google.javascript.rhino.jstype.JSType jSType52 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray53 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList54 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean55 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList54, jSTypeArray53); com.google.javascript.rhino.jstype.JSType jSType56 = jSTypeRegistry50.createFunctionTypeWithVarArgs(objectType51, jSType52, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList54); boolean boolean57 = jSType56.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType58 = jSType56.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter59 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry60 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter59); com.google.javascript.rhino.jstype.ObjectType objectType61 = null; com.google.javascript.rhino.jstype.JSType jSType62 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray63 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList64 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean65 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList64, jSTypeArray63); com.google.javascript.rhino.jstype.JSType jSType66 = jSTypeRegistry60.createFunctionTypeWithVarArgs(objectType61, jSType62, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList64); com.google.javascript.rhino.ErrorReporter errorReporter67 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry68 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter67); com.google.javascript.rhino.jstype.ObjectType objectType69 = null; com.google.javascript.rhino.jstype.JSType jSType70 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray71 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList72 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean73 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList72, jSTypeArray71); com.google.javascript.rhino.jstype.JSType jSType74 = jSTypeRegistry68.createFunctionTypeWithVarArgs(objectType69, jSType70, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList72); boolean boolean75 = jSType74.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType76 = jSType74.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray77 = new com.google.javascript.rhino.jstype.JSType[] { jSType30, jSType38, jSType44, jSType58, jSType66, objectType76 }; com.google.javascript.rhino.jstype.FunctionType functionType78 = jSTypeRegistry10.createConstructorType(jSType18, false, jSTypeArray77); boolean boolean79 = jSType7.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType78); com.google.javascript.rhino.jstype.FunctionType functionType80 = functionType78.toMaybeFunctionType(); functionType78.clearResolved(); boolean boolean82 = functionType78.isEnumType(); boolean boolean83 = functionType78.isConstructor(); com.google.javascript.rhino.jstype.FunctionType functionType84 = functionType78.getSuperClassConstructor(); functionType78.clearCachedValues(); com.google.javascript.rhino.jstype.StaticSlot<com.google.javascript.rhino.jstype.JSType> jSTypeStaticSlot87 = functionType78.getSlot("STRING Not declared as a constructor"); boolean boolean88 = functionType78.isDateType(); boolean boolean89 = functionType78.isNominalConstructor(); boolean boolean90 = functionType78.hasAnyTemplate(); boolean boolean91 = functionType78.isNativeObjectType(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSTypeArray15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(jSType18); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(jSTypeArray25); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(jSType28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(jSType30); org.junit.Assert.assertNotNull(jSTypeArray35); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSType38); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(jSType40); org.junit.Assert.assertNotNull(jSTypeArray45); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(jSType48); org.junit.Assert.assertNotNull(jSTypeArray53); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); org.junit.Assert.assertNotNull(jSType56); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNotNull(jSType58); org.junit.Assert.assertNotNull(jSTypeArray63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(jSType66); org.junit.Assert.assertNotNull(jSTypeArray71); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNotNull(jSType74); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(objectType76); org.junit.Assert.assertNotNull(jSTypeArray77); org.junit.Assert.assertNotNull(functionType78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + true + "'", boolean79 == true); org.junit.Assert.assertNotNull(functionType80); org.junit.Assert.assertTrue("'" + boolean82 + "' != '" + false + "'", boolean82 == false); org.junit.Assert.assertTrue("'" + boolean83 + "' != '" + true + "'", boolean83 == true); org.junit.Assert.assertNull(functionType84); org.junit.Assert.assertNull(jSTypeStaticSlot87); org.junit.Assert.assertTrue("'" + boolean88 + "' != '" + false + "'", boolean88 == false); org.junit.Assert.assertTrue("'" + boolean89 + "' != '" + false + "'", boolean89 == false); org.junit.Assert.assertTrue("'" + boolean90 + "' != '" + false + "'", boolean90 == false); org.junit.Assert.assertTrue("'" + boolean91 + "' != '" + false + "'", boolean91 == false); } @Test public void test4556() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4556"); com.google.javascript.rhino.Node node2 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean3 = node2.isLabelName(); java.util.Set<java.lang.String> strSet4 = node2.getDirectives(); com.google.javascript.rhino.Node node6 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean7 = node6.isLabelName(); com.google.javascript.rhino.Node[] nodeArray8 = new com.google.javascript.rhino.Node[] { node2, node6 }; com.google.javascript.rhino.Node node11 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray8, 50, 50); com.google.javascript.rhino.Node node13 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node11.addChildToFront(node13); com.google.javascript.rhino.Node node15 = node13.detachFromParent(); boolean boolean16 = node13.isDefaultCase(); com.google.javascript.rhino.Node node19 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean20 = node19.isLabelName(); java.util.Set<java.lang.String> strSet21 = node19.getDirectives(); com.google.javascript.rhino.Node node23 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean24 = node23.isLabelName(); com.google.javascript.rhino.Node[] nodeArray25 = new com.google.javascript.rhino.Node[] { node19, node23 }; com.google.javascript.rhino.Node node28 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray25, 50, 50); com.google.javascript.rhino.Node node30 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node28.addChildToFront(node30); boolean boolean32 = node30.isDefaultCase(); com.google.javascript.rhino.Node node33 = node30.getParent(); node30.detachChildren(); boolean boolean35 = node30.hasMoreThanOneChild(); com.google.javascript.rhino.Node node37 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean38 = node37.isLabelName(); java.util.Set<java.lang.String> strSet39 = node37.getDirectives(); boolean boolean40 = node37.isGetterDef(); com.google.javascript.rhino.Node node41 = node30.clonePropsFrom(node37); com.google.javascript.rhino.JSTypeExpression jSTypeExpression43 = new com.google.javascript.rhino.JSTypeExpression(node30, "(java.io.IOException: java.io.IOException: )"); com.google.javascript.rhino.Node node44 = jSTypeExpression43.getRoot(); com.google.javascript.rhino.Node node47 = com.google.javascript.rhino.Node.newString("function (): ?"); com.google.javascript.rhino.Node node50 = new com.google.javascript.rhino.Node(41010, node47, (int) (byte) 0, 0); // The following exception was thrown during execution in test generation try { node13.replaceChildAfter(node44, node47); org.junit.Assert.fail("Expected exception of type java.lang.IllegalArgumentException; message: prev is not a child of this node."); } catch (java.lang.IllegalArgumentException e) { // Expected exception. } org.junit.Assert.assertNotNull(node2); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertNull(strSet4); org.junit.Assert.assertNotNull(node6); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertNotNull(nodeArray8); org.junit.Assert.assertNotNull(node13); org.junit.Assert.assertNotNull(node15); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertNotNull(node19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNull(strSet21); org.junit.Assert.assertNotNull(node23); org.junit.Assert.assertTrue("'" + boolean24 + "' != '" + false + "'", boolean24 == false); org.junit.Assert.assertNotNull(nodeArray25); org.junit.Assert.assertNotNull(node30); org.junit.Assert.assertTrue("'" + boolean32 + "' != '" + false + "'", boolean32 == false); org.junit.Assert.assertNotNull(node33); org.junit.Assert.assertTrue("'" + boolean35 + "' != '" + false + "'", boolean35 == false); org.junit.Assert.assertNotNull(node37); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNull(strSet39); org.junit.Assert.assertTrue("'" + boolean40 + "' != '" + false + "'", boolean40 == false); org.junit.Assert.assertNotNull(node41); org.junit.Assert.assertNotNull(node44); org.junit.Assert.assertNotNull(node47); } @Test public void test4557() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4557"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); jSTypeRegistry1.resetForTypeCheck(); com.google.javascript.rhino.ErrorReporter errorReporter3 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry4 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter3); com.google.javascript.rhino.jstype.ObjectType objectType5 = null; com.google.javascript.rhino.jstype.JSType jSType6 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray7 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList8 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean9 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList8, jSTypeArray7); com.google.javascript.rhino.jstype.JSType jSType10 = jSTypeRegistry4.createFunctionTypeWithVarArgs(objectType5, jSType6, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList8); boolean boolean11 = jSType10.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter12 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry13 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter12); com.google.javascript.rhino.ErrorReporter errorReporter14 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry15 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter14); com.google.javascript.rhino.jstype.ObjectType objectType16 = null; com.google.javascript.rhino.jstype.JSType jSType17 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray18 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList19 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean20 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList19, jSTypeArray18); com.google.javascript.rhino.jstype.JSType jSType21 = jSTypeRegistry15.createFunctionTypeWithVarArgs(objectType16, jSType17, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList19); boolean boolean22 = jSType21.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter24 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry25 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter24); com.google.javascript.rhino.jstype.ObjectType objectType26 = null; com.google.javascript.rhino.jstype.JSType jSType27 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray28 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList29 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean30 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList29, jSTypeArray28); com.google.javascript.rhino.jstype.JSType jSType31 = jSTypeRegistry25.createFunctionTypeWithVarArgs(objectType26, jSType27, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList29); boolean boolean32 = jSType31.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType33 = jSType31.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter34 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry35 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter34); com.google.javascript.rhino.jstype.ObjectType objectType36 = null; com.google.javascript.rhino.jstype.JSType jSType37 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray38 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList39 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean40 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList39, jSTypeArray38); com.google.javascript.rhino.jstype.JSType jSType41 = jSTypeRegistry35.createFunctionTypeWithVarArgs(objectType36, jSType37, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList39); boolean boolean42 = jSType41.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType43 = jSType41.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter44 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry45 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter44); com.google.javascript.rhino.jstype.ObjectType objectType46 = null; com.google.javascript.rhino.jstype.JSType jSType47 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray48 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList49 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean50 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList49, jSTypeArray48); com.google.javascript.rhino.jstype.JSType jSType51 = jSTypeRegistry45.createFunctionTypeWithVarArgs(objectType46, jSType47, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList49); com.google.javascript.rhino.ErrorReporter errorReporter52 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry53 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter52); com.google.javascript.rhino.jstype.ObjectType objectType54 = null; com.google.javascript.rhino.jstype.JSType jSType55 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray56 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList57 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean58 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList57, jSTypeArray56); com.google.javascript.rhino.jstype.JSType jSType59 = jSTypeRegistry53.createFunctionTypeWithVarArgs(objectType54, jSType55, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList57); boolean boolean60 = jSType59.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType61 = jSType59.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter62 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry63 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter62); com.google.javascript.rhino.jstype.ObjectType objectType64 = null; com.google.javascript.rhino.jstype.JSType jSType65 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray66 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList67 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean68 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList67, jSTypeArray66); com.google.javascript.rhino.jstype.JSType jSType69 = jSTypeRegistry63.createFunctionTypeWithVarArgs(objectType64, jSType65, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList67); com.google.javascript.rhino.ErrorReporter errorReporter70 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry71 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter70); com.google.javascript.rhino.jstype.ObjectType objectType72 = null; com.google.javascript.rhino.jstype.JSType jSType73 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray74 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList75 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean76 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList75, jSTypeArray74); com.google.javascript.rhino.jstype.JSType jSType77 = jSTypeRegistry71.createFunctionTypeWithVarArgs(objectType72, jSType73, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList75); boolean boolean78 = jSType77.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType79 = jSType77.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray80 = new com.google.javascript.rhino.jstype.JSType[] { jSType33, jSType41, jSType47, jSType61, jSType69, objectType79 }; com.google.javascript.rhino.jstype.FunctionType functionType81 = jSTypeRegistry13.createConstructorType(jSType21, false, jSTypeArray80); boolean boolean82 = jSType10.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType81); com.google.javascript.rhino.jstype.FunctionType functionType83 = functionType81.toMaybeFunctionType(); com.google.javascript.rhino.JSDocInfo jSDocInfo84 = null; functionType81.setJSDocInfo(jSDocInfo84); com.google.javascript.rhino.jstype.ObjectType objectType87 = com.google.javascript.rhino.jstype.FunctionType.getTopDefiningInterface((com.google.javascript.rhino.jstype.ObjectType) functionType81, "hi!"); boolean boolean88 = functionType81.isCheckedUnknownType(); java.util.Set<java.lang.String> strSet89 = functionType81.getOwnPropertyNames(); java.lang.Iterable iterable90 = functionType81.getCtorImplementedInterfaces(); com.google.javascript.rhino.jstype.ObjectType objectType92 = functionType81.getTopMostDefiningType("OR\n"); com.google.javascript.rhino.jstype.JSType[] jSTypeArray93 = new com.google.javascript.rhino.jstype.JSType[] {}; com.google.javascript.rhino.jstype.FunctionType functionType94 = jSTypeRegistry1.createConstructorType((com.google.javascript.rhino.jstype.JSType) functionType81, jSTypeArray93); boolean boolean95 = functionType94.isInterface(); org.junit.Assert.assertNotNull(jSTypeArray7); org.junit.Assert.assertTrue("'" + boolean9 + "' != '" + false + "'", boolean9 == false); org.junit.Assert.assertNotNull(jSType10); org.junit.Assert.assertTrue("'" + boolean11 + "' != '" + false + "'", boolean11 == false); org.junit.Assert.assertNotNull(jSTypeArray18); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(jSType21); org.junit.Assert.assertTrue("'" + boolean22 + "' != '" + false + "'", boolean22 == false); org.junit.Assert.assertNotNull(jSTypeArray28); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(jSType31); org.junit.Assert.assertTrue("'" + boolean32 + "' != '" + false + "'", boolean32 == false); org.junit.Assert.assertNotNull(jSType33); org.junit.Assert.assertNotNull(jSTypeArray38); org.junit.Assert.assertTrue("'" + boolean40 + "' != '" + false + "'", boolean40 == false); org.junit.Assert.assertNotNull(jSType41); org.junit.Assert.assertTrue("'" + boolean42 + "' != '" + false + "'", boolean42 == false); org.junit.Assert.assertNotNull(jSType43); org.junit.Assert.assertNotNull(jSTypeArray48); org.junit.Assert.assertTrue("'" + boolean50 + "' != '" + false + "'", boolean50 == false); org.junit.Assert.assertNotNull(jSType51); org.junit.Assert.assertNotNull(jSTypeArray56); org.junit.Assert.assertTrue("'" + boolean58 + "' != '" + false + "'", boolean58 == false); org.junit.Assert.assertNotNull(jSType59); org.junit.Assert.assertTrue("'" + boolean60 + "' != '" + false + "'", boolean60 == false); org.junit.Assert.assertNotNull(jSType61); org.junit.Assert.assertNotNull(jSTypeArray66); org.junit.Assert.assertTrue("'" + boolean68 + "' != '" + false + "'", boolean68 == false); org.junit.Assert.assertNotNull(jSType69); org.junit.Assert.assertNotNull(jSTypeArray74); org.junit.Assert.assertTrue("'" + boolean76 + "' != '" + false + "'", boolean76 == false); org.junit.Assert.assertNotNull(jSType77); org.junit.Assert.assertTrue("'" + boolean78 + "' != '" + false + "'", boolean78 == false); org.junit.Assert.assertNotNull(objectType79); org.junit.Assert.assertNotNull(jSTypeArray80); org.junit.Assert.assertNotNull(functionType81); org.junit.Assert.assertTrue("'" + boolean82 + "' != '" + true + "'", boolean82 == true); org.junit.Assert.assertNotNull(functionType83); org.junit.Assert.assertNull(objectType87); org.junit.Assert.assertTrue("'" + boolean88 + "' != '" + false + "'", boolean88 == false); org.junit.Assert.assertNotNull(strSet89); org.junit.Assert.assertNotNull(iterable90); org.junit.Assert.assertNotNull(objectType92); org.junit.Assert.assertNotNull(jSTypeArray93); org.junit.Assert.assertNotNull(functionType94); org.junit.Assert.assertTrue("'" + boolean95 + "' != '" + false + "'", boolean95 == false); } @Test public void test4558() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4558"); com.google.javascript.rhino.Node node2 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean3 = node2.isLabelName(); java.util.Set<java.lang.String> strSet4 = node2.getDirectives(); com.google.javascript.rhino.Node node6 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean7 = node6.isLabelName(); com.google.javascript.rhino.Node[] nodeArray8 = new com.google.javascript.rhino.Node[] { node2, node6 }; com.google.javascript.rhino.Node node11 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray8, 50, 50); com.google.javascript.rhino.Node node13 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node11.addChildToFront(node13); boolean boolean15 = node11.isNew(); java.lang.String[] strArray18 = new java.lang.String[] { "function (): ?", "" }; java.util.LinkedHashSet<java.lang.String> strSet19 = new java.util.LinkedHashSet<java.lang.String>(); boolean boolean20 = java.util.Collections.addAll((java.util.Collection<java.lang.String>) strSet19, strArray18); node11.setDirectives((java.util.Set<java.lang.String>) strSet19); boolean boolean22 = node11.isAdd(); boolean boolean23 = node11.isBreak(); org.junit.Assert.assertNotNull(node2); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertNull(strSet4); org.junit.Assert.assertNotNull(node6); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertNotNull(nodeArray8); org.junit.Assert.assertNotNull(node13); org.junit.Assert.assertTrue("'" + boolean15 + "' != '" + false + "'", boolean15 == false); org.junit.Assert.assertNotNull(strArray18); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + true + "'", boolean20 == true); org.junit.Assert.assertTrue("'" + boolean22 + "' != '" + false + "'", boolean22 == false); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + false + "'", boolean23 == false); } @Test public void test4559() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4559"); com.google.javascript.rhino.Node node1 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node2 = com.google.javascript.jscomp.NodeUtil.newExpr(node1); com.google.javascript.rhino.jstype.StaticSourceFile staticSourceFile3 = null; node1.setStaticSourceFile(staticSourceFile3); com.google.javascript.rhino.Node node5 = node1.getParent(); boolean boolean6 = node1.isSwitch(); com.google.javascript.rhino.Node node9 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean10 = node9.isLabelName(); java.util.Set<java.lang.String> strSet11 = node9.getDirectives(); com.google.javascript.rhino.Node node13 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean14 = node13.isLabelName(); com.google.javascript.rhino.Node[] nodeArray15 = new com.google.javascript.rhino.Node[] { node9, node13 }; com.google.javascript.rhino.Node node18 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray15, 50, 50); com.google.javascript.rhino.Node node20 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node18.addChildToFront(node20); boolean boolean22 = node18.isNew(); com.google.javascript.rhino.Node node24 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node25 = node18.useSourceInfoFrom(node24); int int26 = node24.getSourcePosition(); boolean boolean27 = node24.isAnd(); boolean boolean28 = node24.isNot(); boolean boolean29 = node24.isScript(); node24.setIsSyntheticBlock(true); boolean boolean32 = node24.isIn(); com.google.javascript.rhino.Node node33 = node1.copyInformationFrom(node24); boolean boolean34 = node33.isTry(); com.google.javascript.rhino.Node node35 = node33.getLastSibling(); org.junit.Assert.assertNotNull(node1); org.junit.Assert.assertNotNull(node2); org.junit.Assert.assertNotNull(node5); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(node9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNull(strSet11); org.junit.Assert.assertNotNull(node13); org.junit.Assert.assertTrue("'" + boolean14 + "' != '" + false + "'", boolean14 == false); org.junit.Assert.assertNotNull(nodeArray15); org.junit.Assert.assertNotNull(node20); org.junit.Assert.assertTrue("'" + boolean22 + "' != '" + false + "'", boolean22 == false); org.junit.Assert.assertNotNull(node24); org.junit.Assert.assertNotNull(node25); org.junit.Assert.assertTrue("'" + int26 + "' != '" + (-1) + "'", int26 == (-1)); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertTrue("'" + boolean32 + "' != '" + false + "'", boolean32 == false); org.junit.Assert.assertNotNull(node33); org.junit.Assert.assertTrue("'" + boolean34 + "' != '" + false + "'", boolean34 == false); org.junit.Assert.assertNotNull(node35); } @Test public void test4560() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4560"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.ErrorReporter errorReporter2 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry3 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter2); com.google.javascript.rhino.jstype.ObjectType objectType4 = null; com.google.javascript.rhino.jstype.JSType jSType5 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray6 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList7 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean8 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList7, jSTypeArray6); com.google.javascript.rhino.jstype.JSType jSType9 = jSTypeRegistry3.createFunctionTypeWithVarArgs(objectType4, jSType5, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList7); boolean boolean10 = jSType9.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter12 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry13 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter12); com.google.javascript.rhino.jstype.ObjectType objectType14 = null; com.google.javascript.rhino.jstype.JSType jSType15 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray16 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList17 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean18 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList17, jSTypeArray16); com.google.javascript.rhino.jstype.JSType jSType19 = jSTypeRegistry13.createFunctionTypeWithVarArgs(objectType14, jSType15, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList17); boolean boolean20 = jSType19.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType21 = jSType19.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter22 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry23 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter22); com.google.javascript.rhino.jstype.ObjectType objectType24 = null; com.google.javascript.rhino.jstype.JSType jSType25 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray26 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList27 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean28 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList27, jSTypeArray26); com.google.javascript.rhino.jstype.JSType jSType29 = jSTypeRegistry23.createFunctionTypeWithVarArgs(objectType24, jSType25, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList27); boolean boolean30 = jSType29.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType31 = jSType29.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter32 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry33 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter32); com.google.javascript.rhino.jstype.ObjectType objectType34 = null; com.google.javascript.rhino.jstype.JSType jSType35 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray36 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList37 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean38 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList37, jSTypeArray36); com.google.javascript.rhino.jstype.JSType jSType39 = jSTypeRegistry33.createFunctionTypeWithVarArgs(objectType34, jSType35, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList37); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); boolean boolean48 = jSType47.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType49 = jSType47.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter50 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry51 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter50); com.google.javascript.rhino.jstype.ObjectType objectType52 = null; com.google.javascript.rhino.jstype.JSType jSType53 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray54 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList55 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean56 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList55, jSTypeArray54); com.google.javascript.rhino.jstype.JSType jSType57 = jSTypeRegistry51.createFunctionTypeWithVarArgs(objectType52, jSType53, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList55); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); boolean boolean66 = jSType65.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType67 = jSType65.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray68 = new com.google.javascript.rhino.jstype.JSType[] { jSType21, jSType29, jSType35, jSType49, jSType57, objectType67 }; com.google.javascript.rhino.jstype.FunctionType functionType69 = jSTypeRegistry1.createConstructorType(jSType9, false, jSTypeArray68); boolean boolean70 = functionType69.hasReferenceName(); boolean boolean71 = functionType69.isNoType(); boolean boolean72 = functionType69.isNumberObjectType(); boolean boolean73 = functionType69.matchesStringContext(); com.google.javascript.rhino.jstype.ObjectType objectType74 = functionType69.getPrototype(); boolean boolean75 = objectType74.isEnumType(); org.junit.Assert.assertNotNull(jSTypeArray6); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSType9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNotNull(jSTypeArray16); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSType19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(jSType21); org.junit.Assert.assertNotNull(jSTypeArray26); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(jSType31); org.junit.Assert.assertNotNull(jSTypeArray36); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(jSType49); org.junit.Assert.assertNotNull(jSTypeArray54); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertNotNull(objectType67); org.junit.Assert.assertNotNull(jSTypeArray68); org.junit.Assert.assertNotNull(functionType69); org.junit.Assert.assertTrue("'" + boolean70 + "' != '" + false + "'", boolean70 == false); org.junit.Assert.assertTrue("'" + boolean71 + "' != '" + false + "'", boolean71 == false); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNotNull(objectType74); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); } @Test public void test4561() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4561"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); boolean boolean8 = jSType7.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType9 = jSType7.toObjectType(); java.lang.String str10 = objectType9.toString(); com.google.javascript.rhino.JSDocInfo jSDocInfo11 = objectType9.getJSDocInfo(); boolean boolean12 = objectType9.isNominalConstructor(); com.google.javascript.rhino.jstype.StaticSlot<com.google.javascript.rhino.jstype.JSType> jSTypeStaticSlot14 = objectType9.getSlot("true"); com.google.javascript.rhino.ErrorReporter errorReporter15 = null; com.google.javascript.rhino.ErrorReporter errorReporter16 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry17 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter16); com.google.javascript.rhino.ErrorReporter errorReporter18 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry19 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter18); com.google.javascript.rhino.jstype.ObjectType objectType20 = null; com.google.javascript.rhino.jstype.JSType jSType21 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray22 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList23 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean24 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList23, jSTypeArray22); com.google.javascript.rhino.jstype.JSType jSType25 = jSTypeRegistry19.createFunctionTypeWithVarArgs(objectType20, jSType21, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList23); boolean boolean26 = jSType25.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter28 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry29 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter28); com.google.javascript.rhino.jstype.ObjectType objectType30 = null; com.google.javascript.rhino.jstype.JSType jSType31 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray32 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList33 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean34 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList33, jSTypeArray32); com.google.javascript.rhino.jstype.JSType jSType35 = jSTypeRegistry29.createFunctionTypeWithVarArgs(objectType30, jSType31, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList33); boolean boolean36 = jSType35.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType37 = jSType35.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter38 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry39 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter38); com.google.javascript.rhino.jstype.ObjectType objectType40 = null; com.google.javascript.rhino.jstype.JSType jSType41 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray42 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList43 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean44 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList43, jSTypeArray42); com.google.javascript.rhino.jstype.JSType jSType45 = jSTypeRegistry39.createFunctionTypeWithVarArgs(objectType40, jSType41, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList43); boolean boolean46 = jSType45.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType47 = jSType45.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter48 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry49 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter48); com.google.javascript.rhino.jstype.ObjectType objectType50 = null; com.google.javascript.rhino.jstype.JSType jSType51 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray52 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList53 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean54 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList53, jSTypeArray52); com.google.javascript.rhino.jstype.JSType jSType55 = jSTypeRegistry49.createFunctionTypeWithVarArgs(objectType50, jSType51, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList53); com.google.javascript.rhino.ErrorReporter errorReporter56 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry57 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter56); com.google.javascript.rhino.jstype.ObjectType objectType58 = null; com.google.javascript.rhino.jstype.JSType jSType59 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray60 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList61 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean62 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList61, jSTypeArray60); com.google.javascript.rhino.jstype.JSType jSType63 = jSTypeRegistry57.createFunctionTypeWithVarArgs(objectType58, jSType59, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList61); boolean boolean64 = jSType63.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType65 = jSType63.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter66 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry67 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter66); com.google.javascript.rhino.jstype.ObjectType objectType68 = null; com.google.javascript.rhino.jstype.JSType jSType69 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray70 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList71 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean72 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList71, jSTypeArray70); com.google.javascript.rhino.jstype.JSType jSType73 = jSTypeRegistry67.createFunctionTypeWithVarArgs(objectType68, jSType69, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList71); com.google.javascript.rhino.ErrorReporter errorReporter74 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry75 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter74); com.google.javascript.rhino.jstype.ObjectType objectType76 = null; com.google.javascript.rhino.jstype.JSType jSType77 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray78 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList79 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean80 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList79, jSTypeArray78); com.google.javascript.rhino.jstype.JSType jSType81 = jSTypeRegistry75.createFunctionTypeWithVarArgs(objectType76, jSType77, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList79); boolean boolean82 = jSType81.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType83 = jSType81.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray84 = new com.google.javascript.rhino.jstype.JSType[] { jSType37, jSType45, jSType51, jSType65, jSType73, objectType83 }; com.google.javascript.rhino.jstype.FunctionType functionType85 = jSTypeRegistry17.createConstructorType(jSType25, false, jSTypeArray84); com.google.javascript.rhino.jstype.JSType jSType86 = functionType85.unboxesTo(); boolean boolean87 = functionType85.isObject(); boolean boolean88 = functionType85.isDateType(); com.google.javascript.rhino.jstype.JSType jSType89 = objectType9.resolve(errorReporter15, (com.google.javascript.rhino.jstype.StaticScope<com.google.javascript.rhino.jstype.JSType>) functionType85); com.google.javascript.rhino.jstype.JSType jSType90 = functionType85.getReturnType(); boolean boolean91 = functionType85.isNumber(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(objectType9); org.junit.Assert.assertEquals("'" + str10 + "' != '" + "function (): ?" + "'", str10, "function (): ?"); org.junit.Assert.assertNull(jSDocInfo11); org.junit.Assert.assertTrue("'" + boolean12 + "' != '" + false + "'", boolean12 == false); org.junit.Assert.assertNull(jSTypeStaticSlot14); org.junit.Assert.assertNotNull(jSTypeArray22); org.junit.Assert.assertTrue("'" + boolean24 + "' != '" + false + "'", boolean24 == false); org.junit.Assert.assertNotNull(jSType25); org.junit.Assert.assertTrue("'" + boolean26 + "' != '" + false + "'", boolean26 == false); org.junit.Assert.assertNotNull(jSTypeArray32); org.junit.Assert.assertTrue("'" + boolean34 + "' != '" + false + "'", boolean34 == false); org.junit.Assert.assertNotNull(jSType35); org.junit.Assert.assertTrue("'" + boolean36 + "' != '" + false + "'", boolean36 == false); org.junit.Assert.assertNotNull(jSType37); org.junit.Assert.assertNotNull(jSTypeArray42); org.junit.Assert.assertTrue("'" + boolean44 + "' != '" + false + "'", boolean44 == false); org.junit.Assert.assertNotNull(jSType45); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertNotNull(jSTypeArray52); org.junit.Assert.assertTrue("'" + boolean54 + "' != '" + false + "'", boolean54 == false); org.junit.Assert.assertNotNull(jSType55); org.junit.Assert.assertNotNull(jSTypeArray60); org.junit.Assert.assertTrue("'" + boolean62 + "' != '" + false + "'", boolean62 == false); org.junit.Assert.assertNotNull(jSType63); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertNotNull(jSTypeArray70); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertNotNull(jSType73); org.junit.Assert.assertNotNull(jSTypeArray78); org.junit.Assert.assertTrue("'" + boolean80 + "' != '" + false + "'", boolean80 == false); org.junit.Assert.assertNotNull(jSType81); org.junit.Assert.assertTrue("'" + boolean82 + "' != '" + false + "'", boolean82 == false); org.junit.Assert.assertNotNull(objectType83); org.junit.Assert.assertNotNull(jSTypeArray84); org.junit.Assert.assertNotNull(functionType85); org.junit.Assert.assertNull(jSType86); org.junit.Assert.assertTrue("'" + boolean87 + "' != '" + true + "'", boolean87 == true); org.junit.Assert.assertTrue("'" + boolean88 + "' != '" + false + "'", boolean88 == false); org.junit.Assert.assertNotNull(jSType89); org.junit.Assert.assertNotNull(jSType90); org.junit.Assert.assertTrue("'" + boolean91 + "' != '" + false + "'", boolean91 == false); } @Test public void test4562() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4562"); com.google.javascript.rhino.InputId inputId1 = new com.google.javascript.rhino.InputId(""); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet2 = com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE; boolean boolean4 = booleanLiteralSet2.contains(false); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet5 = com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE; boolean boolean7 = booleanLiteralSet5.contains(false); boolean boolean9 = booleanLiteralSet5.contains(false); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet10 = booleanLiteralSet2.intersection(booleanLiteralSet5); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet11 = com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE; boolean boolean13 = booleanLiteralSet11.contains(false); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet14 = com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE; boolean boolean16 = booleanLiteralSet14.contains(false); boolean boolean18 = booleanLiteralSet14.contains(false); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet19 = booleanLiteralSet11.intersection(booleanLiteralSet14); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet20 = com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE; boolean boolean22 = booleanLiteralSet20.contains(false); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet23 = com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE; boolean boolean25 = booleanLiteralSet23.contains(false); boolean boolean27 = booleanLiteralSet23.contains(false); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet28 = booleanLiteralSet20.intersection(booleanLiteralSet23); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet29 = com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE; boolean boolean31 = booleanLiteralSet29.contains(false); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet32 = com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE; boolean boolean34 = booleanLiteralSet32.contains(false); boolean boolean36 = booleanLiteralSet32.contains(false); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet37 = booleanLiteralSet29.intersection(booleanLiteralSet32); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet38 = com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE; boolean boolean40 = booleanLiteralSet38.contains(false); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet41 = com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE; boolean boolean43 = booleanLiteralSet41.contains(false); boolean boolean45 = booleanLiteralSet41.contains(false); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet46 = booleanLiteralSet38.intersection(booleanLiteralSet41); com.google.common.collect.ImmutableList<java.lang.Enum<com.google.javascript.rhino.jstype.BooleanLiteralSet>> booleanLiteralSetEnumList47 = com.google.common.collect.ImmutableList.of((java.lang.Enum<com.google.javascript.rhino.jstype.BooleanLiteralSet>) booleanLiteralSet2, (java.lang.Enum<com.google.javascript.rhino.jstype.BooleanLiteralSet>) booleanLiteralSet14, (java.lang.Enum<com.google.javascript.rhino.jstype.BooleanLiteralSet>) booleanLiteralSet20, (java.lang.Enum<com.google.javascript.rhino.jstype.BooleanLiteralSet>) booleanLiteralSet32, (java.lang.Enum<com.google.javascript.rhino.jstype.BooleanLiteralSet>) booleanLiteralSet46); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet48 = com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE; boolean boolean50 = booleanLiteralSet48.contains(false); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet51 = com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE; boolean boolean53 = booleanLiteralSet51.contains(false); boolean boolean55 = booleanLiteralSet51.contains(false); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet56 = booleanLiteralSet48.intersection(booleanLiteralSet51); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet57 = com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE; boolean boolean59 = booleanLiteralSet57.contains(false); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet60 = com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE; boolean boolean62 = booleanLiteralSet60.contains(false); boolean boolean64 = booleanLiteralSet60.contains(false); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet65 = booleanLiteralSet57.intersection(booleanLiteralSet60); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet66 = com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE; boolean boolean68 = booleanLiteralSet66.contains(false); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet69 = com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE; boolean boolean71 = booleanLiteralSet69.contains(false); boolean boolean73 = booleanLiteralSet69.contains(false); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet74 = booleanLiteralSet66.intersection(booleanLiteralSet69); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet75 = com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE; boolean boolean77 = booleanLiteralSet75.contains(false); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet78 = com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE; boolean boolean80 = booleanLiteralSet78.contains(false); boolean boolean82 = booleanLiteralSet78.contains(false); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet83 = booleanLiteralSet75.intersection(booleanLiteralSet78); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet84 = com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE; boolean boolean86 = booleanLiteralSet84.contains(false); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet87 = com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE; boolean boolean89 = booleanLiteralSet87.contains(false); boolean boolean91 = booleanLiteralSet87.contains(false); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet92 = booleanLiteralSet84.intersection(booleanLiteralSet87); com.google.common.collect.ImmutableList<java.lang.Enum<com.google.javascript.rhino.jstype.BooleanLiteralSet>> booleanLiteralSetEnumList93 = com.google.common.collect.ImmutableList.of((java.lang.Enum<com.google.javascript.rhino.jstype.BooleanLiteralSet>) booleanLiteralSet48, (java.lang.Enum<com.google.javascript.rhino.jstype.BooleanLiteralSet>) booleanLiteralSet60, (java.lang.Enum<com.google.javascript.rhino.jstype.BooleanLiteralSet>) booleanLiteralSet66, (java.lang.Enum<com.google.javascript.rhino.jstype.BooleanLiteralSet>) booleanLiteralSet78, (java.lang.Enum<com.google.javascript.rhino.jstype.BooleanLiteralSet>) booleanLiteralSet92); com.google.common.collect.ImmutableList<java.lang.Enum<com.google.javascript.rhino.jstype.BooleanLiteralSet>> booleanLiteralSetEnumList94 = com.google.common.collect.ImmutableList.of((java.lang.Enum<com.google.javascript.rhino.jstype.BooleanLiteralSet>) booleanLiteralSet2, (java.lang.Enum<com.google.javascript.rhino.jstype.BooleanLiteralSet>) booleanLiteralSet78); boolean boolean96 = booleanLiteralSet78.contains(true); boolean boolean97 = inputId1.equals((java.lang.Object) boolean96); java.lang.String str98 = inputId1.getIdName(); org.junit.Assert.assertTrue("'" + booleanLiteralSet2 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE + "'", booleanLiteralSet2.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE)); org.junit.Assert.assertTrue("'" + boolean4 + "' != '" + true + "'", boolean4 == true); org.junit.Assert.assertTrue("'" + booleanLiteralSet5 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE + "'", booleanLiteralSet5.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE)); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + true + "'", boolean7 == true); org.junit.Assert.assertTrue("'" + boolean9 + "' != '" + true + "'", boolean9 == true); org.junit.Assert.assertTrue("'" + booleanLiteralSet10 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE + "'", booleanLiteralSet10.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE)); org.junit.Assert.assertTrue("'" + booleanLiteralSet11 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE + "'", booleanLiteralSet11.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE)); org.junit.Assert.assertTrue("'" + boolean13 + "' != '" + true + "'", boolean13 == true); org.junit.Assert.assertTrue("'" + booleanLiteralSet14 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE + "'", booleanLiteralSet14.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE)); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + true + "'", boolean16 == true); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + true + "'", boolean18 == true); org.junit.Assert.assertTrue("'" + booleanLiteralSet19 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE + "'", booleanLiteralSet19.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE)); org.junit.Assert.assertTrue("'" + booleanLiteralSet20 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE + "'", booleanLiteralSet20.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE)); org.junit.Assert.assertTrue("'" + boolean22 + "' != '" + true + "'", boolean22 == true); org.junit.Assert.assertTrue("'" + booleanLiteralSet23 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE + "'", booleanLiteralSet23.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE)); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + true + "'", boolean25 == true); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + true + "'", boolean27 == true); org.junit.Assert.assertTrue("'" + booleanLiteralSet28 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE + "'", booleanLiteralSet28.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE)); org.junit.Assert.assertTrue("'" + booleanLiteralSet29 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE + "'", booleanLiteralSet29.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE)); org.junit.Assert.assertTrue("'" + boolean31 + "' != '" + true + "'", boolean31 == true); org.junit.Assert.assertTrue("'" + booleanLiteralSet32 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE + "'", booleanLiteralSet32.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE)); org.junit.Assert.assertTrue("'" + boolean34 + "' != '" + true + "'", boolean34 == true); org.junit.Assert.assertTrue("'" + boolean36 + "' != '" + true + "'", boolean36 == true); org.junit.Assert.assertTrue("'" + booleanLiteralSet37 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE + "'", booleanLiteralSet37.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE)); org.junit.Assert.assertTrue("'" + booleanLiteralSet38 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE + "'", booleanLiteralSet38.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE)); org.junit.Assert.assertTrue("'" + boolean40 + "' != '" + true + "'", boolean40 == true); org.junit.Assert.assertTrue("'" + booleanLiteralSet41 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE + "'", booleanLiteralSet41.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE)); org.junit.Assert.assertTrue("'" + boolean43 + "' != '" + true + "'", boolean43 == true); org.junit.Assert.assertTrue("'" + boolean45 + "' != '" + true + "'", boolean45 == true); org.junit.Assert.assertTrue("'" + booleanLiteralSet46 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE + "'", booleanLiteralSet46.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE)); org.junit.Assert.assertNotNull(booleanLiteralSetEnumList47); org.junit.Assert.assertTrue("'" + booleanLiteralSet48 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE + "'", booleanLiteralSet48.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE)); org.junit.Assert.assertTrue("'" + boolean50 + "' != '" + true + "'", boolean50 == true); org.junit.Assert.assertTrue("'" + booleanLiteralSet51 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE + "'", booleanLiteralSet51.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE)); org.junit.Assert.assertTrue("'" + boolean53 + "' != '" + true + "'", boolean53 == true); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + true + "'", boolean55 == true); org.junit.Assert.assertTrue("'" + booleanLiteralSet56 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE + "'", booleanLiteralSet56.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE)); org.junit.Assert.assertTrue("'" + booleanLiteralSet57 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE + "'", booleanLiteralSet57.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE)); org.junit.Assert.assertTrue("'" + boolean59 + "' != '" + true + "'", boolean59 == true); org.junit.Assert.assertTrue("'" + booleanLiteralSet60 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE + "'", booleanLiteralSet60.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE)); org.junit.Assert.assertTrue("'" + boolean62 + "' != '" + true + "'", boolean62 == true); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + true + "'", boolean64 == true); org.junit.Assert.assertTrue("'" + booleanLiteralSet65 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE + "'", booleanLiteralSet65.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE)); org.junit.Assert.assertTrue("'" + booleanLiteralSet66 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE + "'", booleanLiteralSet66.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE)); org.junit.Assert.assertTrue("'" + boolean68 + "' != '" + true + "'", boolean68 == true); org.junit.Assert.assertTrue("'" + booleanLiteralSet69 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE + "'", booleanLiteralSet69.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE)); org.junit.Assert.assertTrue("'" + boolean71 + "' != '" + true + "'", boolean71 == true); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + true + "'", boolean73 == true); org.junit.Assert.assertTrue("'" + booleanLiteralSet74 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE + "'", booleanLiteralSet74.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE)); org.junit.Assert.assertTrue("'" + booleanLiteralSet75 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE + "'", booleanLiteralSet75.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE)); org.junit.Assert.assertTrue("'" + boolean77 + "' != '" + true + "'", boolean77 == true); org.junit.Assert.assertTrue("'" + booleanLiteralSet78 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE + "'", booleanLiteralSet78.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE)); org.junit.Assert.assertTrue("'" + boolean80 + "' != '" + true + "'", boolean80 == true); org.junit.Assert.assertTrue("'" + boolean82 + "' != '" + true + "'", boolean82 == true); org.junit.Assert.assertTrue("'" + booleanLiteralSet83 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE + "'", booleanLiteralSet83.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE)); org.junit.Assert.assertTrue("'" + booleanLiteralSet84 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE + "'", booleanLiteralSet84.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE)); org.junit.Assert.assertTrue("'" + boolean86 + "' != '" + true + "'", boolean86 == true); org.junit.Assert.assertTrue("'" + booleanLiteralSet87 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE + "'", booleanLiteralSet87.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE)); org.junit.Assert.assertTrue("'" + boolean89 + "' != '" + true + "'", boolean89 == true); org.junit.Assert.assertTrue("'" + boolean91 + "' != '" + true + "'", boolean91 == true); org.junit.Assert.assertTrue("'" + booleanLiteralSet92 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE + "'", booleanLiteralSet92.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE)); org.junit.Assert.assertNotNull(booleanLiteralSetEnumList93); org.junit.Assert.assertNotNull(booleanLiteralSetEnumList94); org.junit.Assert.assertTrue("'" + boolean96 + "' != '" + false + "'", boolean96 == false); org.junit.Assert.assertTrue("'" + boolean97 + "' != '" + false + "'", boolean97 == false); org.junit.Assert.assertEquals("'" + str98 + "' != '" + "" + "'", str98, ""); } @Test public void test4563() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4563"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.ErrorReporter errorReporter2 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry3 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter2); com.google.javascript.rhino.jstype.ObjectType objectType4 = null; com.google.javascript.rhino.jstype.JSType jSType5 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray6 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList7 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean8 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList7, jSTypeArray6); com.google.javascript.rhino.jstype.JSType jSType9 = jSTypeRegistry3.createFunctionTypeWithVarArgs(objectType4, jSType5, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList7); boolean boolean10 = jSType9.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter12 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry13 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter12); com.google.javascript.rhino.jstype.ObjectType objectType14 = null; com.google.javascript.rhino.jstype.JSType jSType15 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray16 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList17 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean18 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList17, jSTypeArray16); com.google.javascript.rhino.jstype.JSType jSType19 = jSTypeRegistry13.createFunctionTypeWithVarArgs(objectType14, jSType15, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList17); boolean boolean20 = jSType19.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType21 = jSType19.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter22 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry23 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter22); com.google.javascript.rhino.jstype.ObjectType objectType24 = null; com.google.javascript.rhino.jstype.JSType jSType25 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray26 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList27 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean28 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList27, jSTypeArray26); com.google.javascript.rhino.jstype.JSType jSType29 = jSTypeRegistry23.createFunctionTypeWithVarArgs(objectType24, jSType25, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList27); boolean boolean30 = jSType29.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType31 = jSType29.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter32 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry33 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter32); com.google.javascript.rhino.jstype.ObjectType objectType34 = null; com.google.javascript.rhino.jstype.JSType jSType35 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray36 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList37 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean38 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList37, jSTypeArray36); com.google.javascript.rhino.jstype.JSType jSType39 = jSTypeRegistry33.createFunctionTypeWithVarArgs(objectType34, jSType35, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList37); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); boolean boolean48 = jSType47.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType49 = jSType47.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter50 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry51 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter50); com.google.javascript.rhino.jstype.ObjectType objectType52 = null; com.google.javascript.rhino.jstype.JSType jSType53 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray54 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList55 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean56 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList55, jSTypeArray54); com.google.javascript.rhino.jstype.JSType jSType57 = jSTypeRegistry51.createFunctionTypeWithVarArgs(objectType52, jSType53, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList55); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); boolean boolean66 = jSType65.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType67 = jSType65.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray68 = new com.google.javascript.rhino.jstype.JSType[] { jSType21, jSType29, jSType35, jSType49, jSType57, objectType67 }; com.google.javascript.rhino.jstype.FunctionType functionType69 = jSTypeRegistry1.createConstructorType(jSType9, false, jSTypeArray68); com.google.javascript.rhino.jstype.FunctionType functionType70 = functionType69.getOwnerFunction(); java.lang.Iterable<com.google.javascript.rhino.jstype.ObjectType> objectTypeIterable71 = functionType69.getImplementedInterfaces(); int int72 = functionType69.getExtendedInterfacesCount(); com.google.javascript.rhino.jstype.ObjectType objectType73 = functionType69.getInstanceType(); org.junit.Assert.assertNotNull(jSTypeArray6); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSType9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNotNull(jSTypeArray16); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSType19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(jSType21); org.junit.Assert.assertNotNull(jSTypeArray26); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(jSType31); org.junit.Assert.assertNotNull(jSTypeArray36); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(jSType49); org.junit.Assert.assertNotNull(jSTypeArray54); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertNotNull(objectType67); org.junit.Assert.assertNotNull(jSTypeArray68); org.junit.Assert.assertNotNull(functionType69); org.junit.Assert.assertNull(functionType70); org.junit.Assert.assertNotNull(objectTypeIterable71); org.junit.Assert.assertTrue("'" + int72 + "' != '" + 0 + "'", int72 == 0); org.junit.Assert.assertNotNull(objectType73); } @Test public void test4564() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4564"); com.google.javascript.rhino.JSDocInfo jSDocInfo0 = new com.google.javascript.rhino.JSDocInfo(); java.lang.String str1 = jSDocInfo0.getOriginalCommentString(); boolean boolean2 = jSDocInfo0.hasReturnType(); boolean boolean3 = jSDocInfo0.isConsistentIdGenerator(); java.lang.String str4 = jSDocInfo0.getVersion(); boolean boolean5 = jSDocInfo0.isExpose(); com.google.javascript.rhino.JSTypeExpression jSTypeExpression6 = jSDocInfo0.getBaseType(); boolean boolean7 = jSDocInfo0.isNoSideEffects(); java.lang.String str8 = jSDocInfo0.toString(); boolean boolean9 = jSDocInfo0.isInterface(); org.junit.Assert.assertNull(str1); org.junit.Assert.assertTrue("'" + boolean2 + "' != '" + false + "'", boolean2 == false); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertNull(str4); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNull(jSTypeExpression6); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertEquals("'" + str8 + "' != '" + "JSDocInfo" + "'", str8, "JSDocInfo"); org.junit.Assert.assertTrue("'" + boolean9 + "' != '" + false + "'", boolean9 == false); } @Test public void test4565() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4565"); com.google.javascript.rhino.Node node1 = new com.google.javascript.rhino.Node((int) (byte) -1); boolean boolean2 = node1.isNoSideEffectsCall(); org.junit.Assert.assertTrue("'" + boolean2 + "' != '" + false + "'", boolean2 == false); } @Test public void test4566() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4566"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.ErrorReporter errorReporter2 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry3 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter2); com.google.javascript.rhino.jstype.ObjectType objectType4 = null; com.google.javascript.rhino.jstype.JSType jSType5 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray6 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList7 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean8 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList7, jSTypeArray6); com.google.javascript.rhino.jstype.JSType jSType9 = jSTypeRegistry3.createFunctionTypeWithVarArgs(objectType4, jSType5, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList7); boolean boolean10 = jSType9.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter12 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry13 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter12); com.google.javascript.rhino.jstype.ObjectType objectType14 = null; com.google.javascript.rhino.jstype.JSType jSType15 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray16 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList17 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean18 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList17, jSTypeArray16); com.google.javascript.rhino.jstype.JSType jSType19 = jSTypeRegistry13.createFunctionTypeWithVarArgs(objectType14, jSType15, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList17); boolean boolean20 = jSType19.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType21 = jSType19.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter22 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry23 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter22); com.google.javascript.rhino.jstype.ObjectType objectType24 = null; com.google.javascript.rhino.jstype.JSType jSType25 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray26 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList27 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean28 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList27, jSTypeArray26); com.google.javascript.rhino.jstype.JSType jSType29 = jSTypeRegistry23.createFunctionTypeWithVarArgs(objectType24, jSType25, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList27); boolean boolean30 = jSType29.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType31 = jSType29.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter32 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry33 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter32); com.google.javascript.rhino.jstype.ObjectType objectType34 = null; com.google.javascript.rhino.jstype.JSType jSType35 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray36 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList37 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean38 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList37, jSTypeArray36); com.google.javascript.rhino.jstype.JSType jSType39 = jSTypeRegistry33.createFunctionTypeWithVarArgs(objectType34, jSType35, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList37); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); boolean boolean48 = jSType47.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType49 = jSType47.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter50 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry51 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter50); com.google.javascript.rhino.jstype.ObjectType objectType52 = null; com.google.javascript.rhino.jstype.JSType jSType53 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray54 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList55 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean56 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList55, jSTypeArray54); com.google.javascript.rhino.jstype.JSType jSType57 = jSTypeRegistry51.createFunctionTypeWithVarArgs(objectType52, jSType53, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList55); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); boolean boolean66 = jSType65.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType67 = jSType65.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray68 = new com.google.javascript.rhino.jstype.JSType[] { jSType21, jSType29, jSType35, jSType49, jSType57, objectType67 }; com.google.javascript.rhino.jstype.FunctionType functionType69 = jSTypeRegistry1.createConstructorType(jSType9, false, jSTypeArray68); boolean boolean70 = functionType69.hasReferenceName(); boolean boolean72 = functionType69.isPropertyInExterns("Not declared as a constructor"); boolean boolean74 = functionType69.isPropertyTypeInferred(""); java.util.Set<java.lang.String> strSet75 = functionType69.getPropertyNames(); com.google.javascript.rhino.jstype.JSType jSType77 = functionType69.getPropertyType("[]"); com.google.javascript.rhino.Node node79 = functionType69.getPropertyNode("STRING Not declared as a constructor"); com.google.javascript.rhino.JSDocInfo jSDocInfo81 = new com.google.javascript.rhino.JSDocInfo(); java.lang.String str82 = jSDocInfo81.getDescription(); boolean boolean83 = jSDocInfo81.isInterface(); java.lang.String str84 = jSDocInfo81.getOriginalCommentString(); functionType69.setPropertyJSDocInfo("OR\n", jSDocInfo81); com.google.javascript.rhino.jstype.FunctionType functionType86 = functionType69.cloneWithoutArrowType(); java.util.List<com.google.javascript.rhino.jstype.FunctionType> functionTypeList87 = functionType86.getSubTypes(); org.junit.Assert.assertNotNull(jSTypeArray6); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSType9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNotNull(jSTypeArray16); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSType19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(jSType21); org.junit.Assert.assertNotNull(jSTypeArray26); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(jSType31); org.junit.Assert.assertNotNull(jSTypeArray36); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(jSType49); org.junit.Assert.assertNotNull(jSTypeArray54); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertNotNull(objectType67); org.junit.Assert.assertNotNull(jSTypeArray68); org.junit.Assert.assertNotNull(functionType69); org.junit.Assert.assertTrue("'" + boolean70 + "' != '" + false + "'", boolean70 == false); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertTrue("'" + boolean74 + "' != '" + false + "'", boolean74 == false); org.junit.Assert.assertNotNull(strSet75); org.junit.Assert.assertNotNull(jSType77); org.junit.Assert.assertNull(node79); org.junit.Assert.assertNull(str82); org.junit.Assert.assertTrue("'" + boolean83 + "' != '" + false + "'", boolean83 == false); org.junit.Assert.assertNull(str84); org.junit.Assert.assertNotNull(functionType86); org.junit.Assert.assertNull(functionTypeList87); } @Test public void test4567() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4567"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); com.google.javascript.rhino.ErrorReporter errorReporter8 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry9 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter8); com.google.javascript.rhino.jstype.ObjectType objectType10 = null; com.google.javascript.rhino.jstype.JSType jSType11 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray12 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList13 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean14 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList13, jSTypeArray12); com.google.javascript.rhino.jstype.JSType jSType15 = jSTypeRegistry9.createFunctionTypeWithVarArgs(objectType10, jSType11, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList13); com.google.javascript.rhino.ErrorReporter errorReporter16 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry17 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter16); com.google.javascript.rhino.jstype.ObjectType objectType18 = null; com.google.javascript.rhino.jstype.JSType jSType19 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray20 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList21 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean22 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList21, jSTypeArray20); com.google.javascript.rhino.jstype.JSType jSType23 = jSTypeRegistry17.createFunctionTypeWithVarArgs(objectType18, jSType19, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList21); boolean boolean24 = jSType23.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType25 = jSType23.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter26 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry27 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter26); com.google.javascript.rhino.jstype.ObjectType objectType28 = null; com.google.javascript.rhino.jstype.JSType jSType29 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray30 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList31 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean32 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList31, jSTypeArray30); com.google.javascript.rhino.jstype.JSType jSType33 = jSTypeRegistry27.createFunctionTypeWithVarArgs(objectType28, jSType29, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList31); com.google.javascript.rhino.jstype.JSType[] jSTypeArray34 = new com.google.javascript.rhino.jstype.JSType[] { jSType11, jSType25, objectType28 }; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList35 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean36 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList35, jSTypeArray34); boolean boolean37 = jSTypeList5.containsAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList35); java.util.Iterator<com.google.javascript.rhino.jstype.JSType> jSTypeItor38 = jSTypeList5.iterator(); java.util.stream.Stream<com.google.javascript.rhino.jstype.JSType> jSTypeStream39 = jSTypeList5.stream(); java.util.stream.Stream<com.google.javascript.rhino.jstype.JSType> jSTypeStream40 = jSTypeList5.parallelStream(); com.google.javascript.rhino.Node node43 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean44 = node43.isLabelName(); java.util.Set<java.lang.String> strSet45 = node43.getDirectives(); com.google.javascript.rhino.Node node47 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean48 = node47.isLabelName(); com.google.javascript.rhino.Node[] nodeArray49 = new com.google.javascript.rhino.Node[] { node43, node47 }; com.google.javascript.rhino.Node node52 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray49, 50, 50); com.google.javascript.rhino.Node node54 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node52.addChildToFront(node54); com.google.javascript.rhino.Node node56 = node54.detachFromParent(); boolean boolean57 = jSTypeList5.remove((java.lang.Object) node56); boolean boolean58 = node56.isCatch(); node56.detachChildren(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertNotNull(jSTypeArray12); org.junit.Assert.assertTrue("'" + boolean14 + "' != '" + false + "'", boolean14 == false); org.junit.Assert.assertNotNull(jSType15); org.junit.Assert.assertNotNull(jSTypeArray20); org.junit.Assert.assertTrue("'" + boolean22 + "' != '" + false + "'", boolean22 == false); org.junit.Assert.assertNotNull(jSType23); org.junit.Assert.assertTrue("'" + boolean24 + "' != '" + false + "'", boolean24 == false); org.junit.Assert.assertNotNull(jSType25); org.junit.Assert.assertNotNull(jSTypeArray30); org.junit.Assert.assertTrue("'" + boolean32 + "' != '" + false + "'", boolean32 == false); org.junit.Assert.assertNotNull(jSType33); org.junit.Assert.assertNotNull(jSTypeArray34); org.junit.Assert.assertTrue("'" + boolean36 + "' != '" + true + "'", boolean36 == true); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSTypeItor38); org.junit.Assert.assertNotNull(jSTypeStream39); org.junit.Assert.assertNotNull(jSTypeStream40); org.junit.Assert.assertNotNull(node43); org.junit.Assert.assertTrue("'" + boolean44 + "' != '" + false + "'", boolean44 == false); org.junit.Assert.assertNull(strSet45); org.junit.Assert.assertNotNull(node47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(nodeArray49); org.junit.Assert.assertNotNull(node54); org.junit.Assert.assertNotNull(node56); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertTrue("'" + boolean58 + "' != '" + false + "'", boolean58 == false); } @Test public void test4568() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4568"); com.google.javascript.rhino.JSDocInfo jSDocInfo0 = new com.google.javascript.rhino.JSDocInfo(); boolean boolean1 = jSDocInfo0.hasTypedefType(); boolean boolean2 = jSDocInfo0.hasFileOverview(); boolean boolean3 = jSDocInfo0.hasType(); java.lang.String str4 = jSDocInfo0.getMeaning(); int int5 = jSDocInfo0.getImplementedInterfaceCount(); boolean boolean7 = jSDocInfo0.hasParameter("function (): {246669154}"); boolean boolean8 = jSDocInfo0.isNoAlias(); com.google.javascript.rhino.JSTypeExpression jSTypeExpression9 = jSDocInfo0.getBaseType(); java.lang.String str10 = jSDocInfo0.getMeaning(); org.junit.Assert.assertTrue("'" + boolean1 + "' != '" + false + "'", boolean1 == false); org.junit.Assert.assertTrue("'" + boolean2 + "' != '" + false + "'", boolean2 == false); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertNull(str4); org.junit.Assert.assertTrue("'" + int5 + "' != '" + 0 + "'", int5 == 0); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNull(jSTypeExpression9); org.junit.Assert.assertNull(str10); } @Test public void test4569() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4569"); com.google.javascript.rhino.jstype.TernaryValue ternaryValue1 = com.google.javascript.rhino.jstype.TernaryValue.forBoolean(true); com.google.javascript.rhino.jstype.TernaryValue ternaryValue3 = com.google.javascript.rhino.jstype.TernaryValue.forBoolean(true); com.google.javascript.rhino.jstype.TernaryValue ternaryValue5 = com.google.javascript.rhino.jstype.TernaryValue.forBoolean(true); com.google.javascript.rhino.jstype.TernaryValue ternaryValue6 = ternaryValue3.or(ternaryValue5); com.google.javascript.rhino.jstype.TernaryValue ternaryValue7 = ternaryValue5.not(); java.lang.String str8 = ternaryValue5.toString(); com.google.javascript.rhino.jstype.TernaryValue ternaryValue9 = ternaryValue5.not(); com.google.javascript.rhino.jstype.TernaryValue ternaryValue10 = com.google.javascript.rhino.jstype.TernaryValue.UNKNOWN; com.google.javascript.rhino.jstype.TernaryValue ternaryValue11 = ternaryValue5.and(ternaryValue10); com.google.javascript.rhino.jstype.TernaryValue ternaryValue12 = ternaryValue1.or(ternaryValue10); boolean boolean14 = ternaryValue12.toBoolean(false); org.junit.Assert.assertNotNull(ternaryValue1); org.junit.Assert.assertNotNull(ternaryValue3); org.junit.Assert.assertNotNull(ternaryValue5); org.junit.Assert.assertNotNull(ternaryValue6); org.junit.Assert.assertNotNull(ternaryValue7); org.junit.Assert.assertEquals("'" + str8 + "' != '" + "true" + "'", str8, "true"); org.junit.Assert.assertNotNull(ternaryValue9); org.junit.Assert.assertNotNull(ternaryValue10); org.junit.Assert.assertNotNull(ternaryValue11); org.junit.Assert.assertNotNull(ternaryValue12); org.junit.Assert.assertTrue("'" + boolean14 + "' != '" + true + "'", boolean14 == true); } @Test public void test4570() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4570"); java.lang.String[] strArray2 = new java.lang.String[] { "Not declared as a constructor", "function (): {889988203}" }; java.util.LinkedHashSet<java.lang.String> strSet3 = new java.util.LinkedHashSet<java.lang.String>(); boolean boolean4 = java.util.Collections.addAll((java.util.Collection<java.lang.String>) strSet3, strArray2); java.util.Iterator<java.lang.String> strItor5 = strSet3.iterator(); boolean boolean7 = strSet3.add("InputId: []"); com.google.javascript.jscomp.CodingConvention.SubclassType subclassType8 = com.google.javascript.jscomp.CodingConvention.SubclassType.MIXIN; com.google.javascript.rhino.Node node11 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean12 = node11.isLabelName(); java.util.Set<java.lang.String> strSet13 = node11.getDirectives(); com.google.javascript.rhino.Node node15 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean16 = node15.isLabelName(); com.google.javascript.rhino.Node[] nodeArray17 = new com.google.javascript.rhino.Node[] { node11, node15 }; com.google.javascript.rhino.Node node20 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray17, 50, 50); com.google.javascript.rhino.Node node22 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node20.addChildToFront(node22); boolean boolean24 = node20.isNew(); node20.setLineno((int) (short) 10); com.google.javascript.rhino.Node node28 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node29 = com.google.javascript.jscomp.NodeUtil.newExpr(node28); com.google.javascript.jscomp.CodingConvention.SubclassRelationship subclassRelationship30 = new com.google.javascript.jscomp.CodingConvention.SubclassRelationship(subclassType8, node20, node29); boolean boolean31 = strSet3.equals((java.lang.Object) subclassRelationship30); boolean boolean32 = strSet3.isEmpty(); com.google.javascript.rhino.Node node34 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean35 = node34.isLabelName(); boolean boolean36 = node34.isInc(); com.google.javascript.rhino.Node node39 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean40 = node39.isLabelName(); java.util.Set<java.lang.String> strSet41 = node39.getDirectives(); com.google.javascript.rhino.Node node43 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean44 = node43.isLabelName(); com.google.javascript.rhino.Node[] nodeArray45 = new com.google.javascript.rhino.Node[] { node39, node43 }; com.google.javascript.rhino.Node node48 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray45, 50, 50); com.google.javascript.rhino.Node node50 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node48.addChildToFront(node50); com.google.javascript.rhino.Node node52 = node50.detachFromParent(); com.google.javascript.rhino.Node node53 = node50.getNext(); com.google.javascript.rhino.Node node54 = node34.useSourceInfoIfMissingFrom(node50); boolean boolean55 = node34.isExprResult(); boolean boolean56 = node34.isCall(); node34.setWasEmptyNode(true); boolean boolean59 = node34.isAssign(); boolean boolean60 = strSet3.remove((java.lang.Object) node34); java.lang.Object obj61 = null; boolean boolean62 = strSet3.equals(obj61); org.junit.Assert.assertNotNull(strArray2); org.junit.Assert.assertTrue("'" + boolean4 + "' != '" + true + "'", boolean4 == true); org.junit.Assert.assertNotNull(strItor5); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + true + "'", boolean7 == true); org.junit.Assert.assertTrue("'" + subclassType8 + "' != '" + com.google.javascript.jscomp.CodingConvention.SubclassType.MIXIN + "'", subclassType8.equals(com.google.javascript.jscomp.CodingConvention.SubclassType.MIXIN)); org.junit.Assert.assertNotNull(node11); org.junit.Assert.assertTrue("'" + boolean12 + "' != '" + false + "'", boolean12 == false); org.junit.Assert.assertNull(strSet13); org.junit.Assert.assertNotNull(node15); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertNotNull(nodeArray17); org.junit.Assert.assertNotNull(node22); org.junit.Assert.assertTrue("'" + boolean24 + "' != '" + false + "'", boolean24 == false); org.junit.Assert.assertNotNull(node28); org.junit.Assert.assertNotNull(node29); org.junit.Assert.assertTrue("'" + boolean31 + "' != '" + false + "'", boolean31 == false); org.junit.Assert.assertTrue("'" + boolean32 + "' != '" + false + "'", boolean32 == false); org.junit.Assert.assertNotNull(node34); org.junit.Assert.assertTrue("'" + boolean35 + "' != '" + false + "'", boolean35 == false); org.junit.Assert.assertTrue("'" + boolean36 + "' != '" + false + "'", boolean36 == false); org.junit.Assert.assertNotNull(node39); org.junit.Assert.assertTrue("'" + boolean40 + "' != '" + false + "'", boolean40 == false); org.junit.Assert.assertNull(strSet41); org.junit.Assert.assertNotNull(node43); org.junit.Assert.assertTrue("'" + boolean44 + "' != '" + false + "'", boolean44 == false); org.junit.Assert.assertNotNull(nodeArray45); org.junit.Assert.assertNotNull(node50); org.junit.Assert.assertNotNull(node52); org.junit.Assert.assertNull(node53); org.junit.Assert.assertNotNull(node54); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertTrue("'" + boolean59 + "' != '" + false + "'", boolean59 == false); org.junit.Assert.assertTrue("'" + boolean60 + "' != '" + false + "'", boolean60 == false); org.junit.Assert.assertTrue("'" + boolean62 + "' != '" + false + "'", boolean62 == false); } @Test public void test4571() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4571"); com.google.javascript.rhino.Node node3 = new com.google.javascript.rhino.Node(50, 1, 0); com.google.javascript.rhino.Node node6 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean7 = node6.isLabelName(); java.util.Set<java.lang.String> strSet8 = node6.getDirectives(); com.google.javascript.rhino.Node node10 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean11 = node10.isLabelName(); com.google.javascript.rhino.Node[] nodeArray12 = new com.google.javascript.rhino.Node[] { node6, node10 }; com.google.javascript.rhino.Node node15 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray12, 50, 50); com.google.javascript.rhino.Node node17 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node15.addChildToFront(node17); boolean boolean19 = node15.isNew(); com.google.javascript.rhino.JSDocInfo jSDocInfo20 = node15.getJSDocInfo(); node3.addChildrenToFront(node15); com.google.javascript.rhino.Node node22 = node3.removeFirstChild(); boolean boolean23 = node3.hasMoreThanOneChild(); node3.setVarArgs(false); boolean boolean26 = node3.isLabel(); com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec assertionFunctionSpec28 = new com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec("hi!"); java.lang.String str29 = assertionFunctionSpec28.getFunctionName(); com.google.javascript.rhino.Node node32 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean33 = node32.isLabelName(); com.google.javascript.rhino.Node node36 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean37 = node36.isLabelName(); java.util.Set<java.lang.String> strSet38 = node36.getDirectives(); com.google.javascript.rhino.Node node40 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean41 = node40.isLabelName(); com.google.javascript.rhino.Node[] nodeArray42 = new com.google.javascript.rhino.Node[] { node36, node40 }; com.google.javascript.rhino.Node node45 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray42, 50, 50); boolean boolean46 = node32.isEquivalentTo(node45); com.google.javascript.rhino.Node node47 = new com.google.javascript.rhino.Node(50, node45); com.google.javascript.rhino.Node node49 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node50 = com.google.javascript.jscomp.NodeUtil.newExpr(node49); boolean boolean51 = node49.isScript(); com.google.javascript.rhino.Node node52 = node47.useSourceInfoIfMissingFrom(node49); com.google.javascript.rhino.Node node53 = assertionFunctionSpec28.getAssertedParam(node47); node3.addChildToBack(node53); com.google.javascript.rhino.Node node57 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean58 = node57.isLabelName(); java.util.Set<java.lang.String> strSet59 = node57.getDirectives(); com.google.javascript.rhino.Node node61 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean62 = node61.isLabelName(); com.google.javascript.rhino.Node[] nodeArray63 = new com.google.javascript.rhino.Node[] { node57, node61 }; com.google.javascript.rhino.Node node66 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray63, 50, 50); com.google.javascript.rhino.Node node68 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node66.addChildToFront(node68); boolean boolean70 = node66.isNew(); node66.setLength(0); com.google.javascript.rhino.Node node75 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean76 = node75.isLabelName(); java.util.Set<java.lang.String> strSet77 = node75.getDirectives(); com.google.javascript.rhino.Node node79 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean80 = node79.isLabelName(); com.google.javascript.rhino.Node[] nodeArray81 = new com.google.javascript.rhino.Node[] { node75, node79 }; com.google.javascript.rhino.Node node84 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray81, 50, 50); com.google.javascript.rhino.Node node86 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node84.addChildToFront(node86); boolean boolean88 = node84.isNew(); com.google.javascript.rhino.Node node90 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node91 = node84.useSourceInfoFrom(node90); int int92 = node90.getSourcePosition(); boolean boolean93 = node90.isTypeOf(); boolean boolean94 = node66.hasChild(node90); node53.addChildrenToBack(node66); org.junit.Assert.assertNotNull(node6); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertNull(strSet8); org.junit.Assert.assertNotNull(node10); org.junit.Assert.assertTrue("'" + boolean11 + "' != '" + false + "'", boolean11 == false); org.junit.Assert.assertNotNull(nodeArray12); org.junit.Assert.assertNotNull(node17); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNull(jSDocInfo20); org.junit.Assert.assertNotNull(node22); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + false + "'", boolean23 == false); org.junit.Assert.assertTrue("'" + boolean26 + "' != '" + false + "'", boolean26 == false); org.junit.Assert.assertEquals("'" + str29 + "' != '" + "hi!" + "'", str29, "hi!"); org.junit.Assert.assertNotNull(node32); org.junit.Assert.assertTrue("'" + boolean33 + "' != '" + false + "'", boolean33 == false); org.junit.Assert.assertNotNull(node36); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNull(strSet38); org.junit.Assert.assertNotNull(node40); org.junit.Assert.assertTrue("'" + boolean41 + "' != '" + false + "'", boolean41 == false); org.junit.Assert.assertNotNull(nodeArray42); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(node49); org.junit.Assert.assertNotNull(node50); org.junit.Assert.assertTrue("'" + boolean51 + "' != '" + false + "'", boolean51 == false); org.junit.Assert.assertNotNull(node52); org.junit.Assert.assertNotNull(node53); org.junit.Assert.assertNotNull(node57); org.junit.Assert.assertTrue("'" + boolean58 + "' != '" + false + "'", boolean58 == false); org.junit.Assert.assertNull(strSet59); org.junit.Assert.assertNotNull(node61); org.junit.Assert.assertTrue("'" + boolean62 + "' != '" + false + "'", boolean62 == false); org.junit.Assert.assertNotNull(nodeArray63); org.junit.Assert.assertNotNull(node68); org.junit.Assert.assertTrue("'" + boolean70 + "' != '" + false + "'", boolean70 == false); org.junit.Assert.assertNotNull(node75); org.junit.Assert.assertTrue("'" + boolean76 + "' != '" + false + "'", boolean76 == false); org.junit.Assert.assertNull(strSet77); org.junit.Assert.assertNotNull(node79); org.junit.Assert.assertTrue("'" + boolean80 + "' != '" + false + "'", boolean80 == false); org.junit.Assert.assertNotNull(nodeArray81); org.junit.Assert.assertNotNull(node86); org.junit.Assert.assertTrue("'" + boolean88 + "' != '" + false + "'", boolean88 == false); org.junit.Assert.assertNotNull(node90); org.junit.Assert.assertNotNull(node91); org.junit.Assert.assertTrue("'" + int92 + "' != '" + (-1) + "'", int92 == (-1)); org.junit.Assert.assertTrue("'" + boolean93 + "' != '" + false + "'", boolean93 == false); org.junit.Assert.assertTrue("'" + boolean94 + "' != '" + false + "'", boolean94 == false); } @Test public void test4572() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4572"); com.google.javascript.rhino.JSDocInfo jSDocInfo0 = new com.google.javascript.rhino.JSDocInfo(); boolean boolean1 = jSDocInfo0.hasTypedefType(); java.util.Collection<java.lang.String> strCollection2 = jSDocInfo0.getReferences(); boolean boolean3 = jSDocInfo0.hasTypedefType(); java.lang.String str5 = jSDocInfo0.getDescriptionForParameter("java.io.IOException: java.io.IOException: "); com.google.javascript.rhino.Node node9 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean10 = node9.isLabelName(); java.util.Set<java.lang.String> strSet11 = node9.getDirectives(); com.google.javascript.rhino.Node node13 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean14 = node13.isLabelName(); com.google.javascript.rhino.Node[] nodeArray15 = new com.google.javascript.rhino.Node[] { node9, node13 }; com.google.javascript.rhino.Node node18 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray15, 50, 50); com.google.javascript.rhino.Node node20 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node18.addChildToFront(node20); boolean boolean22 = node20.isDefaultCase(); com.google.javascript.rhino.Node node23 = node20.getParent(); com.google.javascript.rhino.Node node26 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean27 = node26.isLabelName(); java.util.Set<java.lang.String> strSet28 = node26.getDirectives(); com.google.javascript.rhino.Node node30 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean31 = node30.isLabelName(); com.google.javascript.rhino.Node[] nodeArray32 = new com.google.javascript.rhino.Node[] { node26, node30 }; com.google.javascript.rhino.Node node35 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray32, 50, 50); com.google.javascript.rhino.Node node37 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node35.addChildToFront(node37); boolean boolean39 = node35.isNew(); com.google.javascript.rhino.JSDocInfo jSDocInfo40 = node35.getJSDocInfo(); com.google.javascript.rhino.Node node43 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean44 = node43.isLabelName(); java.util.Set<java.lang.String> strSet45 = node43.getDirectives(); com.google.javascript.rhino.Node node47 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean48 = node47.isLabelName(); com.google.javascript.rhino.Node[] nodeArray49 = new com.google.javascript.rhino.Node[] { node43, node47 }; com.google.javascript.rhino.Node node52 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray49, 50, 50); com.google.javascript.rhino.Node node54 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node52.addChildToFront(node54); com.google.javascript.rhino.Node node56 = node54.detachFromParent(); com.google.javascript.rhino.Node node59 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean60 = node59.isLabelName(); java.util.Set<java.lang.String> strSet61 = node59.getDirectives(); com.google.javascript.rhino.Node node63 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean64 = node63.isLabelName(); com.google.javascript.rhino.Node[] nodeArray65 = new com.google.javascript.rhino.Node[] { node59, node63 }; com.google.javascript.rhino.Node node68 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray65, 50, 50); com.google.javascript.rhino.Node node70 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node68.addChildToFront(node70); boolean boolean72 = node68.isNew(); com.google.javascript.rhino.Node node74 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node75 = node68.useSourceInfoFrom(node74); boolean boolean76 = node68.isFromExterns(); com.google.javascript.rhino.Node node77 = new com.google.javascript.rhino.Node((int) (byte) 100, node23, node35, node54, node68); com.google.javascript.rhino.Node node78 = node54.cloneTree(); boolean boolean79 = node78.wasEmptyNode(); boolean boolean80 = node78.isVoid(); jSDocInfo0.setAssociatedNode(node78); boolean boolean82 = node78.isFor(); org.junit.Assert.assertTrue("'" + boolean1 + "' != '" + false + "'", boolean1 == false); org.junit.Assert.assertNull(strCollection2); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertNull(str5); org.junit.Assert.assertNotNull(node9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNull(strSet11); org.junit.Assert.assertNotNull(node13); org.junit.Assert.assertTrue("'" + boolean14 + "' != '" + false + "'", boolean14 == false); org.junit.Assert.assertNotNull(nodeArray15); org.junit.Assert.assertNotNull(node20); org.junit.Assert.assertTrue("'" + boolean22 + "' != '" + false + "'", boolean22 == false); org.junit.Assert.assertNotNull(node23); org.junit.Assert.assertNotNull(node26); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNull(strSet28); org.junit.Assert.assertNotNull(node30); org.junit.Assert.assertTrue("'" + boolean31 + "' != '" + false + "'", boolean31 == false); org.junit.Assert.assertNotNull(nodeArray32); org.junit.Assert.assertNotNull(node37); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNull(jSDocInfo40); org.junit.Assert.assertNotNull(node43); org.junit.Assert.assertTrue("'" + boolean44 + "' != '" + false + "'", boolean44 == false); org.junit.Assert.assertNull(strSet45); org.junit.Assert.assertNotNull(node47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(nodeArray49); org.junit.Assert.assertNotNull(node54); org.junit.Assert.assertNotNull(node56); org.junit.Assert.assertNotNull(node59); org.junit.Assert.assertTrue("'" + boolean60 + "' != '" + false + "'", boolean60 == false); org.junit.Assert.assertNull(strSet61); org.junit.Assert.assertNotNull(node63); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(nodeArray65); org.junit.Assert.assertNotNull(node70); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertNotNull(node74); org.junit.Assert.assertNotNull(node75); org.junit.Assert.assertTrue("'" + boolean76 + "' != '" + false + "'", boolean76 == false); org.junit.Assert.assertNotNull(node78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + false + "'", boolean79 == false); org.junit.Assert.assertTrue("'" + boolean80 + "' != '" + false + "'", boolean80 == false); org.junit.Assert.assertTrue("'" + boolean82 + "' != '" + false + "'", boolean82 == false); } @Test public void test4573() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4573"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); boolean boolean8 = jSType7.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter9 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry10 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter9); com.google.javascript.rhino.ErrorReporter errorReporter11 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry12 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter11); com.google.javascript.rhino.jstype.ObjectType objectType13 = null; com.google.javascript.rhino.jstype.JSType jSType14 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray15 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList16 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean17 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList16, jSTypeArray15); com.google.javascript.rhino.jstype.JSType jSType18 = jSTypeRegistry12.createFunctionTypeWithVarArgs(objectType13, jSType14, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList16); boolean boolean19 = jSType18.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter21 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry22 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter21); com.google.javascript.rhino.jstype.ObjectType objectType23 = null; com.google.javascript.rhino.jstype.JSType jSType24 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray25 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList26 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean27 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList26, jSTypeArray25); com.google.javascript.rhino.jstype.JSType jSType28 = jSTypeRegistry22.createFunctionTypeWithVarArgs(objectType23, jSType24, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList26); boolean boolean29 = jSType28.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType30 = jSType28.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter31 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry32 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter31); com.google.javascript.rhino.jstype.ObjectType objectType33 = null; com.google.javascript.rhino.jstype.JSType jSType34 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray35 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList36 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean37 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList36, jSTypeArray35); com.google.javascript.rhino.jstype.JSType jSType38 = jSTypeRegistry32.createFunctionTypeWithVarArgs(objectType33, jSType34, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList36); boolean boolean39 = jSType38.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType40 = jSType38.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter41 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry42 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter41); com.google.javascript.rhino.jstype.ObjectType objectType43 = null; com.google.javascript.rhino.jstype.JSType jSType44 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray45 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList46 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean47 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList46, jSTypeArray45); com.google.javascript.rhino.jstype.JSType jSType48 = jSTypeRegistry42.createFunctionTypeWithVarArgs(objectType43, jSType44, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList46); com.google.javascript.rhino.ErrorReporter errorReporter49 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry50 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter49); com.google.javascript.rhino.jstype.ObjectType objectType51 = null; com.google.javascript.rhino.jstype.JSType jSType52 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray53 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList54 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean55 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList54, jSTypeArray53); com.google.javascript.rhino.jstype.JSType jSType56 = jSTypeRegistry50.createFunctionTypeWithVarArgs(objectType51, jSType52, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList54); boolean boolean57 = jSType56.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType58 = jSType56.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter59 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry60 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter59); com.google.javascript.rhino.jstype.ObjectType objectType61 = null; com.google.javascript.rhino.jstype.JSType jSType62 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray63 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList64 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean65 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList64, jSTypeArray63); com.google.javascript.rhino.jstype.JSType jSType66 = jSTypeRegistry60.createFunctionTypeWithVarArgs(objectType61, jSType62, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList64); com.google.javascript.rhino.ErrorReporter errorReporter67 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry68 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter67); com.google.javascript.rhino.jstype.ObjectType objectType69 = null; com.google.javascript.rhino.jstype.JSType jSType70 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray71 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList72 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean73 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList72, jSTypeArray71); com.google.javascript.rhino.jstype.JSType jSType74 = jSTypeRegistry68.createFunctionTypeWithVarArgs(objectType69, jSType70, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList72); boolean boolean75 = jSType74.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType76 = jSType74.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray77 = new com.google.javascript.rhino.jstype.JSType[] { jSType30, jSType38, jSType44, jSType58, jSType66, objectType76 }; com.google.javascript.rhino.jstype.FunctionType functionType78 = jSTypeRegistry10.createConstructorType(jSType18, false, jSTypeArray77); boolean boolean79 = jSType7.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType78); com.google.javascript.rhino.jstype.StaticSlot staticSlot81 = functionType78.getSlot("Not declared as a constructor"); com.google.javascript.rhino.jstype.StaticScope<com.google.javascript.rhino.jstype.JSType> jSTypeStaticScope82 = functionType78.getParentScope(); functionType78.clearCachedValues(); com.google.javascript.rhino.Node node84 = functionType78.getParametersNode(); boolean boolean85 = node84.isNot(); com.google.javascript.rhino.Node node86 = node84.getFirstChild(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSTypeArray15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(jSType18); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(jSTypeArray25); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(jSType28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(jSType30); org.junit.Assert.assertNotNull(jSTypeArray35); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSType38); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(jSType40); org.junit.Assert.assertNotNull(jSTypeArray45); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(jSType48); org.junit.Assert.assertNotNull(jSTypeArray53); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); org.junit.Assert.assertNotNull(jSType56); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNotNull(jSType58); org.junit.Assert.assertNotNull(jSTypeArray63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(jSType66); org.junit.Assert.assertNotNull(jSTypeArray71); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNotNull(jSType74); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(objectType76); org.junit.Assert.assertNotNull(jSTypeArray77); org.junit.Assert.assertNotNull(functionType78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + true + "'", boolean79 == true); org.junit.Assert.assertNull(staticSlot81); org.junit.Assert.assertNotNull(jSTypeStaticScope82); org.junit.Assert.assertNotNull(node84); org.junit.Assert.assertTrue("'" + boolean85 + "' != '" + false + "'", boolean85 == false); org.junit.Assert.assertNotNull(node86); } @Test public void test4574() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4574"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.ErrorReporter errorReporter2 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry3 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter2); com.google.javascript.rhino.jstype.ObjectType objectType4 = null; com.google.javascript.rhino.jstype.JSType jSType5 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray6 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList7 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean8 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList7, jSTypeArray6); com.google.javascript.rhino.jstype.JSType jSType9 = jSTypeRegistry3.createFunctionTypeWithVarArgs(objectType4, jSType5, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList7); boolean boolean10 = jSType9.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter12 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry13 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter12); com.google.javascript.rhino.jstype.ObjectType objectType14 = null; com.google.javascript.rhino.jstype.JSType jSType15 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray16 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList17 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean18 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList17, jSTypeArray16); com.google.javascript.rhino.jstype.JSType jSType19 = jSTypeRegistry13.createFunctionTypeWithVarArgs(objectType14, jSType15, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList17); boolean boolean20 = jSType19.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType21 = jSType19.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter22 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry23 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter22); com.google.javascript.rhino.jstype.ObjectType objectType24 = null; com.google.javascript.rhino.jstype.JSType jSType25 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray26 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList27 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean28 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList27, jSTypeArray26); com.google.javascript.rhino.jstype.JSType jSType29 = jSTypeRegistry23.createFunctionTypeWithVarArgs(objectType24, jSType25, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList27); boolean boolean30 = jSType29.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType31 = jSType29.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter32 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry33 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter32); com.google.javascript.rhino.jstype.ObjectType objectType34 = null; com.google.javascript.rhino.jstype.JSType jSType35 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray36 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList37 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean38 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList37, jSTypeArray36); com.google.javascript.rhino.jstype.JSType jSType39 = jSTypeRegistry33.createFunctionTypeWithVarArgs(objectType34, jSType35, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList37); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); boolean boolean48 = jSType47.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType49 = jSType47.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter50 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry51 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter50); com.google.javascript.rhino.jstype.ObjectType objectType52 = null; com.google.javascript.rhino.jstype.JSType jSType53 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray54 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList55 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean56 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList55, jSTypeArray54); com.google.javascript.rhino.jstype.JSType jSType57 = jSTypeRegistry51.createFunctionTypeWithVarArgs(objectType52, jSType53, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList55); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); boolean boolean66 = jSType65.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType67 = jSType65.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray68 = new com.google.javascript.rhino.jstype.JSType[] { jSType21, jSType29, jSType35, jSType49, jSType57, objectType67 }; com.google.javascript.rhino.jstype.FunctionType functionType69 = jSTypeRegistry1.createConstructorType(jSType9, false, jSTypeArray68); boolean boolean70 = functionType69.hasReferenceName(); boolean boolean72 = functionType69.isPropertyInExterns("Not declared as a constructor"); boolean boolean74 = functionType69.isPropertyTypeInferred(""); boolean boolean76 = functionType69.hasProperty(""); boolean boolean77 = functionType69.isNumberObjectType(); com.google.javascript.rhino.jstype.FunctionType functionType78 = functionType69.cloneWithoutArrowType(); boolean boolean79 = functionType69.isOrdinaryFunction(); com.google.javascript.rhino.jstype.FunctionType functionType80 = functionType69.getConstructor(); boolean boolean81 = functionType69.isFunctionType(); org.junit.Assert.assertNotNull(jSTypeArray6); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSType9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNotNull(jSTypeArray16); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSType19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(jSType21); org.junit.Assert.assertNotNull(jSTypeArray26); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(jSType31); org.junit.Assert.assertNotNull(jSTypeArray36); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(jSType49); org.junit.Assert.assertNotNull(jSTypeArray54); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertNotNull(objectType67); org.junit.Assert.assertNotNull(jSTypeArray68); org.junit.Assert.assertNotNull(functionType69); org.junit.Assert.assertTrue("'" + boolean70 + "' != '" + false + "'", boolean70 == false); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertTrue("'" + boolean74 + "' != '" + false + "'", boolean74 == false); org.junit.Assert.assertTrue("'" + boolean76 + "' != '" + false + "'", boolean76 == false); org.junit.Assert.assertTrue("'" + boolean77 + "' != '" + false + "'", boolean77 == false); org.junit.Assert.assertNotNull(functionType78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + false + "'", boolean79 == false); org.junit.Assert.assertNull(functionType80); org.junit.Assert.assertTrue("'" + boolean81 + "' != '" + true + "'", boolean81 == true); } @Test public void test4575() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4575"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.ErrorReporter errorReporter2 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry3 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter2); com.google.javascript.rhino.jstype.ObjectType objectType4 = null; com.google.javascript.rhino.jstype.JSType jSType5 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray6 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList7 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean8 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList7, jSTypeArray6); com.google.javascript.rhino.jstype.JSType jSType9 = jSTypeRegistry3.createFunctionTypeWithVarArgs(objectType4, jSType5, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList7); boolean boolean10 = jSType9.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter12 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry13 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter12); com.google.javascript.rhino.jstype.ObjectType objectType14 = null; com.google.javascript.rhino.jstype.JSType jSType15 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray16 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList17 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean18 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList17, jSTypeArray16); com.google.javascript.rhino.jstype.JSType jSType19 = jSTypeRegistry13.createFunctionTypeWithVarArgs(objectType14, jSType15, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList17); boolean boolean20 = jSType19.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType21 = jSType19.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter22 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry23 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter22); com.google.javascript.rhino.jstype.ObjectType objectType24 = null; com.google.javascript.rhino.jstype.JSType jSType25 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray26 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList27 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean28 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList27, jSTypeArray26); com.google.javascript.rhino.jstype.JSType jSType29 = jSTypeRegistry23.createFunctionTypeWithVarArgs(objectType24, jSType25, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList27); boolean boolean30 = jSType29.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType31 = jSType29.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter32 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry33 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter32); com.google.javascript.rhino.jstype.ObjectType objectType34 = null; com.google.javascript.rhino.jstype.JSType jSType35 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray36 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList37 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean38 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList37, jSTypeArray36); com.google.javascript.rhino.jstype.JSType jSType39 = jSTypeRegistry33.createFunctionTypeWithVarArgs(objectType34, jSType35, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList37); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); boolean boolean48 = jSType47.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType49 = jSType47.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter50 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry51 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter50); com.google.javascript.rhino.jstype.ObjectType objectType52 = null; com.google.javascript.rhino.jstype.JSType jSType53 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray54 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList55 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean56 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList55, jSTypeArray54); com.google.javascript.rhino.jstype.JSType jSType57 = jSTypeRegistry51.createFunctionTypeWithVarArgs(objectType52, jSType53, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList55); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); boolean boolean66 = jSType65.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType67 = jSType65.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray68 = new com.google.javascript.rhino.jstype.JSType[] { jSType21, jSType29, jSType35, jSType49, jSType57, objectType67 }; com.google.javascript.rhino.jstype.FunctionType functionType69 = jSTypeRegistry1.createConstructorType(jSType9, false, jSTypeArray68); boolean boolean70 = functionType69.hasReferenceName(); boolean boolean71 = functionType69.isNoType(); boolean boolean72 = functionType69.isNumberObjectType(); boolean boolean73 = functionType69.matchesInt32Context(); boolean boolean74 = functionType69.isOrdinaryFunction(); com.google.javascript.rhino.jstype.JSType jSType76 = functionType69.getPropertyType("hi!"); boolean boolean77 = functionType69.isUnknownType(); org.junit.Assert.assertNotNull(jSTypeArray6); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSType9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNotNull(jSTypeArray16); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSType19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(jSType21); org.junit.Assert.assertNotNull(jSTypeArray26); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(jSType31); org.junit.Assert.assertNotNull(jSTypeArray36); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(jSType49); org.junit.Assert.assertNotNull(jSTypeArray54); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertNotNull(objectType67); org.junit.Assert.assertNotNull(jSTypeArray68); org.junit.Assert.assertNotNull(functionType69); org.junit.Assert.assertTrue("'" + boolean70 + "' != '" + false + "'", boolean70 == false); org.junit.Assert.assertTrue("'" + boolean71 + "' != '" + false + "'", boolean71 == false); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertTrue("'" + boolean74 + "' != '" + false + "'", boolean74 == false); org.junit.Assert.assertNotNull(jSType76); org.junit.Assert.assertTrue("'" + boolean77 + "' != '" + false + "'", boolean77 == false); } @Test public void test4576() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4576"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); boolean boolean8 = jSType7.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter9 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry10 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter9); com.google.javascript.rhino.ErrorReporter errorReporter11 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry12 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter11); com.google.javascript.rhino.jstype.ObjectType objectType13 = null; com.google.javascript.rhino.jstype.JSType jSType14 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray15 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList16 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean17 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList16, jSTypeArray15); com.google.javascript.rhino.jstype.JSType jSType18 = jSTypeRegistry12.createFunctionTypeWithVarArgs(objectType13, jSType14, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList16); boolean boolean19 = jSType18.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter21 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry22 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter21); com.google.javascript.rhino.jstype.ObjectType objectType23 = null; com.google.javascript.rhino.jstype.JSType jSType24 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray25 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList26 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean27 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList26, jSTypeArray25); com.google.javascript.rhino.jstype.JSType jSType28 = jSTypeRegistry22.createFunctionTypeWithVarArgs(objectType23, jSType24, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList26); boolean boolean29 = jSType28.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType30 = jSType28.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter31 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry32 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter31); com.google.javascript.rhino.jstype.ObjectType objectType33 = null; com.google.javascript.rhino.jstype.JSType jSType34 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray35 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList36 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean37 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList36, jSTypeArray35); com.google.javascript.rhino.jstype.JSType jSType38 = jSTypeRegistry32.createFunctionTypeWithVarArgs(objectType33, jSType34, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList36); boolean boolean39 = jSType38.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType40 = jSType38.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter41 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry42 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter41); com.google.javascript.rhino.jstype.ObjectType objectType43 = null; com.google.javascript.rhino.jstype.JSType jSType44 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray45 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList46 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean47 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList46, jSTypeArray45); com.google.javascript.rhino.jstype.JSType jSType48 = jSTypeRegistry42.createFunctionTypeWithVarArgs(objectType43, jSType44, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList46); com.google.javascript.rhino.ErrorReporter errorReporter49 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry50 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter49); com.google.javascript.rhino.jstype.ObjectType objectType51 = null; com.google.javascript.rhino.jstype.JSType jSType52 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray53 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList54 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean55 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList54, jSTypeArray53); com.google.javascript.rhino.jstype.JSType jSType56 = jSTypeRegistry50.createFunctionTypeWithVarArgs(objectType51, jSType52, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList54); boolean boolean57 = jSType56.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType58 = jSType56.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter59 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry60 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter59); com.google.javascript.rhino.jstype.ObjectType objectType61 = null; com.google.javascript.rhino.jstype.JSType jSType62 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray63 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList64 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean65 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList64, jSTypeArray63); com.google.javascript.rhino.jstype.JSType jSType66 = jSTypeRegistry60.createFunctionTypeWithVarArgs(objectType61, jSType62, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList64); com.google.javascript.rhino.ErrorReporter errorReporter67 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry68 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter67); com.google.javascript.rhino.jstype.ObjectType objectType69 = null; com.google.javascript.rhino.jstype.JSType jSType70 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray71 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList72 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean73 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList72, jSTypeArray71); com.google.javascript.rhino.jstype.JSType jSType74 = jSTypeRegistry68.createFunctionTypeWithVarArgs(objectType69, jSType70, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList72); boolean boolean75 = jSType74.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType76 = jSType74.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray77 = new com.google.javascript.rhino.jstype.JSType[] { jSType30, jSType38, jSType44, jSType58, jSType66, objectType76 }; com.google.javascript.rhino.jstype.FunctionType functionType78 = jSTypeRegistry10.createConstructorType(jSType18, false, jSTypeArray77); boolean boolean79 = jSType7.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType78); com.google.javascript.rhino.jstype.StaticSlot staticSlot81 = functionType78.getSlot("Not declared as a constructor"); com.google.javascript.rhino.jstype.StaticScope<com.google.javascript.rhino.jstype.JSType> jSTypeStaticScope82 = functionType78.getParentScope(); functionType78.clearCachedValues(); com.google.javascript.rhino.Node node84 = functionType78.getParametersNode(); java.util.Set<java.lang.String> strSet85 = functionType78.getOwnPropertyNames(); java.lang.String str86 = functionType78.getReferenceName(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSTypeArray15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(jSType18); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(jSTypeArray25); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(jSType28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(jSType30); org.junit.Assert.assertNotNull(jSTypeArray35); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSType38); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(jSType40); org.junit.Assert.assertNotNull(jSTypeArray45); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(jSType48); org.junit.Assert.assertNotNull(jSTypeArray53); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); org.junit.Assert.assertNotNull(jSType56); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNotNull(jSType58); org.junit.Assert.assertNotNull(jSTypeArray63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(jSType66); org.junit.Assert.assertNotNull(jSTypeArray71); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNotNull(jSType74); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(objectType76); org.junit.Assert.assertNotNull(jSTypeArray77); org.junit.Assert.assertNotNull(functionType78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + true + "'", boolean79 == true); org.junit.Assert.assertNull(staticSlot81); org.junit.Assert.assertNotNull(jSTypeStaticScope82); org.junit.Assert.assertNotNull(node84); org.junit.Assert.assertNotNull(strSet85); org.junit.Assert.assertNull(str86); } @Test public void test4577() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4577"); com.google.javascript.jscomp.CodingConvention.SubclassType subclassType0 = com.google.javascript.jscomp.CodingConvention.SubclassType.MIXIN; com.google.javascript.rhino.Node node3 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean4 = node3.isLabelName(); java.util.Set<java.lang.String> strSet5 = node3.getDirectives(); com.google.javascript.rhino.Node node7 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean8 = node7.isLabelName(); com.google.javascript.rhino.Node[] nodeArray9 = new com.google.javascript.rhino.Node[] { node3, node7 }; com.google.javascript.rhino.Node node12 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray9, 50, 50); com.google.javascript.rhino.Node node14 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node12.addChildToFront(node14); boolean boolean16 = node12.isNew(); node12.setLineno((int) (short) 10); com.google.javascript.rhino.Node node20 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node21 = com.google.javascript.jscomp.NodeUtil.newExpr(node20); com.google.javascript.jscomp.CodingConvention.SubclassRelationship subclassRelationship22 = new com.google.javascript.jscomp.CodingConvention.SubclassRelationship(subclassType0, node12, node21); boolean boolean23 = node12.isWith(); boolean boolean24 = node12.isInc(); boolean boolean25 = node12.isSwitch(); com.google.javascript.rhino.Node node27 = node12.getChildAtIndex((int) (short) 0); node12.detachChildren(); com.google.javascript.rhino.Node node30 = com.google.javascript.rhino.Node.newString("[]"); java.util.Collection<com.google.javascript.rhino.Node> nodeCollection31 = com.google.javascript.jscomp.NodeUtil.getVarsDeclaredInBranch(node30); com.google.javascript.rhino.Node node32 = node12.useSourceInfoFrom(node30); org.junit.Assert.assertTrue("'" + subclassType0 + "' != '" + com.google.javascript.jscomp.CodingConvention.SubclassType.MIXIN + "'", subclassType0.equals(com.google.javascript.jscomp.CodingConvention.SubclassType.MIXIN)); org.junit.Assert.assertNotNull(node3); org.junit.Assert.assertTrue("'" + boolean4 + "' != '" + false + "'", boolean4 == false); org.junit.Assert.assertNull(strSet5); org.junit.Assert.assertNotNull(node7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(nodeArray9); org.junit.Assert.assertNotNull(node14); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertNotNull(node20); org.junit.Assert.assertNotNull(node21); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + false + "'", boolean23 == false); org.junit.Assert.assertTrue("'" + boolean24 + "' != '" + false + "'", boolean24 == false); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); org.junit.Assert.assertNotNull(node27); org.junit.Assert.assertNotNull(node30); org.junit.Assert.assertNotNull(nodeCollection31); org.junit.Assert.assertNotNull(node32); } @Test public void test4578() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4578"); com.google.javascript.rhino.Node node3 = com.google.javascript.rhino.Node.newNumber((double) 10.0f, (int) (short) -1, (int) (short) 100); boolean boolean4 = node3.isSetterDef(); com.google.javascript.rhino.Node node8 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean9 = node8.isLabelName(); java.util.Set<java.lang.String> strSet10 = node8.getDirectives(); com.google.javascript.rhino.Node node12 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean13 = node12.isLabelName(); com.google.javascript.rhino.Node[] nodeArray14 = new com.google.javascript.rhino.Node[] { node8, node12 }; com.google.javascript.rhino.Node node17 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray14, 50, 50); com.google.javascript.rhino.Node node19 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node17.addChildToFront(node19); boolean boolean21 = node19.isDefaultCase(); com.google.javascript.rhino.Node node22 = node19.getParent(); com.google.javascript.rhino.Node node25 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean26 = node25.isLabelName(); java.util.Set<java.lang.String> strSet27 = node25.getDirectives(); com.google.javascript.rhino.Node node29 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean30 = node29.isLabelName(); com.google.javascript.rhino.Node[] nodeArray31 = new com.google.javascript.rhino.Node[] { node25, node29 }; com.google.javascript.rhino.Node node34 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray31, 50, 50); com.google.javascript.rhino.Node node36 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node34.addChildToFront(node36); boolean boolean38 = node34.isNew(); com.google.javascript.rhino.JSDocInfo jSDocInfo39 = node34.getJSDocInfo(); com.google.javascript.rhino.Node node42 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean43 = node42.isLabelName(); java.util.Set<java.lang.String> strSet44 = node42.getDirectives(); com.google.javascript.rhino.Node node46 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean47 = node46.isLabelName(); com.google.javascript.rhino.Node[] nodeArray48 = new com.google.javascript.rhino.Node[] { node42, node46 }; com.google.javascript.rhino.Node node51 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray48, 50, 50); com.google.javascript.rhino.Node node53 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node51.addChildToFront(node53); com.google.javascript.rhino.Node node55 = node53.detachFromParent(); com.google.javascript.rhino.Node node58 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean59 = node58.isLabelName(); java.util.Set<java.lang.String> strSet60 = node58.getDirectives(); com.google.javascript.rhino.Node node62 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean63 = node62.isLabelName(); com.google.javascript.rhino.Node[] nodeArray64 = new com.google.javascript.rhino.Node[] { node58, node62 }; com.google.javascript.rhino.Node node67 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray64, 50, 50); com.google.javascript.rhino.Node node69 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node67.addChildToFront(node69); boolean boolean71 = node67.isNew(); com.google.javascript.rhino.Node node73 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node74 = node67.useSourceInfoFrom(node73); boolean boolean75 = node67.isFromExterns(); com.google.javascript.rhino.Node node76 = new com.google.javascript.rhino.Node((int) (byte) 100, node22, node34, node53, node67); com.google.javascript.rhino.Node node77 = node53.cloneTree(); node3.addChildToFront(node77); org.junit.Assert.assertNotNull(node3); org.junit.Assert.assertTrue("'" + boolean4 + "' != '" + false + "'", boolean4 == false); org.junit.Assert.assertNotNull(node8); org.junit.Assert.assertTrue("'" + boolean9 + "' != '" + false + "'", boolean9 == false); org.junit.Assert.assertNull(strSet10); org.junit.Assert.assertNotNull(node12); org.junit.Assert.assertTrue("'" + boolean13 + "' != '" + false + "'", boolean13 == false); org.junit.Assert.assertNotNull(nodeArray14); org.junit.Assert.assertNotNull(node19); org.junit.Assert.assertTrue("'" + boolean21 + "' != '" + false + "'", boolean21 == false); org.junit.Assert.assertNotNull(node22); org.junit.Assert.assertNotNull(node25); org.junit.Assert.assertTrue("'" + boolean26 + "' != '" + false + "'", boolean26 == false); org.junit.Assert.assertNull(strSet27); org.junit.Assert.assertNotNull(node29); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(nodeArray31); org.junit.Assert.assertNotNull(node36); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNull(jSDocInfo39); org.junit.Assert.assertNotNull(node42); org.junit.Assert.assertTrue("'" + boolean43 + "' != '" + false + "'", boolean43 == false); org.junit.Assert.assertNull(strSet44); org.junit.Assert.assertNotNull(node46); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(nodeArray48); org.junit.Assert.assertNotNull(node53); org.junit.Assert.assertNotNull(node55); org.junit.Assert.assertNotNull(node58); org.junit.Assert.assertTrue("'" + boolean59 + "' != '" + false + "'", boolean59 == false); org.junit.Assert.assertNull(strSet60); org.junit.Assert.assertNotNull(node62); org.junit.Assert.assertTrue("'" + boolean63 + "' != '" + false + "'", boolean63 == false); org.junit.Assert.assertNotNull(nodeArray64); org.junit.Assert.assertNotNull(node69); org.junit.Assert.assertTrue("'" + boolean71 + "' != '" + false + "'", boolean71 == false); org.junit.Assert.assertNotNull(node73); org.junit.Assert.assertNotNull(node74); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(node77); } @Test public void test4579() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4579"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); boolean boolean8 = jSType7.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter9 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry10 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter9); com.google.javascript.rhino.ErrorReporter errorReporter11 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry12 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter11); com.google.javascript.rhino.jstype.ObjectType objectType13 = null; com.google.javascript.rhino.jstype.JSType jSType14 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray15 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList16 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean17 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList16, jSTypeArray15); com.google.javascript.rhino.jstype.JSType jSType18 = jSTypeRegistry12.createFunctionTypeWithVarArgs(objectType13, jSType14, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList16); boolean boolean19 = jSType18.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter21 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry22 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter21); com.google.javascript.rhino.jstype.ObjectType objectType23 = null; com.google.javascript.rhino.jstype.JSType jSType24 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray25 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList26 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean27 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList26, jSTypeArray25); com.google.javascript.rhino.jstype.JSType jSType28 = jSTypeRegistry22.createFunctionTypeWithVarArgs(objectType23, jSType24, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList26); boolean boolean29 = jSType28.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType30 = jSType28.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter31 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry32 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter31); com.google.javascript.rhino.jstype.ObjectType objectType33 = null; com.google.javascript.rhino.jstype.JSType jSType34 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray35 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList36 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean37 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList36, jSTypeArray35); com.google.javascript.rhino.jstype.JSType jSType38 = jSTypeRegistry32.createFunctionTypeWithVarArgs(objectType33, jSType34, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList36); boolean boolean39 = jSType38.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType40 = jSType38.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter41 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry42 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter41); com.google.javascript.rhino.jstype.ObjectType objectType43 = null; com.google.javascript.rhino.jstype.JSType jSType44 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray45 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList46 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean47 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList46, jSTypeArray45); com.google.javascript.rhino.jstype.JSType jSType48 = jSTypeRegistry42.createFunctionTypeWithVarArgs(objectType43, jSType44, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList46); com.google.javascript.rhino.ErrorReporter errorReporter49 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry50 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter49); com.google.javascript.rhino.jstype.ObjectType objectType51 = null; com.google.javascript.rhino.jstype.JSType jSType52 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray53 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList54 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean55 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList54, jSTypeArray53); com.google.javascript.rhino.jstype.JSType jSType56 = jSTypeRegistry50.createFunctionTypeWithVarArgs(objectType51, jSType52, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList54); boolean boolean57 = jSType56.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType58 = jSType56.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter59 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry60 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter59); com.google.javascript.rhino.jstype.ObjectType objectType61 = null; com.google.javascript.rhino.jstype.JSType jSType62 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray63 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList64 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean65 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList64, jSTypeArray63); com.google.javascript.rhino.jstype.JSType jSType66 = jSTypeRegistry60.createFunctionTypeWithVarArgs(objectType61, jSType62, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList64); com.google.javascript.rhino.ErrorReporter errorReporter67 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry68 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter67); com.google.javascript.rhino.jstype.ObjectType objectType69 = null; com.google.javascript.rhino.jstype.JSType jSType70 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray71 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList72 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean73 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList72, jSTypeArray71); com.google.javascript.rhino.jstype.JSType jSType74 = jSTypeRegistry68.createFunctionTypeWithVarArgs(objectType69, jSType70, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList72); boolean boolean75 = jSType74.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType76 = jSType74.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray77 = new com.google.javascript.rhino.jstype.JSType[] { jSType30, jSType38, jSType44, jSType58, jSType66, objectType76 }; com.google.javascript.rhino.jstype.FunctionType functionType78 = jSTypeRegistry10.createConstructorType(jSType18, false, jSTypeArray77); boolean boolean79 = jSType7.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType78); com.google.javascript.rhino.jstype.StaticSlot staticSlot81 = functionType78.getSlot("Not declared as a constructor"); com.google.javascript.rhino.jstype.StaticScope<com.google.javascript.rhino.jstype.JSType> jSTypeStaticScope82 = functionType78.getParentScope(); functionType78.clearCachedValues(); com.google.javascript.rhino.Node node84 = functionType78.getParametersNode(); com.google.javascript.rhino.Node node86 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node87 = com.google.javascript.jscomp.NodeUtil.newExpr(node86); com.google.javascript.rhino.jstype.StaticSourceFile staticSourceFile88 = null; node86.setStaticSourceFile(staticSourceFile88); int int90 = node84.getIndexOfChild(node86); boolean boolean91 = node84.isEmpty(); boolean boolean92 = node84.isOptionalArg(); com.google.javascript.rhino.JSDocInfo jSDocInfo93 = node84.getJSDocInfo(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSTypeArray15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(jSType18); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(jSTypeArray25); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(jSType28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(jSType30); org.junit.Assert.assertNotNull(jSTypeArray35); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSType38); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(jSType40); org.junit.Assert.assertNotNull(jSTypeArray45); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(jSType48); org.junit.Assert.assertNotNull(jSTypeArray53); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); org.junit.Assert.assertNotNull(jSType56); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNotNull(jSType58); org.junit.Assert.assertNotNull(jSTypeArray63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(jSType66); org.junit.Assert.assertNotNull(jSTypeArray71); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNotNull(jSType74); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(objectType76); org.junit.Assert.assertNotNull(jSTypeArray77); org.junit.Assert.assertNotNull(functionType78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + true + "'", boolean79 == true); org.junit.Assert.assertNull(staticSlot81); org.junit.Assert.assertNotNull(jSTypeStaticScope82); org.junit.Assert.assertNotNull(node84); org.junit.Assert.assertNotNull(node86); org.junit.Assert.assertNotNull(node87); org.junit.Assert.assertTrue("'" + int90 + "' != '" + (-1) + "'", int90 == (-1)); org.junit.Assert.assertTrue("'" + boolean91 + "' != '" + false + "'", boolean91 == false); org.junit.Assert.assertTrue("'" + boolean92 + "' != '" + false + "'", boolean92 == false); org.junit.Assert.assertNull(jSDocInfo93); } @Test public void test4580() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4580"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); boolean boolean8 = jSType7.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter9 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry10 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter9); com.google.javascript.rhino.ErrorReporter errorReporter11 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry12 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter11); com.google.javascript.rhino.jstype.ObjectType objectType13 = null; com.google.javascript.rhino.jstype.JSType jSType14 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray15 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList16 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean17 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList16, jSTypeArray15); com.google.javascript.rhino.jstype.JSType jSType18 = jSTypeRegistry12.createFunctionTypeWithVarArgs(objectType13, jSType14, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList16); boolean boolean19 = jSType18.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter21 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry22 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter21); com.google.javascript.rhino.jstype.ObjectType objectType23 = null; com.google.javascript.rhino.jstype.JSType jSType24 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray25 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList26 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean27 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList26, jSTypeArray25); com.google.javascript.rhino.jstype.JSType jSType28 = jSTypeRegistry22.createFunctionTypeWithVarArgs(objectType23, jSType24, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList26); boolean boolean29 = jSType28.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType30 = jSType28.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter31 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry32 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter31); com.google.javascript.rhino.jstype.ObjectType objectType33 = null; com.google.javascript.rhino.jstype.JSType jSType34 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray35 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList36 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean37 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList36, jSTypeArray35); com.google.javascript.rhino.jstype.JSType jSType38 = jSTypeRegistry32.createFunctionTypeWithVarArgs(objectType33, jSType34, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList36); boolean boolean39 = jSType38.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType40 = jSType38.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter41 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry42 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter41); com.google.javascript.rhino.jstype.ObjectType objectType43 = null; com.google.javascript.rhino.jstype.JSType jSType44 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray45 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList46 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean47 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList46, jSTypeArray45); com.google.javascript.rhino.jstype.JSType jSType48 = jSTypeRegistry42.createFunctionTypeWithVarArgs(objectType43, jSType44, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList46); com.google.javascript.rhino.ErrorReporter errorReporter49 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry50 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter49); com.google.javascript.rhino.jstype.ObjectType objectType51 = null; com.google.javascript.rhino.jstype.JSType jSType52 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray53 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList54 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean55 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList54, jSTypeArray53); com.google.javascript.rhino.jstype.JSType jSType56 = jSTypeRegistry50.createFunctionTypeWithVarArgs(objectType51, jSType52, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList54); boolean boolean57 = jSType56.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType58 = jSType56.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter59 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry60 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter59); com.google.javascript.rhino.jstype.ObjectType objectType61 = null; com.google.javascript.rhino.jstype.JSType jSType62 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray63 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList64 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean65 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList64, jSTypeArray63); com.google.javascript.rhino.jstype.JSType jSType66 = jSTypeRegistry60.createFunctionTypeWithVarArgs(objectType61, jSType62, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList64); com.google.javascript.rhino.ErrorReporter errorReporter67 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry68 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter67); com.google.javascript.rhino.jstype.ObjectType objectType69 = null; com.google.javascript.rhino.jstype.JSType jSType70 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray71 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList72 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean73 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList72, jSTypeArray71); com.google.javascript.rhino.jstype.JSType jSType74 = jSTypeRegistry68.createFunctionTypeWithVarArgs(objectType69, jSType70, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList72); boolean boolean75 = jSType74.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType76 = jSType74.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray77 = new com.google.javascript.rhino.jstype.JSType[] { jSType30, jSType38, jSType44, jSType58, jSType66, objectType76 }; com.google.javascript.rhino.jstype.FunctionType functionType78 = jSTypeRegistry10.createConstructorType(jSType18, false, jSTypeArray77); boolean boolean79 = jSType7.isSubtype((com.google.javascript.rhino.jstype.JSType) functionType78); com.google.javascript.rhino.jstype.FunctionType functionType80 = functionType78.toMaybeFunctionType(); com.google.javascript.rhino.JSDocInfo jSDocInfo81 = null; functionType78.setJSDocInfo(jSDocInfo81); java.lang.Iterable<com.google.javascript.rhino.jstype.ObjectType> objectTypeIterable83 = functionType78.getAllExtendedInterfaces(); com.google.javascript.rhino.jstype.JSType jSType84 = functionType78.getTypeOfThis(); java.lang.Iterable<com.google.javascript.rhino.jstype.ObjectType> objectTypeIterable85 = functionType78.getOwnImplementedInterfaces(); boolean boolean86 = functionType78.matchesUint32Context(); boolean boolean87 = functionType78.isNativeObjectType(); java.lang.String str88 = null; // flaky: functionType78.toAnnotationString(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSTypeArray15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(jSType18); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(jSTypeArray25); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNotNull(jSType28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(jSType30); org.junit.Assert.assertNotNull(jSTypeArray35); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSType38); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(jSType40); org.junit.Assert.assertNotNull(jSTypeArray45); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(jSType48); org.junit.Assert.assertNotNull(jSTypeArray53); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); org.junit.Assert.assertNotNull(jSType56); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNotNull(jSType58); org.junit.Assert.assertNotNull(jSTypeArray63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(jSType66); org.junit.Assert.assertNotNull(jSTypeArray71); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNotNull(jSType74); org.junit.Assert.assertTrue("'" + boolean75 + "' != '" + false + "'", boolean75 == false); org.junit.Assert.assertNotNull(objectType76); org.junit.Assert.assertNotNull(jSTypeArray77); org.junit.Assert.assertNotNull(functionType78); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + true + "'", boolean79 == true); org.junit.Assert.assertNotNull(functionType80); org.junit.Assert.assertNotNull(objectTypeIterable83); org.junit.Assert.assertNotNull(jSType84); org.junit.Assert.assertNotNull(objectTypeIterable85); org.junit.Assert.assertTrue("'" + boolean86 + "' != '" + false + "'", boolean86 == false); org.junit.Assert.assertTrue("'" + boolean87 + "' != '" + false + "'", boolean87 == false); // flaky: org.junit.Assert.assertEquals("'" + str88 + "' != '" + "Function" + "'", str88, "Function"); } @Test public void test4581() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4581"); com.google.javascript.rhino.Node node2 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean3 = node2.isLabelName(); java.util.Set<java.lang.String> strSet4 = node2.getDirectives(); com.google.javascript.rhino.Node node6 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean7 = node6.isLabelName(); com.google.javascript.rhino.Node[] nodeArray8 = new com.google.javascript.rhino.Node[] { node2, node6 }; com.google.javascript.rhino.Node node11 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray8, 50, 50); com.google.javascript.rhino.Node node13 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node11.addChildToFront(node13); com.google.javascript.rhino.Node node15 = node13.detachFromParent(); boolean boolean16 = node15.isHook(); java.lang.String str20 = node15.toString(true, true, true); com.google.javascript.rhino.Node node21 = node15.getFirstChild(); boolean boolean22 = node15.isNumber(); int int23 = node15.getLineno(); boolean boolean24 = node15.isLocalResultCall(); node15.setQuotedString(); com.google.javascript.rhino.Node node28 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean29 = node28.isLabelName(); java.util.Set<java.lang.String> strSet30 = node28.getDirectives(); com.google.javascript.rhino.Node node32 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean33 = node32.isLabelName(); com.google.javascript.rhino.Node[] nodeArray34 = new com.google.javascript.rhino.Node[] { node28, node32 }; com.google.javascript.rhino.Node node37 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray34, 50, 50); com.google.javascript.rhino.Node node39 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node37.addChildToFront(node39); boolean boolean41 = node39.isDefaultCase(); com.google.javascript.rhino.Node node42 = node39.getParent(); int int43 = node42.getSourcePosition(); com.google.javascript.rhino.Node node46 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean47 = node46.isLabelName(); com.google.javascript.rhino.Node node50 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean51 = node50.isLabelName(); java.util.Set<java.lang.String> strSet52 = node50.getDirectives(); com.google.javascript.rhino.Node node54 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean55 = node54.isLabelName(); com.google.javascript.rhino.Node[] nodeArray56 = new com.google.javascript.rhino.Node[] { node50, node54 }; com.google.javascript.rhino.Node node59 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray56, 50, 50); boolean boolean60 = node46.isEquivalentTo(node59); com.google.javascript.rhino.Node node61 = new com.google.javascript.rhino.Node(50, node59); com.google.javascript.rhino.Node node63 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node64 = com.google.javascript.jscomp.NodeUtil.newExpr(node63); boolean boolean65 = node63.isScript(); com.google.javascript.rhino.Node node66 = node61.useSourceInfoIfMissingFrom(node63); node66.addSuppression("java.io.IOException: "); node42.addChildToFront(node66); boolean boolean71 = node66.getBooleanProp((-1)); boolean boolean72 = node66.isBreak(); com.google.javascript.rhino.Node node73 = node15.copyInformationFromForTree(node66); com.google.javascript.rhino.Node.FileLevelJsDocBuilder fileLevelJsDocBuilder74 = node73.getJsDocBuilderForNode(); org.junit.Assert.assertNotNull(node2); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertNull(strSet4); org.junit.Assert.assertNotNull(node6); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertNotNull(nodeArray8); org.junit.Assert.assertNotNull(node13); org.junit.Assert.assertNotNull(node15); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertEquals("'" + str20 + "' != '" + "STRING Not declared as a constructor" + "'", str20, "STRING Not declared as a constructor"); org.junit.Assert.assertNull(node21); org.junit.Assert.assertTrue("'" + boolean22 + "' != '" + false + "'", boolean22 == false); org.junit.Assert.assertTrue("'" + int23 + "' != '" + (-1) + "'", int23 == (-1)); org.junit.Assert.assertTrue("'" + boolean24 + "' != '" + false + "'", boolean24 == false); org.junit.Assert.assertNotNull(node28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNull(strSet30); org.junit.Assert.assertNotNull(node32); org.junit.Assert.assertTrue("'" + boolean33 + "' != '" + false + "'", boolean33 == false); org.junit.Assert.assertNotNull(nodeArray34); org.junit.Assert.assertNotNull(node39); org.junit.Assert.assertTrue("'" + boolean41 + "' != '" + false + "'", boolean41 == false); org.junit.Assert.assertNotNull(node42); org.junit.Assert.assertTrue("'" + int43 + "' != '" + 204850 + "'", int43 == 204850); org.junit.Assert.assertNotNull(node46); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(node50); org.junit.Assert.assertTrue("'" + boolean51 + "' != '" + false + "'", boolean51 == false); org.junit.Assert.assertNull(strSet52); org.junit.Assert.assertNotNull(node54); org.junit.Assert.assertTrue("'" + boolean55 + "' != '" + false + "'", boolean55 == false); org.junit.Assert.assertNotNull(nodeArray56); org.junit.Assert.assertTrue("'" + boolean60 + "' != '" + false + "'", boolean60 == false); org.junit.Assert.assertNotNull(node63); org.junit.Assert.assertNotNull(node64); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(node66); org.junit.Assert.assertTrue("'" + boolean71 + "' != '" + false + "'", boolean71 == false); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertNotNull(node73); org.junit.Assert.assertNotNull(fileLevelJsDocBuilder74); } @Test public void test4582() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4582"); com.google.javascript.rhino.Node node2 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean3 = node2.isLabelName(); java.util.Set<java.lang.String> strSet4 = node2.getDirectives(); com.google.javascript.rhino.Node node6 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean7 = node6.isLabelName(); com.google.javascript.rhino.Node[] nodeArray8 = new com.google.javascript.rhino.Node[] { node2, node6 }; com.google.javascript.rhino.Node node11 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray8, 50, 50); com.google.javascript.rhino.Node node13 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node11.addChildToFront(node13); boolean boolean15 = node13.isDefaultCase(); com.google.javascript.rhino.Node node16 = node13.getParent(); node13.detachChildren(); com.google.javascript.rhino.Node node18 = node13.getParent(); boolean boolean19 = node13.isCatch(); com.google.javascript.rhino.Node node22 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean23 = node22.isLabelName(); com.google.javascript.rhino.Node node26 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean27 = node26.isLabelName(); java.util.Set<java.lang.String> strSet28 = node26.getDirectives(); com.google.javascript.rhino.Node node30 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean31 = node30.isLabelName(); com.google.javascript.rhino.Node[] nodeArray32 = new com.google.javascript.rhino.Node[] { node26, node30 }; com.google.javascript.rhino.Node node35 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray32, 50, 50); boolean boolean36 = node22.isEquivalentTo(node35); com.google.javascript.rhino.Node node37 = new com.google.javascript.rhino.Node(50, node35); com.google.javascript.rhino.Node node38 = node13.useSourceInfoIfMissingFromForTree(node37); boolean boolean39 = node37.isNull(); com.google.javascript.rhino.Node node40 = node37.getParent(); org.junit.Assert.assertNotNull(node2); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertNull(strSet4); org.junit.Assert.assertNotNull(node6); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertNotNull(nodeArray8); org.junit.Assert.assertNotNull(node13); org.junit.Assert.assertTrue("'" + boolean15 + "' != '" + false + "'", boolean15 == false); org.junit.Assert.assertNotNull(node16); org.junit.Assert.assertNotNull(node18); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(node22); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + false + "'", boolean23 == false); org.junit.Assert.assertNotNull(node26); org.junit.Assert.assertTrue("'" + boolean27 + "' != '" + false + "'", boolean27 == false); org.junit.Assert.assertNull(strSet28); org.junit.Assert.assertNotNull(node30); org.junit.Assert.assertTrue("'" + boolean31 + "' != '" + false + "'", boolean31 == false); org.junit.Assert.assertNotNull(nodeArray32); org.junit.Assert.assertTrue("'" + boolean36 + "' != '" + false + "'", boolean36 == false); org.junit.Assert.assertNotNull(node38); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNull(node40); } @Test public void test4583() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4583"); com.google.javascript.rhino.Node node1 = com.google.javascript.rhino.Node.newString("OR\n"); boolean boolean2 = node1.isReturn(); boolean boolean3 = node1.isGetElem(); com.google.javascript.rhino.Node.AncestorIterable ancestorIterable4 = node1.getAncestors(); int int5 = node1.getCharno(); com.google.javascript.rhino.ErrorReporter errorReporter6 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry7 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter6); com.google.javascript.rhino.jstype.ObjectType objectType8 = null; com.google.javascript.rhino.jstype.JSType jSType9 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray10 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList11 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean12 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList11, jSTypeArray10); com.google.javascript.rhino.jstype.JSType jSType13 = jSTypeRegistry7.createFunctionTypeWithVarArgs(objectType8, jSType9, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList11); jSTypeRegistry7.incrementGeneration(); com.google.javascript.rhino.ErrorReporter errorReporter15 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry16 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter15); com.google.javascript.rhino.ErrorReporter errorReporter17 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry18 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter17); com.google.javascript.rhino.jstype.ObjectType objectType19 = null; com.google.javascript.rhino.jstype.JSType jSType20 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray21 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList22 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean23 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList22, jSTypeArray21); com.google.javascript.rhino.jstype.JSType jSType24 = jSTypeRegistry18.createFunctionTypeWithVarArgs(objectType19, jSType20, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList22); boolean boolean25 = jSType24.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter27 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry28 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter27); com.google.javascript.rhino.jstype.ObjectType objectType29 = null; com.google.javascript.rhino.jstype.JSType jSType30 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray31 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList32 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean33 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList32, jSTypeArray31); com.google.javascript.rhino.jstype.JSType jSType34 = jSTypeRegistry28.createFunctionTypeWithVarArgs(objectType29, jSType30, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList32); boolean boolean35 = jSType34.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType36 = jSType34.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter37 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry38 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter37); com.google.javascript.rhino.jstype.ObjectType objectType39 = null; com.google.javascript.rhino.jstype.JSType jSType40 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray41 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList42 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean43 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList42, jSTypeArray41); com.google.javascript.rhino.jstype.JSType jSType44 = jSTypeRegistry38.createFunctionTypeWithVarArgs(objectType39, jSType40, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList42); boolean boolean45 = jSType44.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType46 = jSType44.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter47 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry48 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter47); com.google.javascript.rhino.jstype.ObjectType objectType49 = null; com.google.javascript.rhino.jstype.JSType jSType50 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray51 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList52 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean53 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList52, jSTypeArray51); com.google.javascript.rhino.jstype.JSType jSType54 = jSTypeRegistry48.createFunctionTypeWithVarArgs(objectType49, jSType50, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList52); com.google.javascript.rhino.ErrorReporter errorReporter55 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry56 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter55); com.google.javascript.rhino.jstype.ObjectType objectType57 = null; com.google.javascript.rhino.jstype.JSType jSType58 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray59 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList60 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean61 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList60, jSTypeArray59); com.google.javascript.rhino.jstype.JSType jSType62 = jSTypeRegistry56.createFunctionTypeWithVarArgs(objectType57, jSType58, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList60); boolean boolean63 = jSType62.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType64 = jSType62.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter65 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry66 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter65); com.google.javascript.rhino.jstype.ObjectType objectType67 = null; com.google.javascript.rhino.jstype.JSType jSType68 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray69 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList70 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean71 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList70, jSTypeArray69); com.google.javascript.rhino.jstype.JSType jSType72 = jSTypeRegistry66.createFunctionTypeWithVarArgs(objectType67, jSType68, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList70); com.google.javascript.rhino.ErrorReporter errorReporter73 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry74 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter73); com.google.javascript.rhino.jstype.ObjectType objectType75 = null; com.google.javascript.rhino.jstype.JSType jSType76 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray77 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList78 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean79 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList78, jSTypeArray77); com.google.javascript.rhino.jstype.JSType jSType80 = jSTypeRegistry74.createFunctionTypeWithVarArgs(objectType75, jSType76, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList78); boolean boolean81 = jSType80.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType82 = jSType80.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray83 = new com.google.javascript.rhino.jstype.JSType[] { jSType36, jSType44, jSType50, jSType64, jSType72, objectType82 }; com.google.javascript.rhino.jstype.FunctionType functionType84 = jSTypeRegistry16.createConstructorType(jSType24, false, jSTypeArray83); boolean boolean85 = functionType84.hasReferenceName(); boolean boolean86 = functionType84.isNoType(); jSTypeRegistry7.resolveTypesInScope((com.google.javascript.rhino.jstype.StaticScope<com.google.javascript.rhino.jstype.JSType>) functionType84); com.google.javascript.rhino.JSDocInfo jSDocInfo89 = functionType84.getOwnPropertyJSDocInfo("Unknown class name"); boolean boolean91 = functionType84.isPropertyTypeInferred("Function"); node1.setJSType((com.google.javascript.rhino.jstype.JSType) functionType84); com.google.common.collect.ImmutableList<java.lang.String> strList93 = functionType84.getTemplateTypeNames(); // The following exception was thrown during execution in test generation try { com.google.common.collect.UnmodifiableListIterator<java.lang.String> strItor95 = strList93.listIterator(46); org.junit.Assert.fail("Expected exception of type java.lang.IndexOutOfBoundsException; message: index (46) must not be greater than size (0)"); } catch (java.lang.IndexOutOfBoundsException e) { // Expected exception. } org.junit.Assert.assertNotNull(node1); org.junit.Assert.assertTrue("'" + boolean2 + "' != '" + false + "'", boolean2 == false); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertNotNull(ancestorIterable4); org.junit.Assert.assertTrue("'" + int5 + "' != '" + (-1) + "'", int5 == (-1)); org.junit.Assert.assertNotNull(jSTypeArray10); org.junit.Assert.assertTrue("'" + boolean12 + "' != '" + false + "'", boolean12 == false); org.junit.Assert.assertNotNull(jSType13); org.junit.Assert.assertNotNull(jSTypeArray21); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + false + "'", boolean23 == false); org.junit.Assert.assertNotNull(jSType24); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); org.junit.Assert.assertNotNull(jSTypeArray31); org.junit.Assert.assertTrue("'" + boolean33 + "' != '" + false + "'", boolean33 == false); org.junit.Assert.assertNotNull(jSType34); org.junit.Assert.assertTrue("'" + boolean35 + "' != '" + false + "'", boolean35 == false); org.junit.Assert.assertNotNull(jSType36); org.junit.Assert.assertNotNull(jSTypeArray41); org.junit.Assert.assertTrue("'" + boolean43 + "' != '" + false + "'", boolean43 == false); org.junit.Assert.assertNotNull(jSType44); org.junit.Assert.assertTrue("'" + boolean45 + "' != '" + false + "'", boolean45 == false); org.junit.Assert.assertNotNull(jSType46); org.junit.Assert.assertNotNull(jSTypeArray51); org.junit.Assert.assertTrue("'" + boolean53 + "' != '" + false + "'", boolean53 == false); org.junit.Assert.assertNotNull(jSType54); org.junit.Assert.assertNotNull(jSTypeArray59); org.junit.Assert.assertTrue("'" + boolean61 + "' != '" + false + "'", boolean61 == false); org.junit.Assert.assertNotNull(jSType62); org.junit.Assert.assertTrue("'" + boolean63 + "' != '" + false + "'", boolean63 == false); org.junit.Assert.assertNotNull(jSType64); org.junit.Assert.assertNotNull(jSTypeArray69); org.junit.Assert.assertTrue("'" + boolean71 + "' != '" + false + "'", boolean71 == false); org.junit.Assert.assertNotNull(jSType72); org.junit.Assert.assertNotNull(jSTypeArray77); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + false + "'", boolean79 == false); org.junit.Assert.assertNotNull(jSType80); org.junit.Assert.assertTrue("'" + boolean81 + "' != '" + false + "'", boolean81 == false); org.junit.Assert.assertNotNull(objectType82); org.junit.Assert.assertNotNull(jSTypeArray83); org.junit.Assert.assertNotNull(functionType84); org.junit.Assert.assertTrue("'" + boolean85 + "' != '" + false + "'", boolean85 == false); org.junit.Assert.assertTrue("'" + boolean86 + "' != '" + false + "'", boolean86 == false); org.junit.Assert.assertNull(jSDocInfo89); org.junit.Assert.assertTrue("'" + boolean91 + "' != '" + false + "'", boolean91 == false); org.junit.Assert.assertNotNull(strList93); } @Test public void test4584() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4584"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); com.google.javascript.rhino.ErrorReporter errorReporter8 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry9 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter8); com.google.javascript.rhino.jstype.ObjectType objectType10 = null; com.google.javascript.rhino.jstype.JSType jSType11 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray12 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList13 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean14 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList13, jSTypeArray12); com.google.javascript.rhino.jstype.JSType jSType15 = jSTypeRegistry9.createFunctionTypeWithVarArgs(objectType10, jSType11, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList13); com.google.javascript.rhino.ErrorReporter errorReporter16 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry17 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter16); com.google.javascript.rhino.jstype.ObjectType objectType18 = null; com.google.javascript.rhino.jstype.JSType jSType19 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray20 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList21 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean22 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList21, jSTypeArray20); com.google.javascript.rhino.jstype.JSType jSType23 = jSTypeRegistry17.createFunctionTypeWithVarArgs(objectType18, jSType19, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList21); boolean boolean24 = jSType23.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType25 = jSType23.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter26 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry27 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter26); com.google.javascript.rhino.jstype.ObjectType objectType28 = null; com.google.javascript.rhino.jstype.JSType jSType29 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray30 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList31 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean32 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList31, jSTypeArray30); com.google.javascript.rhino.jstype.JSType jSType33 = jSTypeRegistry27.createFunctionTypeWithVarArgs(objectType28, jSType29, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList31); com.google.javascript.rhino.jstype.JSType[] jSTypeArray34 = new com.google.javascript.rhino.jstype.JSType[] { jSType11, jSType25, objectType28 }; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList35 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean36 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList35, jSTypeArray34); boolean boolean37 = jSTypeList5.containsAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList35); java.util.Iterator<com.google.javascript.rhino.jstype.JSType> jSTypeItor38 = jSTypeList5.iterator(); java.util.stream.Stream<com.google.javascript.rhino.jstype.JSType> jSTypeStream39 = jSTypeList5.stream(); java.util.stream.Stream<com.google.javascript.rhino.jstype.JSType> jSTypeStream40 = jSTypeList5.parallelStream(); com.google.javascript.rhino.Node node43 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean44 = node43.isLabelName(); java.util.Set<java.lang.String> strSet45 = node43.getDirectives(); com.google.javascript.rhino.Node node47 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean48 = node47.isLabelName(); com.google.javascript.rhino.Node[] nodeArray49 = new com.google.javascript.rhino.Node[] { node43, node47 }; com.google.javascript.rhino.Node node52 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray49, 50, 50); com.google.javascript.rhino.Node node54 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node52.addChildToFront(node54); com.google.javascript.rhino.Node node56 = node54.detachFromParent(); boolean boolean57 = jSTypeList5.remove((java.lang.Object) node56); com.google.javascript.rhino.Node node58 = node56.removeFirstChild(); // The following exception was thrown during execution in test generation try { com.google.javascript.rhino.Node node59 = node58.cloneNode(); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertNotNull(jSTypeArray12); org.junit.Assert.assertTrue("'" + boolean14 + "' != '" + false + "'", boolean14 == false); org.junit.Assert.assertNotNull(jSType15); org.junit.Assert.assertNotNull(jSTypeArray20); org.junit.Assert.assertTrue("'" + boolean22 + "' != '" + false + "'", boolean22 == false); org.junit.Assert.assertNotNull(jSType23); org.junit.Assert.assertTrue("'" + boolean24 + "' != '" + false + "'", boolean24 == false); org.junit.Assert.assertNotNull(jSType25); org.junit.Assert.assertNotNull(jSTypeArray30); org.junit.Assert.assertTrue("'" + boolean32 + "' != '" + false + "'", boolean32 == false); org.junit.Assert.assertNotNull(jSType33); org.junit.Assert.assertNotNull(jSTypeArray34); org.junit.Assert.assertTrue("'" + boolean36 + "' != '" + true + "'", boolean36 == true); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSTypeItor38); org.junit.Assert.assertNotNull(jSTypeStream39); org.junit.Assert.assertNotNull(jSTypeStream40); org.junit.Assert.assertNotNull(node43); org.junit.Assert.assertTrue("'" + boolean44 + "' != '" + false + "'", boolean44 == false); org.junit.Assert.assertNull(strSet45); org.junit.Assert.assertNotNull(node47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(nodeArray49); org.junit.Assert.assertNotNull(node54); org.junit.Assert.assertNotNull(node56); org.junit.Assert.assertTrue("'" + boolean57 + "' != '" + false + "'", boolean57 == false); org.junit.Assert.assertNull(node58); } @Test public void test4585() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4585"); com.google.javascript.rhino.Node node2 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean3 = node2.isLabelName(); java.util.Set<java.lang.String> strSet4 = node2.getDirectives(); com.google.javascript.rhino.Node node6 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean7 = node6.isLabelName(); com.google.javascript.rhino.Node[] nodeArray8 = new com.google.javascript.rhino.Node[] { node2, node6 }; com.google.javascript.rhino.Node node11 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray8, 50, 50); com.google.javascript.rhino.Node node13 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node11.addChildToFront(node13); boolean boolean15 = node11.isNoSideEffectsCall(); boolean boolean16 = node11.isName(); boolean boolean17 = node11.isAdd(); boolean boolean18 = node11.isHook(); com.google.javascript.rhino.Node node21 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean22 = node21.isLabelName(); java.util.Set<java.lang.String> strSet23 = node21.getDirectives(); com.google.javascript.rhino.Node node25 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean26 = node25.isLabelName(); com.google.javascript.rhino.Node[] nodeArray27 = new com.google.javascript.rhino.Node[] { node21, node25 }; com.google.javascript.rhino.Node node30 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray27, 50, 50); com.google.javascript.rhino.Node node32 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node30.addChildToFront(node32); boolean boolean34 = node30.isNew(); com.google.javascript.rhino.Node node36 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node37 = node30.useSourceInfoFrom(node36); node37.setLineno((int) (byte) 1); com.google.javascript.rhino.jstype.JSType jSType40 = node37.getJSType(); node37.setSourceEncodedPosition((int) (byte) 1); java.lang.Iterable<com.google.javascript.rhino.Node> nodeIterable43 = node37.children(); node11.addChildToBack(node37); com.google.javascript.rhino.Node node47 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean48 = node47.isLabelName(); java.util.Set<java.lang.String> strSet49 = node47.getDirectives(); com.google.javascript.rhino.Node node51 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean52 = node51.isLabelName(); com.google.javascript.rhino.Node[] nodeArray53 = new com.google.javascript.rhino.Node[] { node47, node51 }; com.google.javascript.rhino.Node node56 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray53, 50, 50); com.google.javascript.rhino.Node node58 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node56.addChildToFront(node58); boolean boolean60 = node58.isString(); com.google.javascript.rhino.Node node61 = node11.useSourceInfoFrom(node58); boolean boolean62 = node11.isLocalResultCall(); boolean boolean63 = node11.isFor(); // The following exception was thrown during execution in test generation try { java.lang.String str64 = node11.getString(); org.junit.Assert.fail("Expected exception of type java.lang.IllegalStateException; message: 0"); } catch (java.lang.IllegalStateException e) { // Expected exception. } org.junit.Assert.assertNotNull(node2); org.junit.Assert.assertTrue("'" + boolean3 + "' != '" + false + "'", boolean3 == false); org.junit.Assert.assertNull(strSet4); org.junit.Assert.assertNotNull(node6); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertNotNull(nodeArray8); org.junit.Assert.assertNotNull(node13); org.junit.Assert.assertTrue("'" + boolean15 + "' != '" + false + "'", boolean15 == false); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(node21); org.junit.Assert.assertTrue("'" + boolean22 + "' != '" + false + "'", boolean22 == false); org.junit.Assert.assertNull(strSet23); org.junit.Assert.assertNotNull(node25); org.junit.Assert.assertTrue("'" + boolean26 + "' != '" + false + "'", boolean26 == false); org.junit.Assert.assertNotNull(nodeArray27); org.junit.Assert.assertNotNull(node32); org.junit.Assert.assertTrue("'" + boolean34 + "' != '" + false + "'", boolean34 == false); org.junit.Assert.assertNotNull(node36); org.junit.Assert.assertNotNull(node37); org.junit.Assert.assertNull(jSType40); org.junit.Assert.assertNotNull(nodeIterable43); org.junit.Assert.assertNotNull(node47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNull(strSet49); org.junit.Assert.assertNotNull(node51); org.junit.Assert.assertTrue("'" + boolean52 + "' != '" + false + "'", boolean52 == false); org.junit.Assert.assertNotNull(nodeArray53); org.junit.Assert.assertNotNull(node58); org.junit.Assert.assertTrue("'" + boolean60 + "' != '" + true + "'", boolean60 == true); org.junit.Assert.assertNotNull(node61); org.junit.Assert.assertTrue("'" + boolean62 + "' != '" + false + "'", boolean62 == false); org.junit.Assert.assertTrue("'" + boolean63 + "' != '" + false + "'", boolean63 == false); } @Test public void test4586() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4586"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.ErrorReporter errorReporter2 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry3 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter2); com.google.javascript.rhino.jstype.ObjectType objectType4 = null; com.google.javascript.rhino.jstype.JSType jSType5 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray6 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList7 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean8 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList7, jSTypeArray6); com.google.javascript.rhino.jstype.JSType jSType9 = jSTypeRegistry3.createFunctionTypeWithVarArgs(objectType4, jSType5, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList7); boolean boolean10 = jSType9.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter12 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry13 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter12); com.google.javascript.rhino.jstype.ObjectType objectType14 = null; com.google.javascript.rhino.jstype.JSType jSType15 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray16 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList17 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean18 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList17, jSTypeArray16); com.google.javascript.rhino.jstype.JSType jSType19 = jSTypeRegistry13.createFunctionTypeWithVarArgs(objectType14, jSType15, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList17); boolean boolean20 = jSType19.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType21 = jSType19.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter22 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry23 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter22); com.google.javascript.rhino.jstype.ObjectType objectType24 = null; com.google.javascript.rhino.jstype.JSType jSType25 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray26 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList27 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean28 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList27, jSTypeArray26); com.google.javascript.rhino.jstype.JSType jSType29 = jSTypeRegistry23.createFunctionTypeWithVarArgs(objectType24, jSType25, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList27); boolean boolean30 = jSType29.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType31 = jSType29.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter32 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry33 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter32); com.google.javascript.rhino.jstype.ObjectType objectType34 = null; com.google.javascript.rhino.jstype.JSType jSType35 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray36 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList37 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean38 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList37, jSTypeArray36); com.google.javascript.rhino.jstype.JSType jSType39 = jSTypeRegistry33.createFunctionTypeWithVarArgs(objectType34, jSType35, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList37); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); boolean boolean48 = jSType47.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType49 = jSType47.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter50 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry51 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter50); com.google.javascript.rhino.jstype.ObjectType objectType52 = null; com.google.javascript.rhino.jstype.JSType jSType53 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray54 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList55 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean56 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList55, jSTypeArray54); com.google.javascript.rhino.jstype.JSType jSType57 = jSTypeRegistry51.createFunctionTypeWithVarArgs(objectType52, jSType53, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList55); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); boolean boolean66 = jSType65.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType67 = jSType65.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray68 = new com.google.javascript.rhino.jstype.JSType[] { jSType21, jSType29, jSType35, jSType49, jSType57, objectType67 }; com.google.javascript.rhino.jstype.FunctionType functionType69 = jSTypeRegistry1.createConstructorType(jSType9, false, jSTypeArray68); boolean boolean70 = functionType69.hasReferenceName(); boolean boolean72 = functionType69.isPropertyInExterns("Not declared as a constructor"); boolean boolean74 = functionType69.isPropertyTypeInferred(""); java.util.Set<java.lang.String> strSet75 = functionType69.getOwnPropertyNames(); boolean boolean76 = functionType69.isFunctionPrototypeType(); boolean boolean77 = functionType69.matchesNumberContext(); boolean boolean78 = functionType69.hasCachedValues(); int int79 = functionType69.getExtendedInterfacesCount(); com.google.javascript.rhino.JSDocInfo jSDocInfo81 = new com.google.javascript.rhino.JSDocInfo(); java.lang.String str82 = jSDocInfo81.getDescription(); boolean boolean83 = jSDocInfo81.isInterface(); boolean boolean84 = jSDocInfo81.isDeprecated(); java.lang.String str85 = jSDocInfo81.getLicense(); boolean boolean86 = jSDocInfo81.isInterface(); boolean boolean87 = jSDocInfo81.isConsistentIdGenerator(); functionType69.setPropertyJSDocInfo("STRING Not declared as a constructor\n", jSDocInfo81); org.junit.Assert.assertNotNull(jSTypeArray6); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSType9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNotNull(jSTypeArray16); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSType19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(jSType21); org.junit.Assert.assertNotNull(jSTypeArray26); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(jSType31); org.junit.Assert.assertNotNull(jSTypeArray36); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(jSType49); org.junit.Assert.assertNotNull(jSTypeArray54); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertNotNull(objectType67); org.junit.Assert.assertNotNull(jSTypeArray68); org.junit.Assert.assertNotNull(functionType69); org.junit.Assert.assertTrue("'" + boolean70 + "' != '" + false + "'", boolean70 == false); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertTrue("'" + boolean74 + "' != '" + false + "'", boolean74 == false); org.junit.Assert.assertNotNull(strSet75); org.junit.Assert.assertTrue("'" + boolean76 + "' != '" + false + "'", boolean76 == false); org.junit.Assert.assertTrue("'" + boolean77 + "' != '" + false + "'", boolean77 == false); org.junit.Assert.assertTrue("'" + boolean78 + "' != '" + false + "'", boolean78 == false); org.junit.Assert.assertTrue("'" + int79 + "' != '" + 0 + "'", int79 == 0); org.junit.Assert.assertNull(str82); org.junit.Assert.assertTrue("'" + boolean83 + "' != '" + false + "'", boolean83 == false); org.junit.Assert.assertTrue("'" + boolean84 + "' != '" + false + "'", boolean84 == false); org.junit.Assert.assertNull(str85); org.junit.Assert.assertTrue("'" + boolean86 + "' != '" + false + "'", boolean86 == false); org.junit.Assert.assertTrue("'" + boolean87 + "' != '" + false + "'", boolean87 == false); } @Test public void test4587() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4587"); com.google.javascript.rhino.JSDocInfo jSDocInfo0 = new com.google.javascript.rhino.JSDocInfo(); java.lang.String str1 = jSDocInfo0.getOriginalCommentString(); com.google.javascript.rhino.JSTypeExpression jSTypeExpression2 = jSDocInfo0.getThisType(); java.lang.String str3 = jSDocInfo0.getFileOverview(); java.util.Collection<com.google.javascript.rhino.JSDocInfo.Marker> markerCollection4 = jSDocInfo0.getMarkers(); boolean boolean6 = jSDocInfo0.hasParameterType("(STRING STRING Not declared as a constructor)"); org.junit.Assert.assertNull(str1); org.junit.Assert.assertNull(jSTypeExpression2); org.junit.Assert.assertNull(str3); org.junit.Assert.assertNotNull(markerCollection4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); } @Test public void test4588() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4588"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); com.google.javascript.rhino.ErrorReporter errorReporter8 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry9 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter8); com.google.javascript.rhino.ErrorReporter errorReporter10 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry11 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter10); com.google.javascript.rhino.jstype.ObjectType objectType12 = null; com.google.javascript.rhino.jstype.JSType jSType13 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray14 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList15 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean16 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList15, jSTypeArray14); com.google.javascript.rhino.jstype.JSType jSType17 = jSTypeRegistry11.createFunctionTypeWithVarArgs(objectType12, jSType13, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList15); boolean boolean18 = jSType17.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter20 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry21 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter20); com.google.javascript.rhino.jstype.ObjectType objectType22 = null; com.google.javascript.rhino.jstype.JSType jSType23 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray24 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList25 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean26 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList25, jSTypeArray24); com.google.javascript.rhino.jstype.JSType jSType27 = jSTypeRegistry21.createFunctionTypeWithVarArgs(objectType22, jSType23, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList25); boolean boolean28 = jSType27.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType29 = jSType27.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter30 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry31 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter30); com.google.javascript.rhino.jstype.ObjectType objectType32 = null; com.google.javascript.rhino.jstype.JSType jSType33 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray34 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList35 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean36 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList35, jSTypeArray34); com.google.javascript.rhino.jstype.JSType jSType37 = jSTypeRegistry31.createFunctionTypeWithVarArgs(objectType32, jSType33, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList35); boolean boolean38 = jSType37.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType39 = jSType37.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); com.google.javascript.rhino.ErrorReporter errorReporter48 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry49 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter48); com.google.javascript.rhino.jstype.ObjectType objectType50 = null; com.google.javascript.rhino.jstype.JSType jSType51 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray52 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList53 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean54 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList53, jSTypeArray52); com.google.javascript.rhino.jstype.JSType jSType55 = jSTypeRegistry49.createFunctionTypeWithVarArgs(objectType50, jSType51, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList53); boolean boolean56 = jSType55.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType57 = jSType55.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); com.google.javascript.rhino.ErrorReporter errorReporter66 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry67 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter66); com.google.javascript.rhino.jstype.ObjectType objectType68 = null; com.google.javascript.rhino.jstype.JSType jSType69 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray70 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList71 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean72 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList71, jSTypeArray70); com.google.javascript.rhino.jstype.JSType jSType73 = jSTypeRegistry67.createFunctionTypeWithVarArgs(objectType68, jSType69, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList71); boolean boolean74 = jSType73.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType75 = jSType73.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray76 = new com.google.javascript.rhino.jstype.JSType[] { jSType29, jSType37, jSType43, jSType57, jSType65, objectType75 }; com.google.javascript.rhino.jstype.FunctionType functionType77 = jSTypeRegistry9.createConstructorType(jSType17, false, jSTypeArray76); com.google.javascript.rhino.jstype.JSType jSType78 = functionType77.unboxesTo(); com.google.javascript.rhino.ErrorReporter errorReporter79 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry80 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter79); com.google.javascript.rhino.jstype.ObjectType objectType81 = null; com.google.javascript.rhino.jstype.JSType jSType82 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray83 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList84 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean85 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList84, jSTypeArray83); com.google.javascript.rhino.jstype.JSType jSType86 = jSTypeRegistry80.createFunctionTypeWithVarArgs(objectType81, jSType82, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList84); boolean boolean87 = jSType86.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType88 = jSType86.toObjectType(); com.google.javascript.rhino.jstype.FunctionType functionType89 = jSTypeRegistry1.createFunctionTypeWithNewThisType(functionType77, objectType88); com.google.javascript.rhino.jstype.StaticScope<com.google.javascript.rhino.jstype.JSType> jSTypeStaticScope90 = functionType77.getParentScope(); boolean boolean92 = functionType77.removeProperty("Not declared as a constructor"); java.lang.String str93 = functionType77.getDisplayName(); com.google.javascript.rhino.jstype.ObjectType objectType94 = functionType77.getTypeOfThis(); boolean boolean95 = functionType77.isBooleanObjectType(); boolean boolean96 = functionType77.isNumber(); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertNotNull(jSTypeArray14); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertNotNull(jSType17); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSTypeArray24); org.junit.Assert.assertTrue("'" + boolean26 + "' != '" + false + "'", boolean26 == false); org.junit.Assert.assertNotNull(jSType27); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertNotNull(jSTypeArray34); org.junit.Assert.assertTrue("'" + boolean36 + "' != '" + false + "'", boolean36 == false); org.junit.Assert.assertNotNull(jSType37); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertNotNull(jSTypeArray52); org.junit.Assert.assertTrue("'" + boolean54 + "' != '" + false + "'", boolean54 == false); org.junit.Assert.assertNotNull(jSType55); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertNotNull(jSTypeArray70); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertNotNull(jSType73); org.junit.Assert.assertTrue("'" + boolean74 + "' != '" + false + "'", boolean74 == false); org.junit.Assert.assertNotNull(objectType75); org.junit.Assert.assertNotNull(jSTypeArray76); org.junit.Assert.assertNotNull(functionType77); org.junit.Assert.assertNull(jSType78); org.junit.Assert.assertNotNull(jSTypeArray83); org.junit.Assert.assertTrue("'" + boolean85 + "' != '" + false + "'", boolean85 == false); org.junit.Assert.assertNotNull(jSType86); org.junit.Assert.assertTrue("'" + boolean87 + "' != '" + false + "'", boolean87 == false); org.junit.Assert.assertNotNull(objectType88); org.junit.Assert.assertNotNull(functionType89); org.junit.Assert.assertNotNull(jSTypeStaticScope90); org.junit.Assert.assertTrue("'" + boolean92 + "' != '" + false + "'", boolean92 == false); org.junit.Assert.assertNull(str93); org.junit.Assert.assertNotNull(objectType94); org.junit.Assert.assertTrue("'" + boolean95 + "' != '" + false + "'", boolean95 == false); org.junit.Assert.assertTrue("'" + boolean96 + "' != '" + false + "'", boolean96 == false); } @Test public void test4589() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4589"); com.google.javascript.rhino.Node node4 = com.google.javascript.rhino.Node.newString((int) (short) 1, "(java.io.IOException: java.io.IOException: )", 2, 0); com.google.javascript.rhino.Node node7 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean8 = node7.isLabelName(); java.util.Set<java.lang.String> strSet9 = node7.getDirectives(); com.google.javascript.rhino.Node node11 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean12 = node11.isLabelName(); com.google.javascript.rhino.Node[] nodeArray13 = new com.google.javascript.rhino.Node[] { node7, node11 }; com.google.javascript.rhino.Node node16 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray13, 50, 50); com.google.javascript.rhino.Node node18 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node16.addChildToFront(node18); boolean boolean20 = node18.isDefaultCase(); com.google.javascript.rhino.Node node21 = node18.getParent(); node18.putIntProp(43, 10); com.google.javascript.rhino.Node node25 = node4.useSourceInfoFromForTree(node18); node4.setLineno(0); int int28 = node4.getCharno(); org.junit.Assert.assertNotNull(node4); org.junit.Assert.assertNotNull(node7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNull(strSet9); org.junit.Assert.assertNotNull(node11); org.junit.Assert.assertTrue("'" + boolean12 + "' != '" + false + "'", boolean12 == false); org.junit.Assert.assertNotNull(nodeArray13); org.junit.Assert.assertNotNull(node18); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(node21); org.junit.Assert.assertNotNull(node25); org.junit.Assert.assertTrue("'" + int28 + "' != '" + 0 + "'", int28 == 0); } @Test public void test4590() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4590"); com.google.javascript.rhino.Node node1 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node2 = com.google.javascript.jscomp.NodeUtil.newExpr(node1); com.google.javascript.rhino.jstype.StaticSourceFile staticSourceFile3 = null; node1.setStaticSourceFile(staticSourceFile3); boolean boolean5 = node1.isLabel(); node1.setIsSyntheticBlock(true); int int8 = node1.getType(); com.google.javascript.rhino.Node node10 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean11 = node10.isLabelName(); boolean boolean12 = node10.isReturn(); boolean boolean13 = node10.isDelProp(); com.google.javascript.rhino.Node node14 = node1.srcrefTree(node10); boolean boolean15 = node14.isNoSideEffectsCall(); boolean boolean16 = node14.isOr(); org.junit.Assert.assertNotNull(node1); org.junit.Assert.assertNotNull(node2); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertTrue("'" + int8 + "' != '" + 40 + "'", int8 == 40); org.junit.Assert.assertNotNull(node10); org.junit.Assert.assertTrue("'" + boolean11 + "' != '" + false + "'", boolean11 == false); org.junit.Assert.assertTrue("'" + boolean12 + "' != '" + false + "'", boolean12 == false); org.junit.Assert.assertTrue("'" + boolean13 + "' != '" + false + "'", boolean13 == false); org.junit.Assert.assertNotNull(node14); org.junit.Assert.assertTrue("'" + boolean15 + "' != '" + false + "'", boolean15 == false); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); } @Test public void test4591() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4591"); com.google.javascript.rhino.Node node3 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean4 = node3.isLabelName(); java.util.Set<java.lang.String> strSet5 = node3.getDirectives(); com.google.javascript.rhino.Node node7 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean8 = node7.isLabelName(); com.google.javascript.rhino.Node[] nodeArray9 = new com.google.javascript.rhino.Node[] { node3, node7 }; com.google.javascript.rhino.Node node12 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray9, 50, 50); com.google.javascript.rhino.Node node14 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node12.addChildToFront(node14); boolean boolean16 = node14.isDefaultCase(); com.google.javascript.rhino.Node node17 = node14.getParent(); com.google.javascript.rhino.Node node20 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean21 = node20.isLabelName(); java.util.Set<java.lang.String> strSet22 = node20.getDirectives(); com.google.javascript.rhino.Node node24 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean25 = node24.isLabelName(); com.google.javascript.rhino.Node[] nodeArray26 = new com.google.javascript.rhino.Node[] { node20, node24 }; com.google.javascript.rhino.Node node29 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray26, 50, 50); com.google.javascript.rhino.Node node31 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node29.addChildToFront(node31); boolean boolean33 = node29.isNew(); com.google.javascript.rhino.JSDocInfo jSDocInfo34 = node29.getJSDocInfo(); com.google.javascript.rhino.Node node37 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean38 = node37.isLabelName(); java.util.Set<java.lang.String> strSet39 = node37.getDirectives(); com.google.javascript.rhino.Node node41 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean42 = node41.isLabelName(); com.google.javascript.rhino.Node[] nodeArray43 = new com.google.javascript.rhino.Node[] { node37, node41 }; com.google.javascript.rhino.Node node46 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray43, 50, 50); com.google.javascript.rhino.Node node48 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node46.addChildToFront(node48); com.google.javascript.rhino.Node node50 = node48.detachFromParent(); com.google.javascript.rhino.Node node53 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean54 = node53.isLabelName(); java.util.Set<java.lang.String> strSet55 = node53.getDirectives(); com.google.javascript.rhino.Node node57 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean58 = node57.isLabelName(); com.google.javascript.rhino.Node[] nodeArray59 = new com.google.javascript.rhino.Node[] { node53, node57 }; com.google.javascript.rhino.Node node62 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray59, 50, 50); com.google.javascript.rhino.Node node64 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node62.addChildToFront(node64); boolean boolean66 = node62.isNew(); com.google.javascript.rhino.Node node68 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node69 = node62.useSourceInfoFrom(node68); boolean boolean70 = node62.isFromExterns(); com.google.javascript.rhino.Node node71 = new com.google.javascript.rhino.Node((int) (byte) 100, node17, node29, node48, node62); boolean boolean72 = node62.isDec(); com.google.javascript.rhino.Node node75 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean76 = node75.isLabelName(); java.util.Set<java.lang.String> strSet77 = node75.getDirectives(); com.google.javascript.rhino.Node node79 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean80 = node79.isLabelName(); com.google.javascript.rhino.Node[] nodeArray81 = new com.google.javascript.rhino.Node[] { node75, node79 }; com.google.javascript.rhino.Node node84 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray81, 50, 50); com.google.javascript.rhino.Node node86 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node84.addChildToFront(node86); com.google.javascript.rhino.Node node88 = node86.detachFromParent(); com.google.javascript.rhino.Node node89 = node86.getNext(); int int90 = node86.getLineno(); java.lang.String str91 = node86.getSourceFileName(); int int92 = node62.getIndexOfChild(node86); boolean boolean93 = node86.isCatch(); org.junit.Assert.assertNotNull(node3); org.junit.Assert.assertTrue("'" + boolean4 + "' != '" + false + "'", boolean4 == false); org.junit.Assert.assertNull(strSet5); org.junit.Assert.assertNotNull(node7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(nodeArray9); org.junit.Assert.assertNotNull(node14); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertNotNull(node17); org.junit.Assert.assertNotNull(node20); org.junit.Assert.assertTrue("'" + boolean21 + "' != '" + false + "'", boolean21 == false); org.junit.Assert.assertNull(strSet22); org.junit.Assert.assertNotNull(node24); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); org.junit.Assert.assertNotNull(nodeArray26); org.junit.Assert.assertNotNull(node31); org.junit.Assert.assertTrue("'" + boolean33 + "' != '" + false + "'", boolean33 == false); org.junit.Assert.assertNull(jSDocInfo34); org.junit.Assert.assertNotNull(node37); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNull(strSet39); org.junit.Assert.assertNotNull(node41); org.junit.Assert.assertTrue("'" + boolean42 + "' != '" + false + "'", boolean42 == false); org.junit.Assert.assertNotNull(nodeArray43); org.junit.Assert.assertNotNull(node48); org.junit.Assert.assertNotNull(node50); org.junit.Assert.assertNotNull(node53); org.junit.Assert.assertTrue("'" + boolean54 + "' != '" + false + "'", boolean54 == false); org.junit.Assert.assertNull(strSet55); org.junit.Assert.assertNotNull(node57); org.junit.Assert.assertTrue("'" + boolean58 + "' != '" + false + "'", boolean58 == false); org.junit.Assert.assertNotNull(nodeArray59); org.junit.Assert.assertNotNull(node64); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertNotNull(node68); org.junit.Assert.assertNotNull(node69); org.junit.Assert.assertTrue("'" + boolean70 + "' != '" + false + "'", boolean70 == false); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertNotNull(node75); org.junit.Assert.assertTrue("'" + boolean76 + "' != '" + false + "'", boolean76 == false); org.junit.Assert.assertNull(strSet77); org.junit.Assert.assertNotNull(node79); org.junit.Assert.assertTrue("'" + boolean80 + "' != '" + false + "'", boolean80 == false); org.junit.Assert.assertNotNull(nodeArray81); org.junit.Assert.assertNotNull(node86); org.junit.Assert.assertNotNull(node88); org.junit.Assert.assertNull(node89); org.junit.Assert.assertTrue("'" + int90 + "' != '" + (-1) + "'", int90 == (-1)); org.junit.Assert.assertNull(str91); org.junit.Assert.assertTrue("'" + int92 + "' != '" + (-1) + "'", int92 == (-1)); org.junit.Assert.assertTrue("'" + boolean93 + "' != '" + false + "'", boolean93 == false); } @Test public void test4592() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4592"); com.google.javascript.rhino.Node node3 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean4 = node3.isLabelName(); java.util.Set<java.lang.String> strSet5 = node3.getDirectives(); com.google.javascript.rhino.Node node7 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean8 = node7.isLabelName(); com.google.javascript.rhino.Node[] nodeArray9 = new com.google.javascript.rhino.Node[] { node3, node7 }; com.google.javascript.rhino.Node node12 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray9, 50, 50); com.google.javascript.rhino.Node node14 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node12.addChildToFront(node14); boolean boolean16 = node12.isNew(); com.google.javascript.rhino.JSDocInfo jSDocInfo17 = node12.getJSDocInfo(); com.google.javascript.rhino.Node node20 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean21 = node20.isLabelName(); java.util.Set<java.lang.String> strSet22 = node20.getDirectives(); com.google.javascript.rhino.Node node24 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean25 = node24.isLabelName(); com.google.javascript.rhino.Node[] nodeArray26 = new com.google.javascript.rhino.Node[] { node20, node24 }; com.google.javascript.rhino.Node node29 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray26, 50, 50); com.google.javascript.rhino.Node node31 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node29.addChildToFront(node31); boolean boolean33 = node29.isNew(); node29.setLineno((int) (short) 10); boolean boolean36 = node29.isObjectLit(); com.google.javascript.rhino.Node[] nodeArray37 = new com.google.javascript.rhino.Node[] { node12, node29 }; com.google.javascript.rhino.Node node40 = new com.google.javascript.rhino.Node(44, nodeArray37, 40, (int) (short) 100); boolean boolean41 = node40.isGetProp(); com.google.javascript.rhino.JSTypeExpression jSTypeExpression43 = new com.google.javascript.rhino.JSTypeExpression(node40, "EXPR_RESULT"); boolean boolean44 = jSTypeExpression43.isOptionalArg(); org.junit.Assert.assertNotNull(node3); org.junit.Assert.assertTrue("'" + boolean4 + "' != '" + false + "'", boolean4 == false); org.junit.Assert.assertNull(strSet5); org.junit.Assert.assertNotNull(node7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(nodeArray9); org.junit.Assert.assertNotNull(node14); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertNull(jSDocInfo17); org.junit.Assert.assertNotNull(node20); org.junit.Assert.assertTrue("'" + boolean21 + "' != '" + false + "'", boolean21 == false); org.junit.Assert.assertNull(strSet22); org.junit.Assert.assertNotNull(node24); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); org.junit.Assert.assertNotNull(nodeArray26); org.junit.Assert.assertNotNull(node31); org.junit.Assert.assertTrue("'" + boolean33 + "' != '" + false + "'", boolean33 == false); org.junit.Assert.assertTrue("'" + boolean36 + "' != '" + false + "'", boolean36 == false); org.junit.Assert.assertNotNull(nodeArray37); org.junit.Assert.assertTrue("'" + boolean41 + "' != '" + false + "'", boolean41 == false); org.junit.Assert.assertTrue("'" + boolean44 + "' != '" + false + "'", boolean44 == false); } @Test public void test4593() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4593"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.ErrorReporter errorReporter2 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry3 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter2); com.google.javascript.rhino.jstype.ObjectType objectType4 = null; com.google.javascript.rhino.jstype.JSType jSType5 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray6 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList7 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean8 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList7, jSTypeArray6); com.google.javascript.rhino.jstype.JSType jSType9 = jSTypeRegistry3.createFunctionTypeWithVarArgs(objectType4, jSType5, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList7); boolean boolean10 = jSType9.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter12 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry13 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter12); com.google.javascript.rhino.jstype.ObjectType objectType14 = null; com.google.javascript.rhino.jstype.JSType jSType15 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray16 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList17 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean18 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList17, jSTypeArray16); com.google.javascript.rhino.jstype.JSType jSType19 = jSTypeRegistry13.createFunctionTypeWithVarArgs(objectType14, jSType15, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList17); boolean boolean20 = jSType19.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType21 = jSType19.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter22 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry23 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter22); com.google.javascript.rhino.jstype.ObjectType objectType24 = null; com.google.javascript.rhino.jstype.JSType jSType25 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray26 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList27 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean28 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList27, jSTypeArray26); com.google.javascript.rhino.jstype.JSType jSType29 = jSTypeRegistry23.createFunctionTypeWithVarArgs(objectType24, jSType25, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList27); boolean boolean30 = jSType29.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType31 = jSType29.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter32 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry33 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter32); com.google.javascript.rhino.jstype.ObjectType objectType34 = null; com.google.javascript.rhino.jstype.JSType jSType35 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray36 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList37 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean38 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList37, jSTypeArray36); com.google.javascript.rhino.jstype.JSType jSType39 = jSTypeRegistry33.createFunctionTypeWithVarArgs(objectType34, jSType35, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList37); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); boolean boolean48 = jSType47.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType49 = jSType47.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter50 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry51 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter50); com.google.javascript.rhino.jstype.ObjectType objectType52 = null; com.google.javascript.rhino.jstype.JSType jSType53 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray54 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList55 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean56 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList55, jSTypeArray54); com.google.javascript.rhino.jstype.JSType jSType57 = jSTypeRegistry51.createFunctionTypeWithVarArgs(objectType52, jSType53, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList55); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); boolean boolean66 = jSType65.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType67 = jSType65.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray68 = new com.google.javascript.rhino.jstype.JSType[] { jSType21, jSType29, jSType35, jSType49, jSType57, objectType67 }; com.google.javascript.rhino.jstype.FunctionType functionType69 = jSTypeRegistry1.createConstructorType(jSType9, false, jSTypeArray68); boolean boolean70 = functionType69.hasReferenceName(); boolean boolean72 = functionType69.isPropertyInExterns("Not declared as a constructor"); boolean boolean74 = functionType69.isPropertyTypeInferred(""); boolean boolean76 = functionType69.hasProperty(""); boolean boolean77 = functionType69.isNumberObjectType(); com.google.javascript.rhino.JSDocInfo jSDocInfo79 = functionType69.getOwnPropertyJSDocInfo("(function (): {160022603})"); boolean boolean80 = functionType69.hasReferenceName(); com.google.common.collect.ImmutableList<java.lang.String> strList81 = functionType69.getTemplateTypeNames(); com.google.common.collect.ImmutableList<java.lang.String> strList82 = strList81.reverse(); org.junit.Assert.assertNotNull(jSTypeArray6); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSType9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNotNull(jSTypeArray16); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSType19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(jSType21); org.junit.Assert.assertNotNull(jSTypeArray26); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(jSType31); org.junit.Assert.assertNotNull(jSTypeArray36); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(jSType49); org.junit.Assert.assertNotNull(jSTypeArray54); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertNotNull(objectType67); org.junit.Assert.assertNotNull(jSTypeArray68); org.junit.Assert.assertNotNull(functionType69); org.junit.Assert.assertTrue("'" + boolean70 + "' != '" + false + "'", boolean70 == false); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertTrue("'" + boolean74 + "' != '" + false + "'", boolean74 == false); org.junit.Assert.assertTrue("'" + boolean76 + "' != '" + false + "'", boolean76 == false); org.junit.Assert.assertTrue("'" + boolean77 + "' != '" + false + "'", boolean77 == false); org.junit.Assert.assertNull(jSDocInfo79); org.junit.Assert.assertTrue("'" + boolean80 + "' != '" + false + "'", boolean80 == false); org.junit.Assert.assertNotNull(strList81); org.junit.Assert.assertNotNull(strList82); } @Test public void test4594() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4594"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.ErrorReporter errorReporter2 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry3 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter2); com.google.javascript.rhino.jstype.ObjectType objectType4 = null; com.google.javascript.rhino.jstype.JSType jSType5 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray6 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList7 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean8 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList7, jSTypeArray6); com.google.javascript.rhino.jstype.JSType jSType9 = jSTypeRegistry3.createFunctionTypeWithVarArgs(objectType4, jSType5, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList7); boolean boolean10 = jSType9.isArrayType(); com.google.javascript.rhino.ErrorReporter errorReporter12 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry13 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter12); com.google.javascript.rhino.jstype.ObjectType objectType14 = null; com.google.javascript.rhino.jstype.JSType jSType15 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray16 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList17 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean18 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList17, jSTypeArray16); com.google.javascript.rhino.jstype.JSType jSType19 = jSTypeRegistry13.createFunctionTypeWithVarArgs(objectType14, jSType15, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList17); boolean boolean20 = jSType19.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType21 = jSType19.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter22 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry23 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter22); com.google.javascript.rhino.jstype.ObjectType objectType24 = null; com.google.javascript.rhino.jstype.JSType jSType25 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray26 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList27 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean28 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList27, jSTypeArray26); com.google.javascript.rhino.jstype.JSType jSType29 = jSTypeRegistry23.createFunctionTypeWithVarArgs(objectType24, jSType25, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList27); boolean boolean30 = jSType29.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType31 = jSType29.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter32 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry33 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter32); com.google.javascript.rhino.jstype.ObjectType objectType34 = null; com.google.javascript.rhino.jstype.JSType jSType35 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray36 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList37 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean38 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList37, jSTypeArray36); com.google.javascript.rhino.jstype.JSType jSType39 = jSTypeRegistry33.createFunctionTypeWithVarArgs(objectType34, jSType35, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList37); com.google.javascript.rhino.ErrorReporter errorReporter40 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry41 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter40); com.google.javascript.rhino.jstype.ObjectType objectType42 = null; com.google.javascript.rhino.jstype.JSType jSType43 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray44 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList45 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean46 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList45, jSTypeArray44); com.google.javascript.rhino.jstype.JSType jSType47 = jSTypeRegistry41.createFunctionTypeWithVarArgs(objectType42, jSType43, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList45); boolean boolean48 = jSType47.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType49 = jSType47.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter50 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry51 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter50); com.google.javascript.rhino.jstype.ObjectType objectType52 = null; com.google.javascript.rhino.jstype.JSType jSType53 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray54 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList55 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean56 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList55, jSTypeArray54); com.google.javascript.rhino.jstype.JSType jSType57 = jSTypeRegistry51.createFunctionTypeWithVarArgs(objectType52, jSType53, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList55); com.google.javascript.rhino.ErrorReporter errorReporter58 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry59 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter58); com.google.javascript.rhino.jstype.ObjectType objectType60 = null; com.google.javascript.rhino.jstype.JSType jSType61 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray62 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList63 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean64 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList63, jSTypeArray62); com.google.javascript.rhino.jstype.JSType jSType65 = jSTypeRegistry59.createFunctionTypeWithVarArgs(objectType60, jSType61, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList63); boolean boolean66 = jSType65.isArrayType(); com.google.javascript.rhino.jstype.ObjectType objectType67 = jSType65.toObjectType(); com.google.javascript.rhino.jstype.JSType[] jSTypeArray68 = new com.google.javascript.rhino.jstype.JSType[] { jSType21, jSType29, jSType35, jSType49, jSType57, objectType67 }; com.google.javascript.rhino.jstype.FunctionType functionType69 = jSTypeRegistry1.createConstructorType(jSType9, false, jSTypeArray68); boolean boolean70 = functionType69.hasReferenceName(); boolean boolean72 = functionType69.isPropertyInExterns("Not declared as a constructor"); boolean boolean74 = functionType69.isPropertyTypeInferred(""); java.util.Set<java.lang.String> strSet75 = functionType69.getPropertyNames(); com.google.javascript.rhino.jstype.FunctionType functionType76 = functionType69.getConstructor(); org.junit.Assert.assertNotNull(jSTypeArray6); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(jSType9); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNotNull(jSTypeArray16); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(jSType19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(jSType21); org.junit.Assert.assertNotNull(jSTypeArray26); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(jSType29); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(jSType31); org.junit.Assert.assertNotNull(jSTypeArray36); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(jSType39); org.junit.Assert.assertNotNull(jSTypeArray44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(jSType47); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(jSType49); org.junit.Assert.assertNotNull(jSTypeArray54); org.junit.Assert.assertTrue("'" + boolean56 + "' != '" + false + "'", boolean56 == false); org.junit.Assert.assertNotNull(jSType57); org.junit.Assert.assertNotNull(jSTypeArray62); org.junit.Assert.assertTrue("'" + boolean64 + "' != '" + false + "'", boolean64 == false); org.junit.Assert.assertNotNull(jSType65); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertNotNull(objectType67); org.junit.Assert.assertNotNull(jSTypeArray68); org.junit.Assert.assertNotNull(functionType69); org.junit.Assert.assertTrue("'" + boolean70 + "' != '" + false + "'", boolean70 == false); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertTrue("'" + boolean74 + "' != '" + false + "'", boolean74 == false); org.junit.Assert.assertNotNull(strSet75); org.junit.Assert.assertNull(functionType76); } @Test public void test4595() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4595"); com.google.javascript.rhino.ErrorReporter errorReporter0 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry1 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter0); com.google.javascript.rhino.jstype.ObjectType objectType2 = null; com.google.javascript.rhino.jstype.JSType jSType3 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray4 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList5 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean6 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList5, jSTypeArray4); com.google.javascript.rhino.jstype.JSType jSType7 = jSTypeRegistry1.createFunctionTypeWithVarArgs(objectType2, jSType3, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList5); com.google.javascript.rhino.ErrorReporter errorReporter8 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry9 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter8); com.google.javascript.rhino.jstype.ObjectType objectType10 = null; com.google.javascript.rhino.jstype.JSType jSType11 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray12 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList13 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean14 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList13, jSTypeArray12); com.google.javascript.rhino.jstype.JSType jSType15 = jSTypeRegistry9.createFunctionTypeWithVarArgs(objectType10, jSType11, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList13); com.google.javascript.rhino.ErrorReporter errorReporter16 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry17 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter16); com.google.javascript.rhino.jstype.ObjectType objectType18 = null; com.google.javascript.rhino.jstype.JSType jSType19 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray20 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList21 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean22 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList21, jSTypeArray20); com.google.javascript.rhino.jstype.JSType jSType23 = jSTypeRegistry17.createFunctionTypeWithVarArgs(objectType18, jSType19, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList21); boolean boolean24 = jSType23.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType25 = jSType23.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter26 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry27 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter26); com.google.javascript.rhino.jstype.ObjectType objectType28 = null; com.google.javascript.rhino.jstype.JSType jSType29 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray30 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList31 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean32 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList31, jSTypeArray30); com.google.javascript.rhino.jstype.JSType jSType33 = jSTypeRegistry27.createFunctionTypeWithVarArgs(objectType28, jSType29, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList31); com.google.javascript.rhino.jstype.JSType[] jSTypeArray34 = new com.google.javascript.rhino.jstype.JSType[] { jSType11, jSType25, objectType28 }; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList35 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean36 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList35, jSTypeArray34); boolean boolean37 = jSTypeList5.containsAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList35); java.util.Iterator<com.google.javascript.rhino.jstype.JSType> jSTypeItor38 = jSTypeList5.iterator(); int int39 = jSTypeList5.size(); java.util.ListIterator<com.google.javascript.rhino.jstype.JSType> jSTypeItor40 = jSTypeList5.listIterator(); com.google.javascript.rhino.ErrorReporter errorReporter41 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry42 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter41); jSTypeRegistry42.resetForTypeCheck(); com.google.javascript.rhino.ErrorReporter errorReporter44 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry45 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter44); com.google.javascript.rhino.jstype.ObjectType objectType46 = null; com.google.javascript.rhino.jstype.JSType jSType47 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray48 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList49 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean50 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList49, jSTypeArray48); com.google.javascript.rhino.jstype.JSType jSType51 = jSTypeRegistry45.createFunctionTypeWithVarArgs(objectType46, jSType47, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList49); com.google.javascript.rhino.ErrorReporter errorReporter52 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry53 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter52); com.google.javascript.rhino.jstype.ObjectType objectType54 = null; com.google.javascript.rhino.jstype.JSType jSType55 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray56 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList57 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean58 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList57, jSTypeArray56); com.google.javascript.rhino.jstype.JSType jSType59 = jSTypeRegistry53.createFunctionTypeWithVarArgs(objectType54, jSType55, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList57); com.google.javascript.rhino.ErrorReporter errorReporter60 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry61 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter60); com.google.javascript.rhino.jstype.ObjectType objectType62 = null; com.google.javascript.rhino.jstype.JSType jSType63 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray64 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList65 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean66 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList65, jSTypeArray64); com.google.javascript.rhino.jstype.JSType jSType67 = jSTypeRegistry61.createFunctionTypeWithVarArgs(objectType62, jSType63, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList65); boolean boolean68 = jSType67.isArrayType(); com.google.javascript.rhino.jstype.JSType jSType69 = jSType67.autobox(); com.google.javascript.rhino.ErrorReporter errorReporter70 = null; com.google.javascript.rhino.jstype.JSTypeRegistry jSTypeRegistry71 = new com.google.javascript.rhino.jstype.JSTypeRegistry(errorReporter70); com.google.javascript.rhino.jstype.ObjectType objectType72 = null; com.google.javascript.rhino.jstype.JSType jSType73 = null; com.google.javascript.rhino.jstype.JSType[] jSTypeArray74 = new com.google.javascript.rhino.jstype.JSType[] {}; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList75 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean76 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList75, jSTypeArray74); com.google.javascript.rhino.jstype.JSType jSType77 = jSTypeRegistry71.createFunctionTypeWithVarArgs(objectType72, jSType73, (java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList75); com.google.javascript.rhino.jstype.JSType[] jSTypeArray78 = new com.google.javascript.rhino.jstype.JSType[] { jSType55, jSType69, objectType72 }; java.util.ArrayList<com.google.javascript.rhino.jstype.JSType> jSTypeList79 = new java.util.ArrayList<com.google.javascript.rhino.jstype.JSType>(); boolean boolean80 = java.util.Collections.addAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList79, jSTypeArray78); boolean boolean81 = jSTypeList49.containsAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList79); com.google.javascript.rhino.jstype.BooleanLiteralSet booleanLiteralSet82 = com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE; boolean boolean84 = booleanLiteralSet82.contains(false); boolean boolean86 = booleanLiteralSet82.contains(false); int int87 = jSTypeList49.lastIndexOf((java.lang.Object) false); java.util.Spliterator<com.google.javascript.rhino.jstype.JSType> jSTypeSpliterator88 = jSTypeList49.spliterator(); boolean boolean89 = jSTypeList49.isEmpty(); com.google.javascript.rhino.JSTypeExpression[] jSTypeExpressionArray90 = new com.google.javascript.rhino.JSTypeExpression[] {}; com.google.javascript.rhino.JSTypeExpression[] jSTypeExpressionArray91 = jSTypeList49.toArray(jSTypeExpressionArray90); com.google.javascript.rhino.Node node92 = jSTypeRegistry42.createParameters((java.util.List<com.google.javascript.rhino.jstype.JSType>) jSTypeList49); java.lang.Object[] objArray93 = jSTypeList49.toArray(); boolean boolean94 = jSTypeList5.removeAll((java.util.Collection<com.google.javascript.rhino.jstype.JSType>) jSTypeList49); org.junit.Assert.assertNotNull(jSTypeArray4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(jSType7); org.junit.Assert.assertNotNull(jSTypeArray12); org.junit.Assert.assertTrue("'" + boolean14 + "' != '" + false + "'", boolean14 == false); org.junit.Assert.assertNotNull(jSType15); org.junit.Assert.assertNotNull(jSTypeArray20); org.junit.Assert.assertTrue("'" + boolean22 + "' != '" + false + "'", boolean22 == false); org.junit.Assert.assertNotNull(jSType23); org.junit.Assert.assertTrue("'" + boolean24 + "' != '" + false + "'", boolean24 == false); org.junit.Assert.assertNotNull(jSType25); org.junit.Assert.assertNotNull(jSTypeArray30); org.junit.Assert.assertTrue("'" + boolean32 + "' != '" + false + "'", boolean32 == false); org.junit.Assert.assertNotNull(jSType33); org.junit.Assert.assertNotNull(jSTypeArray34); org.junit.Assert.assertTrue("'" + boolean36 + "' != '" + true + "'", boolean36 == true); org.junit.Assert.assertTrue("'" + boolean37 + "' != '" + false + "'", boolean37 == false); org.junit.Assert.assertNotNull(jSTypeItor38); org.junit.Assert.assertTrue("'" + int39 + "' != '" + 0 + "'", int39 == 0); org.junit.Assert.assertNotNull(jSTypeItor40); org.junit.Assert.assertNotNull(jSTypeArray48); org.junit.Assert.assertTrue("'" + boolean50 + "' != '" + false + "'", boolean50 == false); org.junit.Assert.assertNotNull(jSType51); org.junit.Assert.assertNotNull(jSTypeArray56); org.junit.Assert.assertTrue("'" + boolean58 + "' != '" + false + "'", boolean58 == false); org.junit.Assert.assertNotNull(jSType59); org.junit.Assert.assertNotNull(jSTypeArray64); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertNotNull(jSType67); org.junit.Assert.assertTrue("'" + boolean68 + "' != '" + false + "'", boolean68 == false); org.junit.Assert.assertNotNull(jSType69); org.junit.Assert.assertNotNull(jSTypeArray74); org.junit.Assert.assertTrue("'" + boolean76 + "' != '" + false + "'", boolean76 == false); org.junit.Assert.assertNotNull(jSType77); org.junit.Assert.assertNotNull(jSTypeArray78); org.junit.Assert.assertTrue("'" + boolean80 + "' != '" + true + "'", boolean80 == true); org.junit.Assert.assertTrue("'" + boolean81 + "' != '" + false + "'", boolean81 == false); org.junit.Assert.assertTrue("'" + booleanLiteralSet82 + "' != '" + com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE + "'", booleanLiteralSet82.equals(com.google.javascript.rhino.jstype.BooleanLiteralSet.FALSE)); org.junit.Assert.assertTrue("'" + boolean84 + "' != '" + true + "'", boolean84 == true); org.junit.Assert.assertTrue("'" + boolean86 + "' != '" + true + "'", boolean86 == true); org.junit.Assert.assertTrue("'" + int87 + "' != '" + (-1) + "'", int87 == (-1)); org.junit.Assert.assertNotNull(jSTypeSpliterator88); org.junit.Assert.assertTrue("'" + boolean89 + "' != '" + true + "'", boolean89 == true); org.junit.Assert.assertNotNull(jSTypeExpressionArray90); org.junit.Assert.assertNotNull(jSTypeExpressionArray91); org.junit.Assert.assertNotNull(node92); org.junit.Assert.assertNotNull(objArray93); org.junit.Assert.assertEquals(java.util.Arrays.deepToString(objArray93), "[]"); org.junit.Assert.assertEquals(java.util.Arrays.toString(objArray93), "[]"); org.junit.Assert.assertTrue("'" + boolean94 + "' != '" + false + "'", boolean94 == false); } @Test public void test4596() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4596"); com.google.javascript.rhino.Node node3 = com.google.javascript.rhino.Node.newNumber((double) 48, 23, (int) '#'); org.junit.Assert.assertNotNull(node3); } @Test public void test4597() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4597"); com.google.javascript.rhino.Node node3 = new com.google.javascript.rhino.Node(50, 1, 0); node3.removeProp((int) (short) 1); com.google.javascript.rhino.jstype.StaticSourceFile staticSourceFile6 = null; node3.setStaticSourceFile(staticSourceFile6); boolean boolean8 = node3.isString(); boolean boolean9 = node3.isThis(); java.lang.Iterable<com.google.javascript.rhino.Node> nodeIterable10 = node3.siblings(); java.util.Spliterator<com.google.javascript.rhino.Node> nodeSpliterator11 = nodeIterable10.spliterator(); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertTrue("'" + boolean9 + "' != '" + false + "'", boolean9 == false); org.junit.Assert.assertNotNull(nodeIterable10); org.junit.Assert.assertNotNull(nodeSpliterator11); } @Test public void test4598() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4598"); com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec assertionFunctionSpec1 = new com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec("Not declared as a constructor"); com.google.javascript.rhino.Node node4 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean5 = node4.isLabelName(); com.google.javascript.rhino.Node node8 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean9 = node8.isLabelName(); java.util.Set<java.lang.String> strSet10 = node8.getDirectives(); com.google.javascript.rhino.Node node12 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean13 = node12.isLabelName(); com.google.javascript.rhino.Node[] nodeArray14 = new com.google.javascript.rhino.Node[] { node8, node12 }; com.google.javascript.rhino.Node node17 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray14, 50, 50); boolean boolean18 = node4.isEquivalentTo(node17); com.google.javascript.rhino.Node node19 = new com.google.javascript.rhino.Node(50, node17); com.google.javascript.rhino.Node node21 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node22 = com.google.javascript.jscomp.NodeUtil.newExpr(node21); boolean boolean23 = node21.isScript(); com.google.javascript.rhino.Node node24 = node19.useSourceInfoIfMissingFrom(node21); com.google.javascript.rhino.Node node25 = assertionFunctionSpec1.getAssertedParam(node24); boolean boolean26 = node25.isDec(); int int27 = node25.getLineno(); node25.setSourceFileForTesting("true"); java.lang.Object obj31 = node25.getProp(204850); node25.setCharno((-2147483598)); org.junit.Assert.assertNotNull(node4); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(node8); org.junit.Assert.assertTrue("'" + boolean9 + "' != '" + false + "'", boolean9 == false); org.junit.Assert.assertNull(strSet10); org.junit.Assert.assertNotNull(node12); org.junit.Assert.assertTrue("'" + boolean13 + "' != '" + false + "'", boolean13 == false); org.junit.Assert.assertNotNull(nodeArray14); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(node21); org.junit.Assert.assertNotNull(node22); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + false + "'", boolean23 == false); org.junit.Assert.assertNotNull(node24); org.junit.Assert.assertNotNull(node25); org.junit.Assert.assertTrue("'" + boolean26 + "' != '" + false + "'", boolean26 == false); org.junit.Assert.assertTrue("'" + int27 + "' != '" + (-1) + "'", int27 == (-1)); org.junit.Assert.assertNull(obj31); } @Test public void test4599() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4599"); com.google.javascript.rhino.Node node3 = new com.google.javascript.rhino.Node(50, 1, 0); com.google.javascript.rhino.Node node6 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean7 = node6.isLabelName(); java.util.Set<java.lang.String> strSet8 = node6.getDirectives(); com.google.javascript.rhino.Node node10 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean11 = node10.isLabelName(); com.google.javascript.rhino.Node[] nodeArray12 = new com.google.javascript.rhino.Node[] { node6, node10 }; com.google.javascript.rhino.Node node15 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray12, 50, 50); com.google.javascript.rhino.Node node17 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node15.addChildToFront(node17); boolean boolean19 = node15.isNew(); com.google.javascript.rhino.JSDocInfo jSDocInfo20 = node15.getJSDocInfo(); node3.addChildrenToFront(node15); com.google.javascript.rhino.InputId inputId23 = new com.google.javascript.rhino.InputId("[]"); node15.setInputId(inputId23); java.lang.String str25 = inputId23.toString(); org.junit.Assert.assertNotNull(node6); org.junit.Assert.assertTrue("'" + boolean7 + "' != '" + false + "'", boolean7 == false); org.junit.Assert.assertNull(strSet8); org.junit.Assert.assertNotNull(node10); org.junit.Assert.assertTrue("'" + boolean11 + "' != '" + false + "'", boolean11 == false); org.junit.Assert.assertNotNull(nodeArray12); org.junit.Assert.assertNotNull(node17); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNull(jSDocInfo20); org.junit.Assert.assertEquals("'" + str25 + "' != '" + "InputId: []" + "'", str25, "InputId: []"); } @Test public void test4600() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest22.test4600"); com.google.javascript.rhino.Node node3 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean4 = node3.isLabelName(); java.util.Set<java.lang.String> strSet5 = node3.getDirectives(); com.google.javascript.rhino.Node node7 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean8 = node7.isLabelName(); com.google.javascript.rhino.Node[] nodeArray9 = new com.google.javascript.rhino.Node[] { node3, node7 }; com.google.javascript.rhino.Node node12 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray9, 50, 50); com.google.javascript.rhino.Node node14 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node12.addChildToFront(node14); boolean boolean16 = node14.isDefaultCase(); com.google.javascript.rhino.Node node17 = node14.getParent(); com.google.javascript.rhino.Node node20 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean21 = node20.isLabelName(); java.util.Set<java.lang.String> strSet22 = node20.getDirectives(); com.google.javascript.rhino.Node node24 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean25 = node24.isLabelName(); com.google.javascript.rhino.Node[] nodeArray26 = new com.google.javascript.rhino.Node[] { node20, node24 }; com.google.javascript.rhino.Node node29 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray26, 50, 50); com.google.javascript.rhino.Node node31 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node29.addChildToFront(node31); boolean boolean33 = node29.isNew(); com.google.javascript.rhino.JSDocInfo jSDocInfo34 = node29.getJSDocInfo(); com.google.javascript.rhino.Node node37 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean38 = node37.isLabelName(); java.util.Set<java.lang.String> strSet39 = node37.getDirectives(); com.google.javascript.rhino.Node node41 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean42 = node41.isLabelName(); com.google.javascript.rhino.Node[] nodeArray43 = new com.google.javascript.rhino.Node[] { node37, node41 }; com.google.javascript.rhino.Node node46 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray43, 50, 50); com.google.javascript.rhino.Node node48 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node46.addChildToFront(node48); com.google.javascript.rhino.Node node50 = node48.detachFromParent(); com.google.javascript.rhino.Node node53 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean54 = node53.isLabelName(); java.util.Set<java.lang.String> strSet55 = node53.getDirectives(); com.google.javascript.rhino.Node node57 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); boolean boolean58 = node57.isLabelName(); com.google.javascript.rhino.Node[] nodeArray59 = new com.google.javascript.rhino.Node[] { node53, node57 }; com.google.javascript.rhino.Node node62 = new com.google.javascript.rhino.Node((int) (short) 0, nodeArray59, 50, 50); com.google.javascript.rhino.Node node64 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); node62.addChildToFront(node64); boolean boolean66 = node62.isNew(); com.google.javascript.rhino.Node node68 = com.google.javascript.rhino.Node.newString("Not declared as a constructor"); com.google.javascript.rhino.Node node69 = node62.useSourceInfoFrom(node68); boolean boolean70 = node62.isFromExterns(); com.google.javascript.rhino.Node node71 = new com.google.javascript.rhino.Node((int) (byte) 100, node17, node29, node48, node62); boolean boolean72 = node62.isQuotedString(); com.google.javascript.rhino.Node node73 = node62.getLastChild(); boolean boolean74 = node73.isAssignAdd(); com.google.javascript.rhino.Node node75 = node73.cloneNode(); node75.setSourceEncodedPosition(53); boolean boolean78 = node75.isVar(); boolean boolean79 = node75.isGetterDef(); org.junit.Assert.assertNotNull(node3); org.junit.Assert.assertTrue("'" + boolean4 + "' != '" + false + "'", boolean4 == false); org.junit.Assert.assertNull(strSet5); org.junit.Assert.assertNotNull(node7); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(nodeArray9); org.junit.Assert.assertNotNull(node14); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertNotNull(node17); org.junit.Assert.assertNotNull(node20); org.junit.Assert.assertTrue("'" + boolean21 + "' != '" + false + "'", boolean21 == false); org.junit.Assert.assertNull(strSet22); org.junit.Assert.assertNotNull(node24); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); org.junit.Assert.assertNotNull(nodeArray26); org.junit.Assert.assertNotNull(node31); org.junit.Assert.assertTrue("'" + boolean33 + "' != '" + false + "'", boolean33 == false); org.junit.Assert.assertNull(jSDocInfo34); org.junit.Assert.assertNotNull(node37); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNull(strSet39); org.junit.Assert.assertNotNull(node41); org.junit.Assert.assertTrue("'" + boolean42 + "' != '" + false + "'", boolean42 == false); org.junit.Assert.assertNotNull(nodeArray43); org.junit.Assert.assertNotNull(node48); org.junit.Assert.assertNotNull(node50); org.junit.Assert.assertNotNull(node53); org.junit.Assert.assertTrue("'" + boolean54 + "' != '" + false + "'", boolean54 == false); org.junit.Assert.assertNull(strSet55); org.junit.Assert.assertNotNull(node57); org.junit.Assert.assertTrue("'" + boolean58 + "' != '" + false + "'", boolean58 == false); org.junit.Assert.assertNotNull(nodeArray59); org.junit.Assert.assertNotNull(node64); org.junit.Assert.assertTrue("'" + boolean66 + "' != '" + false + "'", boolean66 == false); org.junit.Assert.assertNotNull(node68); org.junit.Assert.assertNotNull(node69); org.junit.Assert.assertTrue("'" + boolean70 + "' != '" + false + "'", boolean70 == false); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertNotNull(node73); org.junit.Assert.assertTrue("'" + boolean74 + "' != '" + false + "'", boolean74 == false); org.junit.Assert.assertNotNull(node75); org.junit.Assert.assertTrue("'" + boolean78 + "' != '" + false + "'", boolean78 == false); org.junit.Assert.assertTrue("'" + boolean79 + "' != '" + false + "'", boolean79 == false); } }
true
de8f11eb6ad6abacef85e2bfe84a3d440e22b629
Java
meiwulang/spring-boot-distributed
/api/b2b-controllCenter/src/main/java/com/jdy/b2b/api/service/impl/OrderTouristConfirmServiceImpl.java
UTF-8
4,527
1.929688
2
[]
no_license
package com.jdy.b2b.api.service.impl; import com.alibaba.fastjson.JSON; import com.github.pagehelper.PageHelper; import com.jdy.b2b.api.dao.OrderTouristMapper; import com.jdy.b2b.api.dao.orderTouristConfirm.OrderTouristConfirmMapper; import com.jdy.b2b.api.dao.schedule.ScheduleSettingMapper; import com.jdy.b2b.api.model.OrderTourist; import com.jdy.b2b.api.model.orderRefund.OrderConfirm; import com.jdy.b2b.api.model.orderTouristConfirm.ConfirmTouristParam; import com.jdy.b2b.api.model.orderTouristConfirm.OrderTouristConfirm; import com.jdy.b2b.api.model.orderTouristConfirm.OrderTouristConfirmListParam; import com.jdy.b2b.api.model.schedule.ScheduleSetting; import com.jdy.b2b.api.model.scheduleplan.ScheduleTouristsDO; import com.jdy.b2b.api.model.scheduleplan.ScheduleTouristsQueryDTO; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; import java.util.Objects; /** * Created by dugq on 2018/5/11. */ @Service public class OrderTouristConfirmServiceImpl implements com.jdy.b2b.api.service.OrderTouristConfirmService { @Autowired OrderTouristConfirmMapper orderTouristConfirmMapper; @Autowired OrderTouristMapper orderTouristMapper; @Autowired ScheduleSettingMapper scheduleSettingMapper; @Override public int deleteByPrimaryKey(Long id) { return orderTouristConfirmMapper.deleteByPrimaryKey(id); } @Override public int insert(OrderTouristConfirm record) { return orderTouristConfirmMapper.insert(record); } @Override public int insertSelective(OrderTouristConfirm record) { return orderTouristConfirmMapper.insertSelective(record); } @Override public OrderTouristConfirm selectByPrimaryKey(Long id) { return orderTouristConfirmMapper.selectByPrimaryKey(id); } @Override public int updateByPrimaryKeySelective(OrderTouristConfirm record) { return orderTouristConfirmMapper.updateByPrimaryKeySelective(record); } @Override public int updateByPrimaryKey(OrderTouristConfirm record) { return orderTouristConfirmMapper.updateByPrimaryKey(record); } @Override public List<ScheduleTouristsDO> selectTouristListByScheduleSettingId(OrderTouristConfirmListParam dto) { if(!Boolean.TRUE.equals(dto.getExport())) { if (dto.getCurrPage() == null || dto.getCurrPage() == 0) { dto.setCurrPage(1); } PageHelper.startPage(dto.getCurrPage(), dto.getPageSize()); } return orderTouristConfirmMapper.selectTouristListByScheduleSettingId(dto); } @Override public List<ScheduleTouristsDO> selectConfirmTouristListByScheduleSettingId(OrderTouristConfirmListParam dto) { if(!Boolean.TRUE.equals(dto.getExport())) { if (dto.getCurrPage() == null || dto.getCurrPage() == 0) { dto.setCurrPage(1); } PageHelper.startPage(dto.getCurrPage(), dto.getPageSize()); } return orderTouristConfirmMapper.selectConfirmTouristListByScheduleSettingId(dto); } @Override public int confirmTourists(List<ConfirmTouristParam> param) { param.forEach(orderTouristParam->{ OrderTourist orderTourist = orderTouristMapper.selectByPrimaryKey(orderTouristParam.getTouristId()); if(Objects.isNull(orderTourist)){ throw new RuntimeException("not such tourist"); } OrderTouristConfirm orderTouristConfirm = orderTouristConfirmMapper.selectByTouristId(orderTourist.getId()); if(Objects.isNull(orderTouristConfirm)){ orderTouristConfirm = JSON.parseObject(JSON.toJSONString(orderTourist),OrderTouristConfirm.class); orderTouristConfirm.setTouristId(orderTouristConfirm.getId()); orderTouristConfirm.setId(null); orderTouristConfirm.setOtExtStatus(orderTouristParam.getStatus()); orderTouristConfirmMapper.insertSelective(orderTouristConfirm); return; }else{ orderTouristConfirm.setOtExtStatus(orderTouristParam.getStatus()); orderTouristConfirmMapper.updateByPrimaryKeySelective(orderTouristConfirm); } }); return param.size(); } @Override public Boolean hasTouristNotConfirmed(Long scheduleId) { return orderTouristConfirmMapper.hasAllTouristConfirmed(scheduleId); } }
true
ba7018520a1dc31129263028e508645b77096db7
Java
lumagomes/projeto_aps_entrega_final
/src/excecao/Excecao.java
ISO-8859-1
1,400
2.5
2
[]
no_license
package excecao; public class Excecao extends RuntimeException { /** * */ private static final long serialVersionUID = 1L; public static final String CARGO_INEXISTENTE = "cargo inexistente"; public static final String CARGO_JA_EXISTENTE = "cargo ja existente"; public static final String CARGO_FUNCAO_VALOR_INVALIDO = "funcao com valor invalido"; public static final String ENDERECO_CEP_INVALIDO = "endereco cep invalido"; public static final String ENDERECO_NUMERO_INVALIDO = "endereco numero invalido"; public static final String ENDERECO_RUA_INVALIDO = "endereco rua invalido"; public static final String ENDERECO_BAIRRO_INVALIDO = "endereco bairro invalido"; public static final String CPF_INVALIDO = "CPF invlido!"; public static final String TELEFONE_INVALIDO = "Telefone Invlido"; public static final String CPF_EXISTENTE = "CPF ja existe"; public static final String DATA_INVALIDA = "Data de Nascimento Invalida"; public static final String FUNCIONARIO_INEXISTENTE = "Funcionario inexistente"; public static final String PACIENTE_INEXISTENTE = "Paciente no existe"; public static final String NOME_OU_CODIGO_EXISTENTE = "Nome ou Cdigo ja existem."; public static final String CODIGO_EXCEDEU_LIMITE = "Codigo excedeu o limite maximo"; public static final String PLANO_INEXISTENTE = "Plano inexistente"; public Excecao(String msg) { super(msg); } }
true
e450cb1525b78a17d9d6f9a7b6f14f6697e3fd34
Java
meixuesong/refactoring-kata-java
/src/main/java/refactoring/smell/refused_bequest/Employee.java
UTF-8
200
1.890625
2
[ "Apache-2.0" ]
permissive
package refactoring.smell.refused_bequest; /** * @author <a href="mailto:meixuesong@gmail.com">Mei Xuesong</a> */ public class Employee { public boolean hasSalesQuota(int quota) { return false; } }
true
8e985ef27fb3becf8d401347e2c02c6a372d696d
Java
holdforther/ExShell
/src/main/java/com/psu/exshell/Knowledge/VarType.java
UTF-8
311
2.140625
2
[ "MIT" ]
permissive
package com.psu.exshell.Knowledge; public enum VarType { REQUESTED("Requested"), INFERRED("Inferred"), INFERRED_REQUESTED("Infer-Requested"); private String str; VarType(String str) { this.str = str; } @Override public String toString() { return str; } }
true
60451c2ea152776eaed8a54f11a6b165d8cfc63d
Java
jamesrbent1ey/androidtools
/bindable/bindable/src/main/java/lib/bindable/UIBindable.java
UTF-8
979
2.0625
2
[ "MIT", "BSD-3-Clause" ]
permissive
/* * Copyright (c) 2019. James Bentley, all rights reserved. */ package lib.bindable; import android.util.AttributeSet; /** * Specify a Class as Bindable */ public interface UIBindable { // namespace for XML attributes String NAMESPACE = "http://schemas.bindable.lib/widget"; String ANDROID_NAMESPACE = "http://schemas.android.com/apk/res/android"; String[] NAMESPACES = { ANDROID_NAMESPACE, NAMESPACE }; // common namespace attributes String XML_VISIBILITY = "visible"; // model element indicating visibility (visible, invisible, gone) String XML_ENABLED = "enabled"; // model element indicating enable state (true/false) /** * Get a set of XML defined attributes exported by this object * @return */ AttributeSet getExportableAttributes(); /** * Get the scope this object is bound to * @return currently bound scope */ UIScope getScope(); }
true
14e9cd9e81fc85fe97cdf182edfaba292ec21349
Java
mmaico/salesman-crm
/src/main/java/br/com/kproj/salesman/assistants/archive/application/impl/ArchiveServiceImpl.java
UTF-8
2,102
1.992188
2
[]
no_license
package br.com.kproj.salesman.assistants.archive.application.impl; import br.com.kproj.salesman.assistants.archive.application.ArchiveFacade; import br.com.kproj.salesman.assistants.archive.domain.model.archive.Archive; import br.com.kproj.salesman.assistants.archive.domain.model.archive.ArchiveRepository; import br.com.kproj.salesman.assistants.archive.domain.model.archive.ArchiveValidator; import br.com.kproj.salesman.assistants.archive.domain.model.owner.Owner; import br.com.kproj.salesman.assistants.archive.domain.model.owner.OwnerChangeArchive; import br.com.kproj.salesman.assistants.archive.domain.model.participant.Participant; import br.com.kproj.salesman.assistants.archive.domain.model.participant.ParticipantChangeArchive; import br.com.kproj.salesman.infrastructure.repository.BaseRepository; import br.com.kproj.salesman.infrastructure.service.BaseModelServiceImpl; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.Optional; @Service public class ArchiveServiceImpl extends BaseModelServiceImpl<Archive> implements ArchiveFacade { private ArchiveRepository repository; private ArchiveValidator validator; @Autowired public ArchiveServiceImpl(ArchiveRepository repository, ArchiveValidator validator) { this.repository = repository; this.validator = validator; } @Override public Optional<Archive> register(OwnerChangeArchive changeArchive) { Archive archive = changeArchive.getArchive(); Owner owner = changeArchive.getOwner(); this.validator.checkRules(archive); return owner.save(archive); } @Override public Optional<Archive> register(ParticipantChangeArchive changeArchive) { Archive archive = changeArchive.getArchive(); Participant participant = changeArchive.getParticipant(); this.validator.checkRules(archive); return participant.save(archive); } @Override public BaseRepository<Archive, Long> getRepository() { return repository; } }
true
d763af84b222f367c861a6ee406b72bf4079ed86
Java
TejrajJadhav/NewsApp
/app/src/main/java/Entity/MainSource.java
UTF-8
427
2.28125
2
[]
no_license
package Entity; import java.util.ArrayList; import java.util.List; /** * Created by Tejraj on 17-Mar-19. */ public class MainSource { public String status; public List<MainSourceData> sources = new ArrayList<>(); public MainSource() { } public MainSource(String status, List<MainSourceData> mainSourceDataList) { this.status = status; this.sources = mainSourceDataList; } }
true
e6b7a9d1de682558a1e53c614231f20c77ac92c0
Java
ZhouYangGaoGao/MT
/maTao/src/main/java/com/matao/activity/ForgotPwActivity.java
UTF-8
6,740
2
2
[]
no_license
package com.matao.activity; import org.json.JSONException; import android.content.Intent; import android.os.CountDownTimer; import android.text.TextUtils; import android.view.View; import android.widget.EditText; import android.widget.TextView; import com.alibaba.fastjson.JSON; import com.lidroid.xutils.http.RequestParams; import com.matao.bean.Bean; import com.matao.bean.Data; import com.matao.matao.R; import com.matao.utils.Logger; import com.matao.utils.MD5Util; import com.matao.utils.MTUtils; import com.matao.utils.SendActtionTool; import com.matao.utils.ServiceAction; import com.matao.utils.URLs; import com.matao.utils.UserAction; import com.matao.view.TopBar; import com.matao.view.TopBar.topBarClickListener; /** * @author: ZhangYaWei * @time:2015-4-22 下午4:30:11 * @Description:忘记密码获取验证码 */ public class ForgotPwActivity extends BaseActivity { private TextView getCode, verifybtn; private TopBar topBar; private MyCountDownTimer mc; private EditText telephone, verifyCode; private String code;// 接受自服务端的验证码 private String token; private int forgotuserId; @Override public void onClick(View v) { String phone = telephone.getText().toString().trim(); switch (v.getId()) { case R.id.get_code: if (TextUtils.isEmpty(phone)) { MTUtils.Toast(this, "手机号码不能为空"); } else if (MTUtils.isPhone(phone)) { getTelephoneCode(phone); mc = new MyCountDownTimer(60001, 1000); mc.start(); getCode.setTextColor(0xffffffff); getCode.setBackgroundResource(R.drawable.btn_validation_2); getCode.setClickable(false); } else { MTUtils.Toast(this, "手机号格式不正确"); } break; case R.id.forgotpw_verify: // error 验证码 三十分钟 String xCode = verifyCode.getText().toString().trim(); if (TextUtils.isEmpty(phone)) { MTUtils.Toast(this, "手机号码不能为空"); } else if (TextUtils.isEmpty(xCode)) { MTUtils.Toast(this, "验证码不能为空"); } else if (xCode.equals(code)) { if (mc != null) { mc.cancel(); mc.onFinish(); } Intent intent = new Intent(ForgotPwActivity.this, ResetPwActivity.class); Logger.i("验userId码>>>", forgotuserId); intent.putExtra("forgotuserId", forgotuserId);// 是否三方 intent.putExtra("token", token);// 三方媒体 ID startActivity(intent); this.finish(); } else { MTUtils.Toast(this, "验证码错误"); } break; } } @Override public void onSuccess(ServiceAction service, Object action, Object value) { super.onSuccess(service, action, value); Logger.i("收到服务器验证码===》》", value.toString()); switch ((UserAction) action) { case Action_Get_Code: Bean bean = JSON.parseObject(value.toString(), Bean.class); code = bean.getData().getVerificationCode(); Logger.i("验证码>>>", code + "a"); Data ben = bean.getData(); forgotuserId = ben.getUserId(); token = ben.getToken(); Logger.i("验userId码>>>", forgotuserId + "a" + token); break; } } @Override public void onFaile(ServiceAction service, Object action, Object value) { super.onFaile(service, action, value); Logger.i("接收验证码失败===》》", value.toString()); switch ((UserAction) action) { case Action_Get_Code: org.json.JSONObject object; try { object = new org.json.JSONObject(value.toString()); String str = object.optString("Msg", ""); MTUtils.Toast(this, str); if (mc != null) { mc.cancel(); mc.onFinish(); } } catch (JSONException e) { e.printStackTrace(); } break; } } @Override public void onException(ServiceAction service, Object action, Object value) { super.onException(service, action, value); if (mc != null) { mc.cancel(); mc.onFinish(); } } @Override public void onStart(ServiceAction service, Object action) { super.onStart(service, action); } @Override public void onFinish(ServiceAction service, Object action) { super.onFinish(service, action); } // 忘记密码 找回密码 private void getTelephoneCode(String phone) { String MobileNumber = phone; String TimeStamp = MTUtils.getTimeStamp(); org.json.JSONObject json = new org.json.JSONObject(); try { json.put("Sign", MD5Util.getLowerCaseMD5(MobileNumber + TimeStamp + URLs.KEY)); json.put(URLs.MOBILE_NUMBER, MobileNumber); json.put(URLs.TIME_STAMP, TimeStamp); } catch (JSONException e) { e.printStackTrace(); } Logger.i("请求》》", json.toString()); Logger.i("请求1》》", TimeStamp); // 发送请求 RequestParams params = new RequestParams(); params.addBodyParameter(URLs.JSON_INFO, json.toString()); SendActtionTool.post(URLs.FORGOTPW, ServiceAction.Action_User, UserAction.Action_Get_Code, this, params); } @Override public void setContentView() { setContentView(R.layout.activity_forgotpw); } @Override public void findViewById() { getCode = (TextView) findViewById(R.id.get_code); verifybtn = (TextView) findViewById(R.id.forgotpw_verify); telephone = (EditText) findViewById(R.id.telephone_number); verifyCode = (EditText) findViewById(R.id.forgotpw_verfiycode); topBar = (TopBar) findViewById(R.id.forgotpw_topbar); topBar.setOnTopBarClickListener(new topBarClickListener() { @Override public void rightClick() { } @Override public void leftClick() { if (mc != null) { mc.cancel(); mc.onFinish(); } finish(); } }); getCode.setOnClickListener(this); verifybtn.setOnClickListener(this); } @Override public void finish() { super.finish(); overridePendingTransition(R.anim.slide_right_in, R.anim.slide_right_out); } @Override public void onBackPressed() { super.onBackPressed(); finish(); } /** * @author: ZhouYang * @time:2015-5-15 下午4:21:18 * @Description:发送验证码倒计时 */ class MyCountDownTimer extends CountDownTimer { /** * * * @param millisInFuture * 表示以毫秒为单位 倒计时的总数 * * 例如 * millisInFuture=1000 表示1秒 * * @param countDownInterval * 表示 间隔 多少微秒 * 调用一次 onTick 方法 * * 例如: countDownInterval =1000 ; * 表示每1000毫秒调用一次onTick() * */ public MyCountDownTimer(long millisInFuture, long countDownInterval) { super(millisInFuture, countDownInterval); } @Override public void onFinish() { getCode.setTextColor(0xff666666); getCode.setBackgroundResource(R.drawable.btn_validation_1); getCode.setText("重新发送"); getCode.setClickable(true); } @Override public void onTick(long millisUntilFinished) { getCode.setText("重新发送(" + millisUntilFinished / 1000 + ")"); } } }
true
e3543d0b53220e66db4f032ab0aaf574d374d537
Java
iamfaith/backupCode
/src/main/java/cn/bmob/v3/datatype/a/thing.java
UTF-8
10,052
1.773438
2
[]
no_license
package cn.bmob.v3.datatype.a; import android.util.Log; import cn.bmob.v3.Bmob; import cn.bmob.v3.a.b.This; import cn.bmob.v3.exception.BmobException; import java.io.File; import java.io.IOException; import java.io.RandomAccessFile; import java.util.Arrays; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.Map; import org.apache.http.cookie.ClientCookie; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; /* compiled from: BlockUploader */ public final class thing implements Runnable { private I B; private File C; private String Code; private String D; private String F; private long I; private int L; private This S; private String V; private mine Z; private String a; private String b; private RandomAccessFile c = null; private int[] d; private This e; private Map<String, Object> f; private String g; private darkness h; private int i; private int j; public thing(This thisR, File file, Map<String, Object> map, String str, darkness cn_bmob_v3_datatype_a_darkness, I i, mine cn_bmob_v3_datatype_a_mine) { this.S = thisR; this.C = file; this.f = map; this.Z = cn_bmob_v3_datatype_a_mine; this.B = i; this.g = str; this.h = cn_bmob_v3_datatype_a_darkness; this.j = Bmob.getFileBlockSize(); } public final void run() { try { this.Code = (String) this.f.remove("bucket"); this.V = "http://m0.api.upyun.com/" + this.Code; this.I = ((Long) this.f.get("expiration")).longValue(); this.f.put("file_blocks", Integer.valueOf(This.Code(this.C, this.j))); this.f.put("file_size", Long.valueOf(this.C.length())); this.f.put("file_hash", This.Code(this.C)); String str = (String) this.f.remove("save-key"); String str2 = (String) this.f.get(ClientCookie.PATH_ATTR); if (str != null && str2 == null) { this.f.put(ClientCookie.PATH_ATTR, str); } this.F = This.Code(this.f); if (this.g != null) { this.D = This.Code(this.f, this.g); } else if (this.h != null) { this.D = this.h.Code(Code(this.f)); } else { throw new RuntimeException("apikey 和 signatureListener 不可都为null"); } this.c = new RandomAccessFile(this.C, "r"); this.L = This.Code(this.C, this.j); V(); } catch (Throwable e) { throw new RuntimeException("文件不存在", e); } } private void Code(int i) { int i2; Exception exception; Exception e; while (true) { if (this.e == null) { this.e = new This(); } try { this.e.Code = V(i); } catch (BmobException e2) { this.B.Code(false, e2.toString()); } Map hashMap = new HashMap(); hashMap.put("save_token", this.a); hashMap.put("expiration", Long.valueOf(this.I)); hashMap.put("block_index", Integer.valueOf(this.d[i])); hashMap.put("block_hash", This.Code(this.e.Code)); String Code = This.Code(hashMap); String Code2 = This.Code(hashMap, this.b); Map hashMap2 = new HashMap(); hashMap2.put("policy", Code); hashMap2.put("signature", Code2); this.e.I = this.C.getName(); this.e.V = hashMap2; try { this.S.Code(this.V, this.e); if (this.Z != null) { this.Z.Code((long) i, (long) this.d.length); } i2 = i + 1; try { if (i == this.d.length - 1) { Code(); this.e = null; return; } this.e = null; i = i2; } catch (Exception e3) { i = i2; exception = e3; e3 = exception; try { i2 = this.i + 1; this.i = i2; if (i2 > 2 || ((e3 instanceof BmobException) && ((BmobException) e3).getErrorCode() / 100 != 5)) { this.B.Code(false, e3.getMessage()); this.e = null; } this.e = null; } catch (Throwable th) { this.e = null; } } catch (Exception e32) { i = i2; exception = e32; e32 = exception; i2 = this.i + 1; this.i = i2; if (i2 > 2) { break; } break; this.B.Code(false, e32.getMessage()); this.e = null; } } catch (IOException e4) { exception = e4; e32 = exception; i2 = this.i + 1; this.i = i2; if (i2 > 2) { break; } break; this.B.Code(false, e32.getMessage()); this.e = null; } catch (BmobException e5) { exception = e5; e32 = exception; i2 = this.i + 1; this.i = i2; if (i2 > 2) { break; } break; this.B.Code(false, e32.getMessage()); this.e = null; } } this.B.Code(false, e32.getMessage()); this.e = null; } private void Code() { Exception e; while (true) { Map hashMap = new HashMap(); hashMap.put("expiration", Long.valueOf(this.I)); hashMap.put("save_token", this.a); String Code = This.Code(hashMap); String Code2 = This.Code(hashMap, this.b); Map linkedHashMap = new LinkedHashMap(); linkedHashMap.put("policy", Code); linkedHashMap.put("signature", Code2); try { Code2 = this.S.Code(this.V, linkedHashMap); this.Z.Code((long) this.d.length, (long) this.d.length); this.B.Code(true, Code2); return; } catch (IOException e2) { e = e2; } catch (BmobException e3) { e = e3; } } this.B.Code(false, e.getMessage()); e.printStackTrace(); int i = this.i + 1; this.i = i; if (i > 2 || ((e instanceof BmobException) && ((BmobException) e).getErrorCode() / 100 != 5)) { this.B.Code(false, e.getMessage()); } } private void V() { Exception e; int i; Map linkedHashMap = new LinkedHashMap(); linkedHashMap.put("policy", this.F); linkedHashMap.put("signature", this.D); try { JSONObject jSONObject = new JSONObject(this.S.Code(this.V, linkedHashMap)); this.a = jSONObject.optString("save_token"); this.b = jSONObject.optString("token_secret"); this.d = Code(jSONObject.getJSONArray("status")); if (this.d.length == 0) { Code(); } else { Code(0); } } catch (IOException e2) { e = e2; e.printStackTrace(); i = this.i + 1; this.i = i; if (i <= 2 || ((e instanceof BmobException) && ((BmobException) e).getErrorCode() / 100 != 5)) { this.B.Code(false, e.getMessage()); } else { V(); } } catch (BmobException e3) { e = e3; e.printStackTrace(); i = this.i + 1; this.i = i; if (i <= 2) { } this.B.Code(false, e.getMessage()); } catch (JSONException e4) { e4.printStackTrace(); this.B.Code(false, e4.getMessage()); } } private byte[] V(int i) throws BmobException { if (i > this.L) { Log.e("Block index error", "the index is bigger than totalBlockNum."); throw new BmobException("readBlockByIndex: the index is bigger than totalBlockNum."); } Object obj = new byte[this.j]; try { this.c.seek((long) (this.d[i] * this.j)); int read = this.c.read(obj, 0, this.j); if (read >= this.j) { return obj; } Object obj2 = new byte[read]; System.arraycopy(obj, 0, obj2, 0, read); return obj2; } catch (IOException e) { throw new BmobException(e.getMessage()); } } private static int[] Code(JSONArray jSONArray) throws JSONException { int i; int i2 = 0; int i3 = 0; for (i = 0; i < jSONArray.length(); i++) { if (jSONArray.getInt(i) == 0) { i3++; } } int[] iArr = new int[i3]; i = 0; while (i2 < jSONArray.length()) { if (jSONArray.getInt(i2) == 0) { iArr[i] = i2; i++; } i2++; } return iArr; } private static String Code(Map<String, Object> map) { Object[] toArray = map.keySet().toArray(); Arrays.sort(toArray); StringBuffer stringBuffer = new StringBuffer(""); for (Object obj : toArray) { stringBuffer.append(obj).append(map.get(obj)); } return stringBuffer.toString(); } }
true
4aea6100b0e2dd05763fb14dc5b4fc1461578797
Java
himanshu0143/newdemo1
/SAMERP/src/admin/settings/AddClient.java
UTF-8
4,424
2.078125
2
[]
no_license
package admin.settings; import java.io.IOException; import java.io.PrintWriter; import java.util.Iterator; import java.util.List; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.omg.CORBA.Request; import dao.General.GenericDAO; import utility.RequireData; public class AddClient extends HttpServlet { protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/html"); PrintWriter out=response.getWriter(); GenericDAO gd=new GenericDAO(); if(request.getParameter("insert")!=null) { String coname=request.getParameter("coname"); String cname=request.getParameter("cname"); String contactno1=request.getParameter("contactno1"); String contactno2=request.getParameter("contactno2"); String email=request.getParameter("email"); String address=request.getParameter("address"); String cbamount=request.getParameter("bamount"); String query="insert into `client_details` (`client_orgnization_name`,`client_name`,`client_contactno1`,`client_contactno2`,`client_email`,`client_address`,`client_balance_amount`) values('"+coname+"','"+cname+"','"+contactno1+"','"+contactno2+"','"+email+"','"+address+"','"+cbamount+"')"; System.out.println(query); int i=gd.executeCommand(query); if(i==1) { System.out.println("inserted successfully"); request.setAttribute("status","Inserted Successfully"); RequestDispatcher rd=request.getRequestDispatcher("jsp/admin/settings/addClient.jsp"); rd.include(request, response); } else { System.out.println("please try again"); RequestDispatcher rd=request.getRequestDispatcher("jsp/admin/settings/addClient.jsp"); rd.include(request, response); } } if(request.getParameter("delete")!=null) { String delete="delete from `client_details` where `client_id`="+request.getParameter("delete")+""; System.out.println("Delete Query:"+delete); int data=gd.executeCommand(delete); if(data==1) { System.out.println("Deleted Successfully"); request.setAttribute("status","Deleted Successfully"); RequestDispatcher rd=request.getRequestDispatcher("jsp/admin/settings/addClient.jsp"); rd.include(request, response); }else { System.out.println("Please try again"); RequestDispatcher rd=request.getRequestDispatcher("jsp/admin/settings/addClient.jsp"); rd.include(request, response); } } if(request.getParameter("updateid")!=null) { String RowId=request.getParameter("updateid"); RequireData rd=new RequireData(); List demoList=rd.setClientDetails(RowId); Iterator itr=demoList.iterator(); while(itr.hasNext()) { out.print(itr.next()+","); } } if(request.getParameter("save")!=null) { String id=request.getParameter("Updateid"); String coname=request.getParameter("coname"); String cname=request.getParameter("cname"); String contactno1=request.getParameter("contactno1"); String contactno2=request.getParameter("contactno2"); String email=request.getParameter("email"); String address=request.getParameter("address"); int cbamount=Integer.parseInt(request.getParameter("bamount")); String query="update `client_details` set `client_orgnization_name`='"+coname+"',`client_name`='"+cname+"',`client_contactno1`='"+contactno1+"',`client_contactno2`='"+contactno2+"',`client_email`='"+email+"',`client_address`='"+address+"',`client_balance_amount`='"+cbamount+"' where `client_id`="+id+""; int i=gd.executeCommand(query); if(i==1) { System.out.println("updated Successfully"); request.setAttribute("status", "update Successfully"); RequestDispatcher rd=request.getRequestDispatcher("jsp/admin/settings/addClient.jsp"); rd.include(request, response); } else { System.out.println("Please try again"); RequestDispatcher rd=request.getRequestDispatcher("jsp/admin/settings/addClient.jsp"); rd.include(request, response); } } } protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { // TODO Auto-generated method stub doGet(request, response); } }
true
fc1f438d24f5351ae8e7042bf06125c8f26a02c0
Java
FacuMastri/7507-Algo3
/Finales/02_03_17_final/02-03-17-alumno/src/personajes/Goku.java
UTF-8
742
2.578125
3
[ "MIT" ]
permissive
package personajes; import niveles.Nivel; import niveles.NivelSaiyajin; import niveles.NivelSuperSaiyajin; public class Goku extends Personaje { private Nivel nivel; public Goku() { super(); this.nivel = new NivelSaiyajin(); } public void evolucionar() { this.nivel = new NivelSuperSaiyajin(); } @Override public void atacar(Atacable objetivo) { this.nivel.atacar(this, objetivo); } @Override public void recibirDanio(Atacante atacante) { atacante.atacar(this); } @Override public void recibirDanio(Goku atacante, int danio) { // Goku no le puede hacer danio a Goku } @Override public void recibirDanio(Freezer atacante, int danio) { this.reducirVida(danio); } }
true
e8fa25c5045890519c7f4051fa12c18ccbe1ebc9
Java
thomashaaland/ObjectOrientedProgramming
/eksamen/opg1_2/Sted.java
UTF-8
1,067
3.28125
3
[]
no_license
/* --*java*-- Klassen sted har en beskrivelse av stedet, har mulighet for aa ha en skattkiste og har utganger som lenker til nabosteder */ import java.util.ArrayList; import java.util.Random; public class Sted { // Beskrivelsen skal lastes fra filen <<steder.txt>> private String beskrivelse; private Skattkiste kiste; private Sted neste = null; // Konstruktor // param @ String beskrivelse beskriver stedet public Sted(String beskrivelse) { this.beskrivelse = beskrivelse; } // Metode for aa plassere ut kiste public void plasserSkattkiste() { Random rand = new Random(); kiste = new Skattkiste(rand.nextInt(5)); } // Metode for aa sende skattkiste til spiller public Skattkiste hentKiste() { return kiste; } // Metode for aa gaa til neste sted public Sted gaaVidere() { return neste; } // Metode for aa legge til neste sted public void leggTilSted(Sted neste) { this.neste = neste; } @Override public String toString() { return beskrivelse; } }
true
fc3353f86c180533652a76f7b05976b6b06eac10
Java
Gate16/my_great_nz
/src/main/java/org/govhack/gate16/service/impl/IndustryServiceImpl.java
UTF-8
4,136
2.453125
2
[]
no_license
package org.govhack.gate16.service.impl; import org.govhack.gate16.service.IndustryService; import org.govhack.gate16.domain.Industry; import org.govhack.gate16.repository.IndustryRepository; import org.govhack.gate16.repository.search.IndustrySearchRepository; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.transaction.annotation.Transactional; import org.springframework.stereotype.Service; import javax.inject.Inject; import java.util.List; import static org.elasticsearch.index.query.QueryBuilders.*; /** * Service Implementation for managing Industry. */ @Service @Transactional public class IndustryServiceImpl implements IndustryService{ private final Logger log = LoggerFactory.getLogger(IndustryServiceImpl.class); @Inject private IndustryRepository industryRepository; @Inject private IndustrySearchRepository industrySearchRepository; /** * Save a industry. * * @param industry the entity to save * @return the persisted entity */ public Industry save(Industry industry) { log.debug("Request to save Industry : {}", industry); Industry result = industryRepository.save(industry); industrySearchRepository.save(result); return result; } /** * Get all the industries. * * @param pageable the pagination information * @return the list of entities */ @Transactional(readOnly = true) public Page<Industry> findAll(Pageable pageable) { log.debug("Request to get all Industries"); Page<Industry> result = industryRepository.findAll(pageable); return result; } /** * Get one industry by id. * * @param id the id of the entity * @return the entity */ @Transactional(readOnly = true) public Industry findOne(Long id) { log.debug("Request to get Industry : {}", id); Industry industry = industryRepository.findOne(id); return industry; } /** * Delete the industry by id. * * @param id the id of the entity */ public void delete(Long id) { log.debug("Request to delete Industry : {}", id); industryRepository.delete(id); industrySearchRepository.delete(id); } /** * Search for the industry corresponding to the query. * * @param query the query of the search * @return the list of entities */ @Transactional(readOnly = true) public Page<Industry> search(String query, Pageable pageable) { log.debug("Request to search for a page of Industries for query {}", query); return industrySearchRepository.search(queryStringQuery(query), pageable); } public List<Industry> findByRegion(String region) { log.debug("Request to get list of Industry by region: {}", region); List<Industry> industries = industryRepository.findByRegion(region); return industries; } public float getIndustryPercentage(String regionName, String industryName) { log.debug("Request to get industry percentage for region:{} with industry: {}", regionName, industryName); float result = 0; Integer totalManPowerByRegionAndIndustry = industryRepository.getTotalManPowerByRegionAndIndustry(regionName, industryName); Integer totalManPowerOfAllIndustryInRegion = industryRepository.getTotalManPowerOfAllIndustryInRegion(regionName); if(totalManPowerOfAllIndustryInRegion > 0) { result = 100 * totalManPowerByRegionAndIndustry / totalManPowerOfAllIndustryInRegion; } log.debug("getIndustryPercentage: {} (%)", result ); return result; } public Industry getIndustryByRegionAndIndustryName(String regionName, String industryName) { log.debug("Request to get industry detail for region:{} with industry: {}", regionName, industryName); return industryRepository.findByRegionAndIndustryName(regionName, industryName); } }
true
46e5f12d1c9804f8de645ea84b2a60d4154259d7
Java
Rijo0707/Javacourse
/MatrixOperations.java
UTF-8
879
3.90625
4
[]
no_license
public class MatrixOperations { static void sum(int a[][],int b[][]) //Sum of 2 matrices { int sum[][]=new int[3][3]; for(int i=0;i<3;i++) { for(int j=0;j<3;j++) { sum[i][j]=a[i][j]+b[i][j]; System.out.print(sum[i][j]+" "); } System.out.println(); } } static void product(int a[][],int b[][]) //Product of 2 matrices { int product[][]=new int[3][3]; for(int i=0;i<3;i++) { for(int j=0;j<3;j++) { product[i][j]=0; for(int k=0;k<3;k++) { product[i][j]+=a[i][k]*b[k][j]; } System.out.print(product[i][j]+" "); } System.out.println(); } } public static void main(String[] args) { int a[][]={{1,3,4},{2,4,3},{3,4,5}}; int b[][]={{1,3,4},{2,4,3},{1,2,4}}; System.out.println("Sum of 2 matrices are-"); sum(a,b); System.out.println("Product of 2 matrices are-"); product(a,b); } }
true
ab871b3cd5b8c7a98e2187c516c9d801f2b4cbb8
Java
katiebittner/umm_casino
/src/main/java/Casino.java
UTF-8
3,697
3.328125
3
[]
no_license
import java.util.Scanner; public class Casino { public static String playersName = "Default"; public static int playersCash = 100; private boolean stayingame = true; Scanner scan; public static void main(String[] args) { Casino casino = new Casino(); } Casino() { System.out.println(ArtWork.welcome); scan = new Scanner(System.in); options(); } //main menu public void options() { while (stayingame) { if (playersCash == 0) { System.out.println("You're now broke. Do you A: Lunge at a table, grab a handful of chips, and make a run for it? " + "B: Get absolutely annihilated drunk on stolen drinks. or C: Try to plead your case to the Unemployed Murder Monkeys?"); while (!scan.hasNext()) { } char userInput = Character.toUpperCase(scan.next().charAt(0)); switch (userInput) { default: { System.out.println(ArtWork.angrymonkey); System.out.println("You have displeased the monkeys and have been thrown out of the casino!"); stayingame = false; break; } } } if (stayingame) { System.out.println("WELCOME TO THE MAIN MENU"); System.out.println("Would you like add a player ('A'), " + "select a game ('G'), or view credits ('C')?"); while (!scan.hasNext()) { } char userChoice = Character.toUpperCase(scan.next().charAt(0)); switch (userChoice) { case ('A'): { addPlayer(); options(); } break; case ('G'): { if (playersName.equals("Default")) { System.out.println("Please add a player first."); } else { selectGame(); } } break; case ('C'): { credits(); options(); } break; default: { System.out.println("Please enter a valid command."); options(); } } } } } void addPlayer() { System.out.println("Enter player's name."); while (!scan.hasNext()) { } playersName = scan.next(); System.out.println("We've credited your account with $100. If only all casinos worked like this!"); playersCash = 100; } void selectGame() { System.out.println("Choose from Blackjack, Bacarat, or NumberGame."); String newGame; while (!scan.hasNext()) { } newGame = scan.next(); if (newGame.equalsIgnoreCase("Blackjack")) { System.out.println(ArtWork.blackjack); new BlackJack(); } if (newGame.equalsIgnoreCase("Bacarat")) { System.out.println(ArtWork.bacarat); new Bacarat(); } if (newGame.equalsIgnoreCase("Numbergame")) { System.out.println(ArtWork.numbergame); new NumberGame(); } } void credits() { System.out.println("Made by the UMM crew: Katie Bittner, John Davis," + "Jocelyn Harper, Will Scown. January 2016"); options(); } }
true
13819eedd204b1fdd8dedd511d24af4ac321693c
Java
aaronmichaelwilliams/Tests
/Review.java
UTF-8
3,412
2.125
2
[]
no_license
public class Review { private int id; private int cust_id; private String date_crtd; private String title; private String desc; private int score; private int authenticness; private int heat; private int service; private int price; private String location; private String postcode; boolean published; private String date_published; public String getImage() { return image; } public void setImage(String image) { this.image = image; } public String getMetadata() { return metadata; } public void setMetadata(String metadata) { this.metadata = metadata; } public String getKeywords() { return keywords; } public void setKeywords(String keywords) { this.keywords = keywords; } private String image; private String metadata; private String keywords; private String date_unpublished; private String last_updated; public int getId() { return id; } public void setId(int id) { this.id = id; } public int getCust_id() { return cust_id; } public void setCust_id(int cust_id) { this.cust_id = cust_id; } public String getDate_crtd() { return date_crtd; } public void setDate_crtd(String date_crtd) { this.date_crtd = date_crtd; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getDesc() { return desc; } public void setDesc(String desc) { this.desc = desc; } public int getScore() { return score; } public void setScore(int score) { this.score = score; } public int getAuthenticness() { return authenticness; } public void setAuthenticness(int authenticness) { this.authenticness = authenticness; } public int getHeat() { return heat; } public void setHeat(int heat) { this.heat = heat; } public int getService() { return service; } public void setService(int service) { this.service = service; } public int getPrice() { return price; } public void setPrice(int price) { this.price = price; } public String getLocation() { return location; } public void setLocation(String location) { this.location = location; } public String getPostcode() { return postcode; } public void setPostcode(String postcode) { this.postcode = postcode; } public boolean isPublished() { return published; } public void setPublished(boolean published) { this.published = published; } public String getDate_published() { return date_published; } public void setDate_published(String date_published) { this.date_published = date_published; } public String getDate_unpublished() { return date_unpublished; } public void setDate_unpublished(String date_unpublished) { this.date_unpublished = date_unpublished; } public String getLast_updated() { return last_updated; } public void setLast_updated(String last_updated) { this.last_updated = last_updated; } }
true
1ff90fb371f760dbbd32ea613d5cb8489f7d61f7
Java
ghdwodi/jspstudy
/0420_EL_JSTL_bbs/src/com/hb/mybbs/DAO.java
UTF-8
1,856
2.390625
2
[]
no_license
package com.hb.mybbs; import java.util.List; import java.util.Map; import org.apache.ibatis.session.SqlSession; // DB 관련된 모든 것을 DAO에서 처리한다. public class DAO { private static SqlSession ss; // 싱글 턴 패턴 : 프로그램이 끝날 때까지 해당 객체는 하나로 유지한다. private synchronized static SqlSession getSql() { if(ss==null){ ss = DBService.getFactory().openSession(false); } return ss; } public static int getTotalCount(){ return getSql().selectOne("totalcount"); } // 원글 list 처리 메소드 public static List<BBS_VO> getList(Map<String, Integer> map){ return getSql().selectList("list",map); } // 원글 삽입 public static int getInsert(BBS_VO bvo){ int res = getSql().insert("insert", bvo); ss.commit(); return res; } // 원글 상세보기 public static BBS_VO getOnelist(String b_idx){ return getSql().selectOne("onelist", b_idx); } // 히트수 업데이트 public static void getHit(BBS_VO bvo){ getSql().insert("hit", bvo); ss.commit(); } // 원글 업데이트 public static int getUpdate(BBS_VO bvo){ int res = getSql().update("update", bvo); ss.commit(); return res; } // delete 메소드 public static int getDelete(String idx){ int result = getSql().delete("delete", idx); ss.commit(); return result; } // 댓글 리스트 public static List<Comm_VO> getCommList(String b_idx){ return getSql().selectList("commlist",b_idx); } // 댓글 삽입 public static int getCommentInsert(Comm_VO cvo){ int res = getSql().insert("insertcomment", cvo); ss.commit(); return res; } // 댓글 delete 메소드 public static int getCommDelete(String c_idx){ int result = getSql().delete("deletecomment", c_idx); ss.commit(); return result; } }
true
04a3a1f13d39c4c60d34965607c31dfd2e51dcaf
Java
413697524/myTaoTao
/springboot/src/main/java/com/itheima/service/impl/TbItemServiceImpl.java
UTF-8
480
1.53125
2
[]
no_license
package com.itheima.service.impl; import com.itheima.entity.TbItem; import com.itheima.mapper.TbItemMapper; import com.itheima.service.TbItemService; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import org.springframework.stereotype.Service; /** * <p> * 商品表 服务实现类 * </p> * * @author K神带你飞 * @since 2018-08-28 */ @Service public class TbItemServiceImpl extends ServiceImpl<TbItemMapper, TbItem> implements TbItemService { }
true
948885d2884158feed1a9f7b23b919ff203bb7db
Java
FletcherD/recur
/src/CLRunner.java
UTF-8
22,776
1.789063
2
[]
no_license
import org.lwjgl.opencl.*; import org.lwjgl.BufferUtils; import org.lwjgl.PointerBuffer; import java.net.URL; import java.nio.ByteBuffer; import java.nio.FloatBuffer; import java.nio.IntBuffer; import java.nio.LongBuffer; import java.security.SecureRandom; import java.util.List; import java.io.*; import org.lwjgl.opencl.api.Filter; import org.lwjgl.opengl.Drawable; import javax.swing.*; import static org.lwjgl.opencl.CL10.*; import static org.lwjgl.opencl.CL10.clEnqueueNDRangeKernel; import static org.lwjgl.opencl.KHRGLSharing.clGetGLContextInfoKHR; import static org.lwjgl.opengl.GL11.*; /** * Created with IntelliJ IDEA. * User: fletcher * Date: 8/11/12 * Time: 4:47 PM * To change this template use File | Settings | File Templates. */ public class CLRunner implements Runnable { private static final int CPARAMSSIZE = 32; ImageData imageData; CLPlatform platform; CLContext context; CLCommandQueue iterateQueue; CLCommandQueue convertQueue; CLCommandQueue randomQueue; CLProgram program; CLKernel blurKernel; CLKernel unsharpKernel; CLKernel gammaKernel; CLKernel randomKernel; List<CLDevice> devices; PointerBuffer kernelPixelWorkSize = BufferUtils.createPointerBuffer(1); PointerBuffer kernelRandomWorkSize = BufferUtils.createPointerBuffer(1); CLMem[] pboMem = new CLMem[2]; CLMem floatImage; CLMem intermediateImage; CLMem rMatrix; CLMem mPositions; CLMem blurMatrix; CLMem blurStd; CLMem unsharpMatrix; CLMem gaussianStd; CLMem gaussianLookup; CLMem colorParams; int[] cParamOffsets; CLMem randomData; Parameters parameters; Recur.SharedParameterUpdate parameterUpdate; Recur.SharedGlData sharedGlData; public CLRunner(ImageData inImageData, Recur.SharedParameterUpdate p, Recur.SharedGlData inShared) { imageData = inImageData; parameters = p.parameters; parameterUpdate = p; sharedGlData = inShared; } public void getClInfo() { //TODO: If OpenCL 1.1 isn't supported, fallback to float4 ByteBuffer valueBuf = BufferUtils.createByteBuffer(255); PointerBuffer lenBuf = BufferUtils.createPointerBuffer(1); clGetDeviceInfo(devices.get(0), CL_DEVICE_NAME, valueBuf, lenBuf); parameterUpdate.clInfo.device = bufToString(valueBuf, lenBuf); clGetDeviceInfo(devices.get(0), CL_DEVICE_VERSION, valueBuf, lenBuf); parameterUpdate.clInfo.version = bufToString(valueBuf, lenBuf); clGetDeviceInfo(devices.get(0), CL_DEVICE_GLOBAL_MEM_SIZE, valueBuf, lenBuf); parameterUpdate.clInfo.memSize = valueBuf.getLong(); clGetDeviceInfo(devices.get(0), CL_DEVICE_MAX_CLOCK_FREQUENCY, valueBuf, lenBuf); parameterUpdate.clInfo.frequency = valueBuf.getLong(); clGetDeviceInfo(devices.get(0), CL_DEVICE_MAX_COMPUTE_UNITS, valueBuf, lenBuf); parameterUpdate.clInfo.computeUnits = valueBuf.getLong(); parameterUpdate.clInfo.update = true; } private void init() throws Exception { final Drawable drawable = sharedGlData.get(); CL.create(); List<CLPlatform> platforms = CLPlatform.getPlatforms(); // Find devices with GL sharing support final Filter<CLDevice> glSharingFilter = new Filter<CLDevice>() { public boolean accept(final CLDevice device) { final CLDeviceCapabilities caps = CLCapabilities.getDeviceCapabilities(device); return caps.CL_KHR_gl_sharing; } }; for(CLPlatform p : platforms) { List<CLDevice> devices = p.getDevices(CL_DEVICE_TYPE_GPU, glSharingFilter); if(devices.isEmpty()) continue; CLDevice device = devices.get(0); System.out.println(device.getInfoString(CL_DEVICE_NAME)); System.out.println(device.getInfoBoolean(CL_DEVICE_AVAILABLE)); } platform = platforms.get(platforms.size() - 1); devices = platform.getDevices(CL_DEVICE_TYPE_GPU); if(devices == null || devices.isEmpty()) { throw new Exception("Sorry, but Recur can't run because you don't have a graphics card that supports OpenCL."); } IntBuffer err = BufferUtils.createIntBuffer(1); context = CLContext.create(platform, devices, null, drawable, err); Util.checkCLError(err.get(0)); getClInfo(); iterateQueue = clCreateCommandQueue(context, devices.get(0), CL_QUEUE_PROFILING_ENABLE, null); convertQueue = clCreateCommandQueue(context, devices.get(0), CL_QUEUE_PROFILING_ENABLE, null); randomQueue = clCreateCommandQueue(context, devices.get(0), CL_QUEUE_PROFILING_ENABLE, null); glFinish(); pboMem[0] = CL10GL.clCreateFromGLBuffer(context, CL_MEM_WRITE_ONLY, imageData.getBuffer(0), null); pboMem[1] = CL10GL.clCreateFromGLBuffer(context, CL_MEM_WRITE_ONLY, imageData.getBuffer(1), null); rMatrix = clCreateBuffer(context, CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR, BufferUtils.createFloatBuffer(2), null); mPositions = clCreateBuffer(context, CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR, BufferUtils.createIntBuffer(parameters.pixelNum() * 2), null); blurStd = clCreateBuffer(context, CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR, BufferUtils.createFloatBuffer(1), null); gaussianStd = clCreateBuffer(context, CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR, BufferUtils.createFloatBuffer(1), null); blurMatrix = clCreateBuffer(context, CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR, BufferUtils.createFloatBuffer(parameters.matrixSize * parameters.matrixSize * parameters.pixelNum()), null); unsharpMatrix = clCreateBuffer(context, CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR, BufferUtils.createFloatBuffer(parameters.matrixSize * parameters.matrixSize), null); gaussianLookup = clCreateBuffer(context, CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR, BufferUtils.createFloatBuffer(1024), null); colorParams = clCreateBuffer(context, CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR, BufferUtils.createFloatBuffer(CPARAMSSIZE), null); FloatBuffer fImage = BufferUtils.createFloatBuffer(parameters.pixelNum() * 4); for(int i = 0; i < parameters.pixelNum() ; i++) { float value = 0.5f; for(int j = 0; j < 4; j++) { fImage.put(value); } } fImage.rewind(); floatImage = clCreateBuffer(context, CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR, fImage, null); intermediateImage = clCreateBuffer(context, CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR, fImage, null); if(parameters.noiseOn) { randomData = clCreateBuffer(context, CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR, BufferUtils.createLongBuffer(parameters.pixelNum()/2), null); generateRandomData(); } buildKernel(); findParamOffsets(); createColorParamsMem(); setLinearTransform(); setGaussianBlur(); setUnsharp(); setNoiseStdev(); calculateBlurMatrices(); calculateGaussianLookup(); //parameters.setDebugMatrix(getMatrices()); sharedGlData.release(); } public void run() { int frames = 0; boolean status = true; try{ init(); } catch (Exception e) { sharedGlData.finished = true; sharedGlData.release(); JOptionPane.showMessageDialog(new JFrame(), e.getMessage(), "Error", JOptionPane.ERROR_MESSAGE); e.printStackTrace(); return; } long startTime = System.currentTimeMillis(); while(status && !sharedGlData.finished && !sharedGlData.restart) { status = flipBuffers(); frames++; long timeUsed = System.currentTimeMillis() - startTime; if (timeUsed >= 1000) { //System.out.println(frames + " frames rendered in " + timeUsed / 1000f + " seconds = " // + (frames / (timeUsed / 1000f))); parameterUpdate.clInfo.fps = (frames / (timeUsed / 1000f)); parameterUpdate.clInfo.elapsedTime += timeUsed; parameterUpdate.clInfo.update = true; startTime = System.currentTimeMillis(); frames = 0; } if(parameterUpdate.getUpdate()) { changeParameters(); } } dispose(); } public boolean flipBuffers() { clFinish(randomQueue); clEnqueueNDRangeKernel(iterateQueue, gammaKernel, 1, null, kernelPixelWorkSize, null, null, null); clEnqueueNDRangeKernel(iterateQueue, blurKernel, 1, null, kernelPixelWorkSize, null, null, null); clEnqueueNDRangeKernel(iterateQueue, unsharpKernel, 1, null, kernelPixelWorkSize, null, null, null); clFinish(iterateQueue); try{ sharedGlData.clAcquire(); } catch (Exception e) { return false; } CL10GL.clEnqueueAcquireGLObjects(iterateQueue, pboMem[imageData.getWorkingFlip()], null, null); clEnqueueCopyBuffer(iterateQueue, floatImage, pboMem[imageData.getWorkingFlip()], 0, 0, 4*4*kernelPixelWorkSize.get(0), null, null); CL10GL.clEnqueueReleaseGLObjects(iterateQueue, pboMem[imageData.getWorkingFlip()], null, null); clFinish(iterateQueue); sharedGlData.release(); imageData.flipBuffers(); if(parameters.noiseOn) { clEnqueueNDRangeKernel(randomQueue, randomKernel, 1, null, kernelRandomWorkSize, null, null, null); } return true; } public String bufToString(ByteBuffer strBuf, PointerBuffer lenBuf) { String log = ""; for(int i = 0; i < lenBuf.get(0)-1; i++) { log += (char)(strBuf.get()); } return log; } public void buildKernel() throws Exception { IntBuffer err = BufferUtils.createIntBuffer(1); String source; try { source = readKernelSource("/clCode/kernel.c"); } catch (Exception e) { e.printStackTrace(); System.out.println("Failed to read kernel file."); return; } source = source.replaceAll("WIDTH", Integer.toString(parameters.width)); source = source.replaceAll("HEIGHT", Integer.toString(parameters.height)); source = source.replaceAll("MSIZE", Integer.toString(parameters.matrixSize)); if(parameters.noiseOn) { source = source.replaceAll("//NOISE_DEFINE", "#define NOISE"); } try { program = clCreateProgramWithSource(context, source, err); Util.checkCLError(err.get(0)); Util.checkCLError(clBuildProgram(program, devices.get(0), "-w", null)); } catch (Exception er) { PointerBuffer logSize = BufferUtils.createPointerBuffer(1); clGetProgramBuildInfo(program, devices.get(0), CL_PROGRAM_BUILD_LOG, null, logSize); ByteBuffer logBuf = BufferUtils.createByteBuffer((int)(logSize.get(0))); clGetProgramBuildInfo(program, devices.get(0), CL_PROGRAM_BUILD_LOG, logBuf, logSize); String compilationError = bufToString(logBuf, logSize); throw new Exception("OpenCL code could not be compiled on this machine.\nCompiler output follows:\n" + compilationError); } // sum has to match a kernel method name in the OpenCL source blurKernel = clCreateKernel(program, "iterate", null); unsharpKernel = clCreateKernel(program, "unsharpMask", null); gammaKernel = clCreateKernel(program, "gammaApply", null); randomKernel = clCreateKernel(program, "advanceRandomNumbers", null); blurKernel.setArg(0, floatImage); blurKernel.setArg(1, intermediateImage); blurKernel.setArg(2, mPositions); blurKernel.setArg(3, blurMatrix); blurKernel.setArg(4, randomData); blurKernel.setArg(5, gaussianLookup); blurKernel.setArg(6, colorParams); gammaKernel.setArg(0, floatImage); gammaKernel.setArg(1, colorParams); unsharpKernel.setArg(0, intermediateImage); unsharpKernel.setArg(1, floatImage); unsharpKernel.setArg(2, unsharpMatrix); randomKernel.setArg(0, randomData); kernelPixelWorkSize.put(0, parameters.pixelNum()); kernelRandomWorkSize.put(0, parameters.pixelNum()/2); } public void changeParameters() { parameters = parameterUpdate.parameters; Parameters oldP = parameterUpdate.oldParameters; if(parameters.width != oldP.width || parameters.height != oldP.height || parameters.matrixSize != oldP.matrixSize || parameters.noiseOn != oldP.noiseOn) { sharedGlData.restart = true; return; } if(parameters.scaleFactor != oldP.scaleFactor || parameters.rotateAngle != oldP.rotateAngle || parameters.center[0] != oldP.center[0] || parameters.center[1] != oldP.center[1]) { createColorParamsMem(); setLinearTransform(); calculateBlurMatrices(); //parameters.setDebugMatrix(getMatrices()); } else if (parameters.blurRadius != oldP.blurRadius) { createColorParamsMem(); setGaussianBlur(); calculateBlurMatrices(); } if(parameters.unsharpRadius != oldP.unsharpRadius || parameters.unsharpWeight != oldP.unsharpWeight) { setUnsharp(); } if(parameters.noiseStd != oldP.noiseStd) { setNoiseStdev(); calculateGaussianLookup(); } if(parameters.gamma != oldP.gamma || parameters.brightness[0] != oldP.brightness[0] || parameters.contrast[0] != oldP.contrast[0] || parameters.borderColor[0] != oldP.borderColor[0]) { createColorParamsMem(); } } public void dispose() { clReleaseKernel(blurKernel); clReleaseKernel(gammaKernel); clReleaseKernel(unsharpKernel); clReleaseKernel(randomKernel); clReleaseProgram(program); clReleaseCommandQueue(iterateQueue); clReleaseContext(context); CL.destroy(); } public void setLinearTransform() { double scale = 1.0/parameters.scaleFactor; FloatBuffer rMat = BufferUtils.createFloatBuffer(2); rMat.put((float)(Math.sin(parameters.rotateAngle) * scale)); rMat.put((float)(Math.cos(parameters.rotateAngle) * scale)); rMat.rewind(); Util.checkCLError(clEnqueueWriteBuffer(iterateQueue, rMatrix, 1, 0, rMat, null, null)); } public void setGaussianBlur() { FloatBuffer bStd = BufferUtils.createFloatBuffer(1); bStd.put((float)(parameters.blurRadius)); bStd.rewind(); Util.checkCLError(clEnqueueWriteBuffer(iterateQueue, blurStd, 1, 0, bStd, null, null)); } public void setNoiseStdev() { FloatBuffer nStd = BufferUtils.createFloatBuffer(1); nStd.put((float)(parameters.noiseStd)); nStd.rewind(); Util.checkCLError(clEnqueueWriteBuffer(iterateQueue, gaussianStd, 1, 0, nStd, null, null)); } public void setUnsharp() { FloatBuffer unsharp = BufferUtils.createFloatBuffer(parameters.matrixSize * parameters.matrixSize); double sum = 0; for(int m = 0; m < parameters.matrixSize; m++) { for(int n = 0; n < parameters.matrixSize; n++) { double x = (double)m - (double)(parameters.matrixSize-1) / 2.0; double y = (double)n - (double)(parameters.matrixSize-1) / 2.0; double value = Math.exp(-(x*x + y*y) / parameters.unsharpRadius); sum += value; } } sum /= (-parameters.unsharpWeight); for(int m = 0; m < parameters.matrixSize; m++) { for(int n = 0; n < parameters.matrixSize; n++) { double x = (double)m - (double)(parameters.matrixSize-1) / 2.0; double y = (double)n - (double)(parameters.matrixSize-1) / 2.0; double value = Math.exp(-(x*x + y*y) / parameters.unsharpRadius) / sum; if(m == parameters.matrixSize/2 && n == parameters.matrixSize/2) { value += (1.0 + parameters.unsharpWeight); } unsharp.put((float)value); } } unsharp.rewind(); Util.checkCLError(clEnqueueWriteBuffer(iterateQueue, unsharpMatrix, 1, 0, unsharp, null, null)); } public float[] getMatrices() { FloatBuffer mBuf = BufferUtils.createFloatBuffer(parameters.pixelNum() * parameters.matrixSize * parameters.matrixSize); clEnqueueReadBuffer(iterateQueue, blurMatrix, 1, 0, mBuf, null, null); float[] bMatrix = new float[parameters.pixelNum() * parameters.matrixSize * parameters.matrixSize]; clFinish(iterateQueue); mBuf.get(bMatrix); return bMatrix; } public float[] getGaussianLookup() { FloatBuffer mBuf = BufferUtils.createFloatBuffer(1024); clEnqueueReadBuffer(iterateQueue, gaussianLookup, 1, 0, mBuf, null, null); float[] bMatrix = new float[1024]; clFinish(iterateQueue); mBuf.get(bMatrix); return bMatrix; } public void findParamOffsets() { IntBuffer err = BufferUtils.createIntBuffer(1); CLKernel offsetKernel = clCreateKernel(program, "findParamOffsets", err); Util.checkCLError(err.get(0)); IntBuffer offsetBuf = BufferUtils.createIntBuffer(12); CLMem offsetMem = clCreateBuffer(context, CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR, offsetBuf, null); offsetKernel.setArg(0, offsetMem); Util.checkCLError(clEnqueueTask(iterateQueue, offsetKernel, null, null)); clFinish(iterateQueue); clEnqueueReadBuffer(iterateQueue, offsetMem, 1, 0, offsetBuf, null, null); cParamOffsets = new int[12]; clFinish(iterateQueue); clReleaseKernel(offsetKernel); clReleaseMemObject(offsetMem); offsetBuf.get(cParamOffsets); } public void createColorParamsMem() { FloatBuffer cParamsBuf = BufferUtils.createFloatBuffer(CPARAMSSIZE); int i = 0; cParamsBuf.position(cParamOffsets[i++]); cParamsBuf.put(parameters.center); cParamsBuf.position(cParamOffsets[i++]); cParamsBuf.put(parameters.brightness); cParamsBuf.position(cParamOffsets[i++]); cParamsBuf.put(parameters.contrast); cParamsBuf.position(cParamOffsets[i++]); cParamsBuf.put(parameters.borderColor); cParamsBuf.position(cParamOffsets[i++]); cParamsBuf.put(parameters.getBorderColorGamma()); cParamsBuf.position(cParamOffsets[i++]); cParamsBuf.put(parameters.gamma); cParamsBuf.position(cParamOffsets[i++]); cParamsBuf.put(parameters.noiseStd); cParamsBuf.position(cParamOffsets[i++]); cParamsBuf.put(parameters.blurRadius); cParamsBuf.position(cParamOffsets[i++]); cParamsBuf.put(parameters.unsharpRadius); cParamsBuf.position(cParamOffsets[i++]); cParamsBuf.put(parameters.unsharpWeight); cParamsBuf.rewind(); clEnqueueWriteBuffer(iterateQueue, colorParams, 1, 0, cParamsBuf, null, null); clFinish(iterateQueue); } public void calculateBlurMatrices() { IntBuffer err = BufferUtils.createIntBuffer(1); CLKernel calcBlurKernel = clCreateKernel(program, "createBokehMatrices", err); Util.checkCLError(err.get(0)); CLMem blurMatrixTemp = clCreateBuffer(context, CL_MEM_WRITE_ONLY | CL_MEM_COPY_HOST_PTR, BufferUtils.createFloatBuffer(parameters.matrixSize * parameters.matrixSize * parameters.pixelNum()), null); calcBlurKernel.setArg(0, blurMatrixTemp); calcBlurKernel.setArg(1, mPositions); calcBlurKernel.setArg(2, rMatrix); calcBlurKernel.setArg(3, colorParams); Util.checkCLError(clEnqueueNDRangeKernel(iterateQueue, calcBlurKernel, 1, null, kernelPixelWorkSize, null, null, null)); clFinish(iterateQueue); Util.checkCLError(clEnqueueCopyBuffer(iterateQueue, blurMatrixTemp, blurMatrix, 0, 0, parameters.pixelNum() * parameters.matrixSize * parameters.matrixSize*4, null, null)); clReleaseKernel(calcBlurKernel); clReleaseMemObject(blurMatrixTemp); clFinish(iterateQueue); } public void calculateGaussianLookup() { IntBuffer err = BufferUtils.createIntBuffer(1); CLKernel calcGaussianKernel = clCreateKernel(program, "createGaussianLookup", err); Util.checkCLError(err.get(0)); CLMem gaussianLookupTemp = clCreateBuffer(context, CL_MEM_WRITE_ONLY | CL_MEM_COPY_HOST_PTR, BufferUtils.createFloatBuffer(1024), null); calcGaussianKernel.setArg(0, gaussianLookupTemp); calcGaussianKernel.setArg(1, gaussianStd); PointerBuffer kernelGaussianWorkSize = BufferUtils.createPointerBuffer(1); kernelGaussianWorkSize.put(0, 1024); Util.checkCLError(clEnqueueNDRangeKernel(iterateQueue, calcGaussianKernel, 1, null, kernelGaussianWorkSize, null, null, null)); clFinish(iterateQueue); Util.checkCLError(clEnqueueCopyBuffer(iterateQueue, gaussianLookupTemp, gaussianLookup, 0, 0, 1024*4, null, null)); clReleaseKernel(calcGaussianKernel); clReleaseMemObject(gaussianLookupTemp); clFinish(iterateQueue); } String readKernelSource(String filename) throws Exception { URL url = this.getClass().getResource(filename); BufferedInputStream in = new BufferedInputStream(url.openStream()); byte[] buffer = new byte[in.available()]; int err = in.read(buffer); return new String(buffer); } public void generateRandomData() { SecureRandom random = new SecureRandom(); LongBuffer randomDataLocal = BufferUtils.createLongBuffer(parameters.pixelNum() / 2); for(int i = 0; i < parameters.pixelNum()/2; i++) { randomDataLocal.put(random.nextLong()); } randomDataLocal.rewind(); Util.checkCLError(clEnqueueWriteBuffer(iterateQueue, randomData, 1, 0, randomDataLocal, null, null)); } }
true
5721a2a8bff075f63355a06de110a05cab800079
Java
neul713/nutrition
/src/controller/LoginController.java
UHC
6,511
2.328125
2
[]
no_license
package controller; import java.io.IOException; import java.net.URL; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.ResourceBundle; import javafx.application.Platform; import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.fxml.FXMLLoader; import javafx.fxml.Initializable; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.scene.control.Alert; import javafx.scene.control.Button; import javafx.scene.control.PasswordField; import javafx.scene.control.TextField; import javafx.scene.control.Alert.AlertType; import javafx.scene.image.ImageView; import javafx.stage.Stage; import model.LoginIdSave; import model.UserVO; public class LoginController implements Initializable { @FXML private ImageView loginImage; @FXML private TextField txtId; @FXML private PasswordField txtPassword; @FXML private Button btnLogin; @FXML private Button btnSignUp; @FXML private Button btnAdmin; @FXML private Button btnIdPasswordFind; public static Stage mainStage = null; @Override public void initialize(URL arg0, ResourceBundle arg1) { // 1. α ư ̺Ʈ ó btnLogin.setOnAction(e -> { handlerBtnLoginAction(e); }); // 2. ȸ ư ̺Ʈ ó btnSignUp.setOnAction(e -> { handlerBtnSignUpAction(e); }); // 3. ư ̺Ʈ ó btnAdmin.setOnAction(e -> { handlerBtnAdminAction(e); }); // 4. ̵/йȣ ã ư ̺Ʈ ó btnIdPasswordFind.setOnAction(e -> { handlerBtnIdPasswordFindAction(e); }); } // 1. α ư ̺Ʈ ó public void handlerBtnLoginAction(ActionEvent e) { UserDAO userDAO = new UserDAO(); // н尡 Էµ ʾ â ش if (txtId.getText().equals("")) { DBUtil.alertDisplay(1, "α ", "̵ Էµ ʾҽϴ.", "̵ Էּ."); return; } if (txtPassword.getText().equals("")) { DBUtil.alertDisplay(1, "α ", "йȣ Էµ ʾҽϴ.", "йȣ Էּ."); return; } int idCheck = userDAO.getUserIdSearch(txtId.getText()); if (idCheck == 1) { // idCheck 1̸ DB ϴ, ȸ Ǿִ ̵̱ ̵ ´ йȣ ȮѴ LoginIdSave.saveId.add(txtId.getText()); ArrayList<String> list = new ArrayList<String>(); String dml = "select password from users where id = ?"; Connection con = null; PreparedStatement pstmt = null; ResultSet rs = null; String id = txtId.getText(); String password = null; try { con = DBUtil.getConnection(); pstmt = con.prepareStatement(dml); pstmt.setString(1, id); rs = pstmt.executeQuery(); while (rs.next()) { password = rs.getString(1); list.add(password); } for (int i = 0; i < list.size(); i++) { if (list.get(i).equals(txtPassword.getText())) { // α ϷǾ ȭ θ. αâ . Parent mainView = null; try { mainView = FXMLLoader.load(getClass().getResource("/view/mainview.fxml")); Scene scene = new Scene(mainView); mainStage = new Stage(); mainStage.setTitle(""); mainStage.setScene(scene); mainStage.setResizable(true); ((Stage) btnLogin.getScene().getWindow()).close(); mainStage.show(); } catch (IOException e1) { DBUtil.alertDisplay(1, " ȭ θ", " ȭ ҷ ߽ϴ.", e1.toString()); e1.printStackTrace(); } } else { DBUtil.alertDisplay(1, "α ", "йȣ ġʽϴ.", "ٽ Ȯּ."); txtPassword.clear(); } } } catch (SQLException se) { System.out.println(se); } catch (Exception e2) { System.out.println(e2); } finally { try { if (rs != null) rs.close(); if (pstmt != null) pstmt.close(); if (con != null) con.close(); } catch (SQLException se) { } } } else if (idCheck == -1) { // idCheck -1̸ DB Է ̵ ʴ´ٴ . DBUtil.alertDisplay(1, "α ", " ʴ ̵Դϴ.", "ٽ Ȯּ."); txtId.clear(); txtPassword.clear(); return; } } // 2. ȸ ư ̺Ʈ ó public void handlerBtnSignUpAction(ActionEvent e) { Parent signUpView = null; Stage signUpStage = null; try { signUpView = FXMLLoader.load(getClass().getResource("/view/signup.fxml")); Scene scene = new Scene(signUpView); signUpStage = new Stage(); signUpStage.setTitle("ȸ"); signUpStage.setScene(scene); signUpStage.setResizable(true); signUpStage.show(); } catch (IOException e2) { DBUtil.alertDisplay(1, "ȸ ", "ȸ ȭ ҷ ߽ϴ.", "ٽ Ȯּ."); } } // 3. ư ̺Ʈ ó public void handlerBtnAdminAction(ActionEvent e) { Parent adminView = null; Stage adminStage = null; try { adminView = FXMLLoader.load(getClass().getResource("/view/adminentry.fxml")); Scene scene = new Scene(adminView); adminStage = new Stage(); adminStage.setTitle(" "); adminStage.setScene(scene); adminStage.setResizable(true); adminStage.show(); } catch (IOException e2) { e2.printStackTrace(); DBUtil.alertDisplay(1, " ", " ȭ ҷ ߽ϴ.", "ٽ Ȯּ."); } } // 4. ̵/йȣ ã ư ̺Ʈ ó public void handlerBtnIdPasswordFindAction(ActionEvent e) { Parent findView = null; Stage findStage = null; try { findView = FXMLLoader.load(getClass().getResource("/view/idpasswordfind.fxml")); Scene scene = new Scene(findView); findStage = new Stage(); findStage.setTitle("̵, йȣ ã"); findStage.setScene(scene); findStage.setResizable(true); findStage.show(); } catch (IOException e2) { e2.printStackTrace(); DBUtil.alertDisplay(1, "̵, йȣ ã â θ ", "̵, йȣ ã θ ", e2.toString()); } } }
true
6817078eea8d56b13903d8875395bad8caf95797
Java
xiachunjun/sc-manage
/src/main/java/com/sc/dao/DutyMapper.java
UTF-8
829
1.851563
2
[]
no_license
package com.sc.dao; import java.util.List; import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Select; import com.sc.common.mapper.MyMapper; import com.sc.domain.DutyDomain; import com.sc.model.response.DutyResult; public interface DutyMapper extends MyMapper<DutyDomain>{ @Select({ "select ", "e.id as userId, e.user_name as userName, ", "b.id as deptId, b.dept_name as deptName, ", "c.id as posiId, c.posi_name as posiName ", "from sc_duty a ", "left join sc_departments b on b.id=a.ref_dept_id ", "left join sc_positions c on c.ref_dept_id=b.id ", "left join sc_user_posi_rel d on d.ref_posi_id=c.id ", "left join sc_users e on e.id=d.ref_user_id ", "where ${condition}" }) List<DutyResult> selectDutyListByCondition(@Param("condition")String condition); }
true
aaa0c26a121cad88d83bd147c3d98c7200a92af4
Java
League-Workshop/intro-to-java-workshop-JosiahLopez92105
/src/section4/QuizGame.java
UTF-8
669
3.734375
4
[]
no_license
package section4; import javax.swing.JOptionPane; public class QuizGame { public static void main(String[] args) { // 1. Create a variable to hold the user's score int scoreCount=0; // 2. Ask the user a question String gameanswer=JOptionPane.showInputDialog("whats your favorite game?"); // 3. Use an if statement to check if their answer is correct if (gameanswer.equalsIgnoreCase("Fortnite") ) { scoreCount++; } // 4. if the user's answer was correct, add one to their score // 5. Create more questions by repeating steps 1, 2, and 3 below. // 6. After all the questions have been asked, print the user's score } }
true
1817be1de1dcffab462573a2b1c23a01a825e92e
Java
AlionSSS/lazy-chain-collection
/src/test/java/com/skey/chainprogrammingdemo/Demo007.java
UTF-8
1,241
3.34375
3
[ "Apache-2.0" ]
permissive
package com.skey.chainprogrammingdemo; import com.skey.chainprogrammingdemo.core.Chain; import com.skey.chainprogrammingdemo.core.LazyChainCollection; import java.util.Arrays; /** * Description: * <br/> * Date: 2019/12/4 18:24 * * @author ALion */ public class Demo007 { public static void main(String[] args) { // Stream.of("1", "4", "2", "3") // .map(Integer::valueOf) // .map(i -> i * i) // .filter(i2 -> i2 > 4) // .sorted((i1, i2) -> i2 - i1) // .forEach(System.out::println); // // System.out.println("------------"); // int a = 123456789; // while (a > 0) { // System.out.print(a % 10); // a /= 10; // } Chain<String> lazyChain = LazyChainCollection.valueOf( "1,2,4", "2,6", "3,2,8,10", "4,8" ); lazyChain .flatMap(str -> Arrays.asList(str.split(","))) .map(c -> Integer.parseInt(c)) .map(i -> i * i) .filter(i2 -> i2 > 10) .sort((o1, o2) -> o2 - o1) .foreach(r -> System.out.println(r)); } }
true
9421c7a960bba71d3bafc70b860fad3d26a74220
Java
edwardKa/java-21-library
/src/main/java/com/library/ApplicationLibrary.java
UTF-8
371
2.578125
3
[]
no_license
package com.library; import com.library.model.Book; import java.util.UUID; public class ApplicationLibrary { public static void main(String[] args) { Book book = new Book(); book.setBookName("Refactoring"); book.setId(UUID.randomUUID().toString()); book.setIssueYear(1999); System.out.println(book.toString()); } }
true
e0dbe57c44c33acdb31693d89eb84eed0b86c16e
Java
814794087/Layouthomework
/app/src/main/java/com/example/human/layout/FrameLayoutActivity.java
UTF-8
2,744
2.4375
2
[]
no_license
package com.example.human.layout; import android.app.Activity; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.view.View; import android.widget.Button; import android.widget.FrameLayout; import java.sql.Time; import java.util.Timer; import java.util.TimerTask; public class FrameLayoutActivity extends BaseActivity { FrameLayout frame=null; Handler handler=new Handler(){ int i=0; public void handleMessage(Message msg){ if(msg.what==0x123){ move(i%9); i++; } super.handleMessage(msg); } }; void move(int i){ Drawable a=getResources().getDrawable(R.drawable.img1); Drawable b=getResources().getDrawable(R.drawable.img2); Drawable c=getResources().getDrawable(R.drawable.img3); Drawable d=getResources().getDrawable(R.drawable.img4); Drawable e=getResources().getDrawable(R.drawable.img5); Drawable f=getResources().getDrawable(R.drawable.img6); Drawable g=getResources().getDrawable(R.drawable.img7); Drawable h=getResources().getDrawable(R.drawable.img8); Drawable k=getResources().getDrawable(R.drawable.img9); switch (i){ case 0: frame.setForeground(a); break; case 1: frame.setForeground(b); break; case 2: frame.setForeground(c); break; case 3: frame.setForeground(d); break; case 4: frame.setForeground(e); break; case 5: frame.setForeground(f); break; case 6: frame.setForeground(g); break; case 7: frame.setForeground(h); break; case 8: frame.setForeground(k); break; } } @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.framelayout_layout); frame=(FrameLayout)findViewById(R.id.myframe); new Timer().schedule(new TimerTask() { @Override public void run() { handler.sendEmptyMessage(0x123); } },0,400); Button framebutton=(Button)findViewById(R.id.frame_layout_goback); framebutton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { finish(); } }); } }
true
9d709de0be99bf097a66bc952a13ef109fb0bc25
Java
annazabost/newBank
/src/Main.java
UTF-8
240
2.140625
2
[]
no_license
public class Main { public static void main(String[] args) { System.out.println("Hello World"); Account account = new Account(2000,"jutro",3,new User(3666)); System.out.println(account.getBalance()); } }
true
7c43da536490918fbe10e5c5e53f039169e2c6e7
Java
bihell/Dice
/dice-server/src/main/java/com/bihell/dice/system/enums/MenuLevelEnum.java
UTF-8
676
2.59375
3
[ "MIT" ]
permissive
package com.bihell.dice.system.enums; import com.bihell.dice.commons.enums.BaseEnum; /** * 层级枚举 * @author geekidea * @date 2019-10-24 **/ public enum MenuLevelEnum implements BaseEnum { /** 一级菜单 **/ ONE(1, "一级菜单"), /** 二级菜单 **/ TWO(2, "二级菜单"), /** 功能菜单 **/ THREE(3, "功能菜单"); private Integer code; private String desc; MenuLevelEnum(Integer code, String desc) { this.code = code; this.desc = desc; } @Override public Integer getCode() { return this.code; } @Override public String getDesc() { return this.desc; } }
true
a91338985c41e4f39c61f31288631c6309eba7a1
Java
Ashwijashetty/SFiles
/EclipseWorkspace/springSession/SpringExample1/src/com/cg/lab1/EmpClient.java
UTF-8
420
2.171875
2
[]
no_license
package com.cg.lab1; import org.springframework.beans.factory.*; import org.springframework.beans.factory.xml.*; import org.springframework.core.io.*; public class EmpClient { public static void main(String[] args) { Resource res = new ClassPathResource("emp.xml"); BeanFactory factory = new XmlBeanFactory(res); Employee employee = (Employee) factory.getBean("emp"); System.out.println(employee); } }
true
337da1428a480fdfacfd8b43afeee405969d8136
Java
one-punch/mixin
/src/test/java/testhelper/JSVoCreate.java
UTF-8
5,159
2.796875
3
[]
no_license
package testhelper; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.lang.reflect.Method; import java.net.URL; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import com.wteam.mixin.utils.FileUtils; /** * 生成vo对应 的js文件。 * @version 1.0 * @author benko * @time 2016-2-18 10:59:21 */ public class JSVoCreate { /** * 字符串"get"的长度. */ private static final int LENGTH_OF_STRING_GET = 3; private static final String format = "/**\n" + " * \n" + " */\n" + "if (typeof %s == 'undefined') {\n" + " function %s() {\n%s }\n" + "}\n" + "%s.prototype.toJson = function() {\n" + " var temp = JSON.stringify(this);\n" + " return temp;\n" + "};\n"; private static final String fieldFormat = " this.%s = null;\n"; private String fileName; /** * 将vo类解析成js文本. * @param clazz * @return */ public String[] paserClass(Class<?> clazz) { String jsvoString = ""; String fieldString = ""; fileName = clazz.getSimpleName(); if (fileName.substring(fileName.length()-2, fileName.length()).equals("Vo")) { fileName = fileName.substring(0, fileName.length() -2); } System.out.println("JSVoCreate.paserClass()" + fileName); String methodName = null; String fieldName = null; for (Method m : clazz.getDeclaredMethods()) { methodName = m.getName(); if ("get".equals(methodName.substring(0, LENGTH_OF_STRING_GET))) { fieldName = methodName.substring(LENGTH_OF_STRING_GET, methodName.length()); char[] fieldNameArr = fieldName.toCharArray(); fieldNameArr[0] = Character .toLowerCase(fieldNameArr[0]); fieldName = new String(fieldNameArr); fieldString += String.format(fieldFormat, fieldName); } } System.out.println("JSVoCreate.paserClass() fieldString:" + fieldString); jsvoString = String.format(format, fileName,fileName,fieldString,fileName); System.out.println("JSVoCreate.paserClass() jsvoString:\n" + jsvoString); return new String[]{fieldName, jsvoString}; } public static String createRelativePath(final String fileName, final String... paths){ // 根目录的相对路径 String relativePath = ""; for (String path : paths) { relativePath += File.separator + path; } relativePath += File.separator + fileName; return relativePath; } /** * 创建js文件 * @param clazz */ public void createFile(String content, String fileName) { try { String destFileName = System.getProperty("user.dir") + createRelativePath(fileName + ".js", "src","main","webapp","common","js"); FileUtils.createFile(destFileName); FileWriter fw = new FileWriter(destFileName); fw.write(content); fw.close(); } catch (IOException e) { e.printStackTrace(); } } /** * 创建js文件 * @param clazz */ public void createFile(List<Class<?>> classes){ String string = ""; for (Class<?> clazz : classes) { String[] arr = paserClass(clazz); System.out.println("JSVoCreate.createFile()" + arr[1]); string += arr[1]; } createFile(string, "entity"); } /** * 获取包下面的所有类。 * @param pckgname * @return * @throws ClassNotFoundException */ public static Class<?>[] getClasses(String pckgname) throws ClassNotFoundException { ArrayList<Class<?>> classes = new ArrayList<Class<?>>(); // Get a File object for the package File directory = null; try { ClassLoader cld = Thread.currentThread().getContextClassLoader(); if (cld == null) throw new ClassNotFoundException("Can't get class loader."); String path = pckgname.replace('.', '/'); URL resource = cld.getResource(path); if (resource == null) throw new ClassNotFoundException("No resource for " + path); directory = new File(resource.getFile()); } catch (NullPointerException x) { throw new ClassNotFoundException(pckgname + " (" + directory + ") does not appear to be a valid package a"); } if (directory.exists()) { // Get the list of the files contained in the package String[] files = directory.list(); for (int i = 0; i < files.length; i++) { // we are only interested in .class files if (files[i].endsWith(".class")) { // removes the .class extension classes.add(Class.forName(pckgname + '.' + files[i].substring(0, files[i].length() - 6))); } } } else throw new ClassNotFoundException(pckgname + " does not appear to be a valid package b"); Class<?>[] classesA = new Class[classes.size()]; classes.toArray(classesA); return classesA; } public static void main(String[] args) throws ClassNotFoundException { JSVoCreate create = new JSVoCreate(); List<Class<?>> list = new ArrayList<Class<?>>(); System.out.println("JSVoCreate.main(1)"); list.addAll(Arrays.asList(getClasses("com.wteam.bawanglong.biz.model.vo"))); create.createFile(list); System.out.println("JSVoCreate.main(2)"); } }
true
f7c048c916855ea7ad66583917317a633fea93d8
Java
Oktayh/myJavaExamples
/Challanges/Challange2/GuessNumberGame.java
UTF-8
930
3.8125
4
[]
no_license
import java.util.Random; import java.util.Scanner; public class GuessNumberGame { public static final int MIN = 0; public static final int MAX = 100; public static void main(String[] args) { Scanner input = new Scanner(System.in); Random rand = new Random(); char feedback = 'o'; int max = MAX; int min = MIN; System.out.println("Please choose a number (0 and 100)"); int guess = rand.nextInt(max) + min; while (feedback != 'c') { System.out.println("Is your number " + guess + "?"); feedback = input.next().charAt(0); while (feedback != 'l' && feedback != 's' && feedback != 'c') { System.out.println("Please input 'l' or 's' or 'c' Try again "); feedback = input.next().charAt(0); } if (feedback == 'l') { min = guess; } else if (feedback == 's') { max = guess; } guess = rand.nextInt(max-min+1) + min; } System.out.println("GOOD BYE :)"); } }
true
5dc6d41db48b9e980d056be13cd771a5a5fd2131
Java
luisrogerio1993/PalcoMP3Downloader
/src/org/victortorres/palcomp3downloader/CapturarHTML.java
UTF-8
1,359
2.75
3
[ "CC-BY-3.0" ]
permissive
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package org.victortorres.palcomp3downloader; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.MalformedURLException; import java.net.URL; import javax.swing.JOptionPane; /** * * @author Victor (Revisão: Luís) */ public class CapturarHTML { public String capturar(URL endereco) throws IOException { String linha; StringBuilder retorno = new StringBuilder(); try { URL url = new URL(""+endereco); BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream())); while ((linha = in.readLine()) != null) { retorno.append(linha); } in.close(); } catch (MalformedURLException e) { JOptionPane.showMessageDialog(null, "Erro: "+e.getMessage(), "Erro", JOptionPane.ERROR_MESSAGE); } catch (IOException e) { JOptionPane.showMessageDialog(null, "Erro: "+e.getMessage(), "Erro", JOptionPane.ERROR_MESSAGE); } return retorno.toString(); } }
true
990aa5a51b35724ac2bcf048fc12d04df9ce464a
Java
cavalieredraghi/Hello-World
/src/_05_booleans/_02_operators.java
UTF-8
434
3.578125
4
[]
no_license
package _05_booleans; public class _02_operators { public static void main(String[]args){ /* relational operators * > * < * <= * >= * == * != */ int currBalance = 10000; if (currBalance==0){ System.out.println("Your broke son!"); if (currBalance>10000){ System.out.println("You in the money!"); if (currBalance == 10000){ System.out.println("Nice account."); } } } } }
true
390a20715038208ce6e71bfdebc6116e7c340876
Java
kjo1655/swagger-spring-mvc-showcase
/src/main/java/shopping/repositories/product/MovieRepository.java
UTF-8
215
1.625
2
[]
no_license
package shopping.repositories.product; import org.springframework.data.jpa.repository.JpaRepository; import shopping.domain.product.Movie; public interface MovieRepository extends JpaRepository<Movie, Long> { }
true
9da68f010f490114248694d843ef47f8e1716cb8
Java
AY1920S1-CS2113T-F11-2/main
/src/test/java/dolla/command/modify/FullModifyDebtCommandTest.java
UTF-8
1,281
2.375
2
[]
no_license
package dolla.command.modify; import dolla.dolladatastub.DollaDataDebtStub1; import dolla.ModeStringList; import dolla.model.Debt; import dolla.model.DollaData; import dolla.model.Record; import org.junit.jupiter.api.Test; import java.time.LocalDate; import static org.junit.jupiter.api.Assertions.assertEquals; public class FullModifyDebtCommandTest implements ModeStringList { @Test public void execute() { DollaData dollaData = new DollaDataDebtStub1(); String newType = "owe"; double newAmount = 999; String newName = "Alexander"; String newDesc = "Owe Money Pay Money"; LocalDate newDate = LocalDate.parse("2000-11-11"); final Debt newDebt = new Debt(newType, newName, newAmount, newDesc, newDate); int indexToModify = 2; String currMode = MODE_DEBT; dollaData.updateMode("modify " + currMode); dollaData.prepForModify(currMode, indexToModify); FullModifyDebtCommand modifyCommand = new FullModifyDebtCommand(newType, newName, newAmount, newDesc, newDate); modifyCommand.execute(dollaData); Record cmpDebt = dollaData.getRecordFromList(MODE_DEBT, indexToModify); assertEquals(newDebt.getRecordDetail(), cmpDebt.getRecordDetail()); } }
true
7362acf259e883bc059b0276e811d5b751c102b8
Java
AshishBiyahut/Publicis
/src/main/java/com/sapient/publicis/publicis/client/RestClient.java
UTF-8
734
2.03125
2
[]
no_license
package com.sapient.publicis.publicis.client; import org.springframework.stereotype.Component; import org.springframework.web.client.RestTemplate; import org.springframework.web.util.UriComponentsBuilder; import com.sapient.publicis.publicis.model.ApiResponseData; @Component public class RestClient { private static String url ="http://api.openweathermap.org/data/2.5/forecast?mode=json&appid=d2929e9483efc82c82c32ee7e02d563e"; RestTemplate restTemplate = new RestTemplate(); public ApiResponseData callApi(String city) { ApiResponseData data= restTemplate.getForObject (UriComponentsBuilder.fromHttpUrl(url).queryParam("q", city).toUriString(), ApiResponseData.class); System.out.println(data); return data; } }
true
d05e5dd2557870e62a7fb9b395f71314b10e3215
Java
mcnedward/keep-fit
/app/src/main/java/com/mcnedward/keepfit/activity/SettingsResetActivity.java
UTF-8
3,890
2.09375
2
[]
no_license
package com.mcnedward.keepfit.activity; import android.content.Context; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.v7.app.AppCompatActivity; import android.view.MenuItem; import android.view.View; import android.widget.Toast; import com.mcnedward.keepfit.R; import com.mcnedward.keepfit.repository.DatabaseHelper; import com.mcnedward.keepfit.utils.Extension; import com.mcnedward.keepfit.utils.enums.Settings; /** * Created by Edward on 3/8/2016. */ public class SettingsResetActivity extends AppCompatActivity { private static final String TAG = "SettingsResetActivity"; private Context context; private boolean reset = false; SharedPreferences settings; SharedPreferences.Editor editor; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.view_reset_statistics); setTitle(R.string.reset); context = this; settings = PreferenceManager.getDefaultSharedPreferences(context); editor = settings.edit(); initializeResetSettings(); initializeResetData(); initializeResetAll(); } private void initializeResetSettings() { View button = findViewById(R.id.reset_settings_button); Extension.setRippleBackground(button, R.color.GhostWhite, R.color.FireBrick, context); button.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { DatabaseHelper.resetPreferences(context); editor.putBoolean(Settings.SHOWN_ALGORITHM_MESSAGE.name(), false); editor.putBoolean(Settings.RUNNING_ALGORITHM.name(), false); editor.commit(); Toast.makeText(context, R.string.reset_settings_complete_message, Toast.LENGTH_SHORT).show(); reset = true; } }); } private void initializeResetData() { View button = findViewById(R.id.reset_data_button); Extension.setRippleBackground(button, R.color.GhostWhite, R.color.FireBrick, context); button.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { DatabaseHelper.resetData(context); Toast.makeText(context, R.string.reset_data_complete_message, Toast.LENGTH_SHORT).show(); reset = true; } }); } private void initializeResetAll() { View button = findViewById(R.id.reset_all_button); Extension.setRippleBackground(button, R.color.GhostWhite, R.color.FireBrick, context); button.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { DatabaseHelper.resetDatabase(context); editor.putBoolean(Settings.SHOWN_ALGORITHM_MESSAGE.name(), false); editor.putBoolean(Settings.RUNNING_ALGORITHM.name(), false); editor.commit(); Toast.makeText(context, R.string.reset_all_complete_message, Toast.LENGTH_SHORT).show(); reset = true; } }); } @Override public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId()) { case android.R.id.home: if (reset) restartApp(); else finish(); return true; } return super.onOptionsItemSelected(item); } @Override public void onBackPressed() { if (reset) restartApp(); else super.onBackPressed(); } private void restartApp() { Extension.restartApplication(this); finish(); } }
true
ff67fe2807223c79b655e63c906962109a4bc97a
Java
AnastasiaVedernikova/Flowers
/src/ChainOfResponsibility/TenDispenser.java
UTF-8
556
3.03125
3
[]
no_license
package ChainOfResponsibility; /** * Created by cs.ucu.edu.ua on 06.12.2016. */ public class TenDispenser extends Dispenser { Dispenser next; @Override public Integer getAmount(Currency currency) { int am = currency.getMoney(); // this.next.getAmount(new Currency(am%10)); System.out.println("added 10 dollars "+am/10+" times"); return am%10; } @Override public void setNext(Dispenser dispenser){ this.next = dispenser; //додає до класу в якому є ланцюг } }
true
709a44ecc2ccb7b0887d9f55c32a6d1895b8eab4
Java
jiangtaojiang/GraduProject
/src/main/java/com/hfutlzy/dao/UserDao.java
UTF-8
2,721
2.484375
2
[]
no_license
package com.hfutlzy.dao; import com.hfutlzy.entity.user.UserEntity; import org.hibernate.HibernateException; import org.hibernate.SessionFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import java.util.HashMap; import java.util.List; import java.util.Map; /** * ClassName: UserDao * Description: [一句话描述该类的功能] * @author : lzyli * CreateDate: 2018/4/9 21:39 */ @Repository public class UserDao { private final SessionFactory sessionFactory; @Autowired public UserDao(SessionFactory sessionFactory){ this.sessionFactory = sessionFactory; } /** * @author : lzyli * MethodName : getUser * Description : 根据用户名和密码获取用户信息 */ public UserEntity getUser(String username , String password){ String hql = "from "+UserEntity.class.getName()+" as u where u.username = :username and u.password = :password"; Map<String,String> map = new HashMap<>(2); map.put("username",username); map.put("password",password); return (UserEntity)sessionFactory.getCurrentSession().createQuery(hql).setProperties(map).uniqueResult(); } /** * @author : lzyli * MethodName : getAllUser * Description : 获取所有用户的信息 */ @SuppressWarnings("unchecked") public List<UserEntity> getAllUser(){ String hql = "from "+UserEntity.class.getName(); return sessionFactory.getCurrentSession().createQuery(hql).list(); } public boolean addUser(UserEntity userEntity){ try{ sessionFactory.getCurrentSession().save(userEntity); return true; }catch (HibernateException e){ return false; } } public boolean deleteUser(UserEntity userEntity){ try{ sessionFactory.getCurrentSession().delete(userEntity); return true; }catch (HibernateException e){ return false; } } public boolean updateUser(UserEntity userEntity){ try{ sessionFactory.getCurrentSession().update(userEntity); return true; }catch (HibernateException e){ return false; } } /*public boolean deleteUser(String userid){ UserEntity userEntity =new UserEntity(); userEntity.setUserid(userid); try{ sessionFactory.getCurrentSession().delete(userEntity); return true; }catch (HibernateException e){ return false; } }*/ }
true
52c6f95b27e9624ea9de0a342ae6ae8c5414f06c
Java
haifeng-jin/aggieThings
/sensor/test/aggiethings/generator/DataGeneratorTest.java
UTF-8
503
1.976563
2
[]
no_license
package aggiethings.generator; import static org.junit.Assert.*; import org.junit.Test; import aggiethings.common.JsonReader; public class DataGeneratorTest { @Test public void testConfigFile() { DataGenerator generator = new DataGenerator() { @Override String getAggregatorAddress(int id) { return ""; } }; generator.config(JsonReader.readJsonFromFile("resources/config.json")); assertEquals(90, generator.sensor.size()); assertEquals(3, generator.configHash.size()); } }
true
823b2182c3a755c51f8775309801771bae9f312b
Java
toast-tk/toast-tk-agent
/toast-tk-web-agent/src/main/java/io/toast/tk/agent/guice/UiModule.java
UTF-8
558
1.789063
2
[ "Apache-2.0" ]
permissive
package io.toast.tk.agent.guice; import com.google.inject.AbstractModule; import io.toast.tk.agent.ui.ConfigPanel; import io.toast.tk.agent.ui.PropertiesHolder; import io.toast.tk.agent.ui.provider.ConfigPanelProvider; import io.toast.tk.agent.ui.provider.PropertiesProvider; import java.util.Properties; public class UiModule extends AbstractModule { @Override protected void configure() { bind(PropertiesHolder.class).toProvider(PropertiesProvider.class); bind(ConfigPanel.class).toProvider(ConfigPanelProvider.class); } }
true
29269f75c421f4bdc90758b01ec47cd5a139f48f
Java
svalyn/svalyn
/backend/svalyn-application/src/main/java/com/svalyn/application/dto/output/Category.java
UTF-8
1,332
2.046875
2
[ "MIT" ]
permissive
/************************************************************** * Copyright (c) Stéphane Bégaudeau * * This source code is licensed under the MIT license found in * the LICENSE file in the root directory of this source tree. **************************************************************/ package com.svalyn.application.dto.output; import java.util.List; import java.util.Objects; import java.util.UUID; public class Category { private final UUID id; private final String label; private final String details; private final List<Requirement> requirements; private final TestStatus status; public Category(UUID id, String label, String details, List<Requirement> requirements, TestStatus status) { this.id = Objects.requireNonNull(id); this.label = Objects.requireNonNull(label); this.details = Objects.requireNonNull(details); this.requirements = Objects.requireNonNull(requirements); this.status = status; } public UUID getId() { return this.id; } public String getLabel() { return this.label; } public String getDetails() { return this.details; } public List<Requirement> getRequirements() { return this.requirements; } public TestStatus getStatus() { return this.status; } }
true
c3c91fe63da11ccd6e583c27004ec72e1b3ce0a3
Java
shaneslone/interviewquestions
/StacksAndQueues/src/com/lambdaschool/stacksandqueues/AnimalQueue.java
UTF-8
931
3.75
4
[]
no_license
package com.lambdaschool.stacksandqueues; import java.util.LinkedList; public class AnimalQueue { LinkedList<Dog> dogs = new LinkedList<>(); LinkedList<Cat> cats = new LinkedList<>(); private int order = 0; public void enqueue(Animal a){ a.setOrder(order); order++; if(a instanceof Dog){ dogs.add((Dog) a); } else { cats.add((Cat) a); } } public Animal dequeueAny(){ if(dogs.size() == 0){ return dequeueCat(); } else if (cats.size() == 0){ return dequeueDog(); } Dog dog = dogs.peek(); Cat cat = cats.peek(); if(dog.isOlderThan(cat)){ return dequeueDog(); } else { return dequeueCat(); } } public Dog dequeueDog(){ return dogs.poll(); } public Cat dequeueCat(){ return cats.poll(); } }
true
b1b95027cdb2ccf2330b767c47653c52e6a48f75
Java
jcarlosadm/tutorials
/java/headFirstDesignPatterns/chap7/homeTheaterFacade/src/br/com/hometheater/subsystems/PopcornMachine.java
UTF-8
237
2.421875
2
[]
no_license
package br.com.hometheater.subsystems; public class PopcornMachine { public void on(){ System.out.println("Popcorn Machine on!"); } public void off(){ System.out.println("Popcorn Machine off!"); } }
true
ceead71be737ad8d68900be40cee4a06dd6a9a1a
Java
qtvb1987/java08
/src/mx/mianxiang1022/Person.java
UTF-8
206
2.328125
2
[]
no_license
package mx.mianxiang1022; public class Person { String name; int age; public static void study(){ //sleep(); } public void sleep(){ System.out.println("sleep"); } }
true
d21fac36c2de1ae795f3893c6179e44daeff01ae
Java
Effervex/rlpacman
/pacWorking/src/rlPacMan/PacManStateSpec.java
UTF-8
17,267
2.5625
3
[]
no_license
package rlPacMan; import java.awt.Point; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Set; import org.mandarax.kernel.KnowledgeBase; import org.mandarax.kernel.LogicFactory; import org.mandarax.kernel.Predicate; import org.mandarax.kernel.Prerequisite; import org.mandarax.kernel.Rule; import org.mandarax.kernel.SimplePredicate; import org.mandarax.kernel.Term; import relationalFramework.GuidedPredicate; import relationalFramework.Policy; import relationalFramework.PredTerm; import relationalFramework.StateSpec; /** * The state specifications for the PacMan domain. * * @author Sam Sarjant */ public class PacManStateSpec extends StateSpec { @Override protected Map<Class, Predicate> initialiseTypePredicates() { Map<Class, Predicate> typeMap = new HashMap<Class, Predicate>(); // Simply load the arrays with names and classes and loop through. Class[] typeClasses = { Player.class, Dot.class, PowerDot.class, Ghost.class, Fruit.class, JunctionPoint.class, PacPoint.class, Object[].class }; String[] predNames = { "pacman", "dot", "powerdot", "ghost", "fruit", "junction", "location", "state" }; // Creating each type predicate for (int pred = 0; pred < typeClasses.length; pred++) { Class[] typeClass = { typeClasses[pred] }; typeMap.put(typeClass[0], new SimplePredicate(predNames[pred], typeClass)); } return typeMap; } @Override protected List<GuidedPredicate> initialisePredicates() { List<GuidedPredicate> predicates = new ArrayList<GuidedPredicate>(); try { // NEAREST DOT predicates.add(pacPointPredicate("Dot", new Integer[] { 1, 1, 3, 6, 12, 99 }, Dot.class, "proximalDot")); // NEAREST POWERDOT predicates.add(pacPointPredicate("Powerdot", new Integer[] { 9, 14, 19, 24, 31, 99 }, PowerDot.class, "proximalPowerDot")); // NEAREST GHOST predicates.add(pacPointPredicate("Ghost", new Integer[] { 4, 6, 10, 15, 21, 99 }, Ghost.class, "proximalGhost")); // NEAREST EDIBLE GHOST predicates .add(pacPointPredicate("Ghost", new Integer[] { 3, 6, 10, 13, 19, 99 }, Ghost.class, "proximalEdibleGhost")); // NEAREST FRUIT predicates.add(pacPointPredicate("Fruit", new Integer[] { 2, 8, 13, 18, 24, 99 }, Fruit.class, "proximalFruit")); // MAX JUNCTION SAFETY predicates.add(pacPointPredicate("Junction", new Integer[] { 2, 4, 8, 13, 19, 99 }, JunctionPoint.class, "safeJunction")); // GHOST CENTRE DIST predicates.add(valuePredicate(new Double[] { 5.41, 7.92, 10.15, 12.5, 15.79, 99.0 }, "ghostCentre")); // DOT CENTRE DIST predicates.add(valuePredicate(new Double[] { 4.12, 8.49, 11.31, 14.0, 17.12, 99.0 }, "dotCentre")); // GHOST DENSITY predicates.add(valuePredicate(new Double[] { 0.0, 1.51, 4.90, 7.79, 12.96, 99.0 }, "ghostDensity")); // TOTAL DIST TO GHOSTS predicates.add(valuePredicate(new Double[] { 19.38, 24.1, 28.25, 33.08, 39.77, 99.0 }, "ghostDistanceSum")); // GHOSTS FLASHING predicates.add(createDefinedPredicate(PacManStateSpec.class, new Class[] { Object[].class }, new PredTerm[][] { createTied("State", Object[].class) }, "ghostsFlashing")); // EMPTY PREDICATE Predicate empty = new SimplePredicate("true", new Class[] { Object[].class }); predicates.add(new GuidedPredicate(empty, new PredTerm[][] { createTied("State", Object[].class) })); } catch (Exception e) { e.printStackTrace(); } return predicates; } @Override protected List<GuidedPredicate> initialiseActions() { List<GuidedPredicate> actions = new ArrayList<GuidedPredicate>(); try { // MOVE TOWARDS Class[] moveStructure = { Object[].class, PacPoint.class }; PredTerm[][] predVals = new PredTerm[2][]; predVals[0] = createTied("State", Object[].class); predVals[1] = createTied("Location", PacPoint.class); actions.add(createDefinedPredicate(PacManStateSpec.class, moveStructure, predVals, "moveTowards")); // MOVE FROM actions.add(createDefinedPredicate(PacManStateSpec.class, moveStructure, predVals, "moveFrom")); // KEEP DIRECTION // moveStructure = new Class[1]; // moveStructure[0] = Object[].class; // predVals = new PredTerm[1][]; // predVals[0] = createTied("State", Object[].class); // actions.add(createDefinedPredicate(moveStructure, predVals, // "keepDirection")); } catch (Exception e) { e.printStackTrace(); } return actions; } @Override protected Rule initialiseGoalState(LogicFactory factory) { // Creating the prereqs List<Prerequisite> prereqs = new ArrayList<Prerequisite>(); // TODO Fill in the goal. return factory.createRule(prereqs, StateSpec.getTerminalFact(factory)); } @Override protected Policy initialiseOptimalPolicy() { // TODO Auto-generated method stub return null; } @Override protected KnowledgeBase initialiseBackgroundKnowledge(LogicFactory factory) { KnowledgeBase kb = new org.mandarax.reference.KnowledgeBase(); // There are no illegal relations in PacMan, as far as I'm aware anyway // There is a little type hierarchy to infer that some things are // Locations Class[] subPacClasses = { Player.class, Ghost.class, Dot.class, PowerDot.class, JunctionPoint.class, Fruit.class }; for (int i = 0; i < subPacClasses.length; i++) { List<Prerequisite> subPacPreqs = new LinkedList<Prerequisite>(); Term[] variable = { factory.createVariableTerm("X", subPacClasses[i]) }; subPacPreqs.add(factory.createPrerequisite( getTypePredicate(subPacClasses[i]), variable, false)); Rule subPacRule = factory.createRule(subPacPreqs, factory .createFact(getTypePredicate(PacPoint.class), variable)); kb.add(subPacRule); } return kb; } /** * Method for creating predicates relating to direct value comparisons. * * @param vals * The values to compare against. * @param methodName * The name of the method/predicate. * @return A DefinedPredicate of the above information. * @throws NoSuchMethodException * If the method doesn't exist. */ private GuidedPredicate valuePredicate(Double[] vals, String methodName) throws NoSuchMethodException { // Defining the predicate values PredTerm[][] predValues = new PredTerm[2][]; predValues[0] = createTied("State", Object[].class); predValues[1] = PredTerm.createValueArray(vals); // Defining the predicate Class[] predicateStructure = new Class[2]; predicateStructure[0] = Object[].class; predicateStructure[1] = Double.class; return createDefinedPredicate(PacManStateSpec.class, predicateStructure, predValues, methodName); } /** * Method for creating predicates relating to the distance between Pacman * and a point on the map. * * @param secondParamName * The name of the second free parameter. * @param distanceVals * The constant distance values for comparison. * @param secondClass * The class of the second free parameter. * @param methodName * The name of the method/predicate. * @return A DefinedPredicate of the above information. * @throws NoSuchMethodException * If the method does not exist. */ private GuidedPredicate pacPointPredicate(String secondParamName, Integer[] distanceVals, Class secondClass, String methodName) throws NoSuchMethodException { // Defining the predicate values PredTerm[][] predValues = new PredTerm[3][]; predValues[0] = createTied("State", Object[].class); predValues[1] = createTiedAndFree(secondParamName, secondClass); predValues[2] = PredTerm.createValueArray(distanceVals); // Defining the predicate Class[] predicateStructure = new Class[3]; predicateStructure[0] = Object[].class; predicateStructure[1] = secondClass; predicateStructure[2] = Integer.class; return createDefinedPredicate(PacManStateSpec.class, predicateStructure, predValues, methodName); } // // // // // THE PREDICATE METHODS // // // // // /** * Calculates whether a particular thing is within a distance from PacMan. * * @param distanceGrid * The grid of distances for PacMan. * @param thing * The thing to be checked. * @param distance * The distance range the thing needs to be in. * @return True if the thing is within the distance from PacMan. */ public boolean proximalThing(int[][] distanceGrid, Thing thing, Integer distance) { if (distanceGrid[thing.m_locX][thing.m_locY] <= distance) return true; return false; } /* * An assortment of wrapper methods checking distance between Pacman and a * Thing. */ public boolean proximalDot(Object[] state, Dot dot, Integer distance) { return proximalThing(PacManState.getDistanceGrid(state), dot, distance); } public boolean proximalPowerDot(Object[] state, PowerDot powerDot, Integer distance) { return proximalThing(PacManState.getDistanceGrid(state), powerDot, distance); } public boolean proximalGhost(Object[] state, Ghost ghost, Integer distance) { if ((ghost.m_nTicks2Exit <= 0) && (!ghost.m_bEaten)) { if (ghost.m_nTicks2Flee <= 0) return proximalThing(PacManState.getDistanceGrid(state), ghost, distance); } return false; } public boolean proximalEdibleGhost(Object[] state, Ghost ghost, Integer distance) { if ((ghost.m_nTicks2Exit <= 0) && (!ghost.m_bEaten)) { if (ghost.m_nTicks2Flee > 0) return proximalThing(PacManState.getDistanceGrid(state), ghost, distance); } return false; } public boolean proximalFruit(Object[] state, Fruit fruit, Integer distance) { if ((fruit.m_nTicks2Show == 0) && (fruit.m_bAvailable)) { return proximalThing(PacManState.getDistanceGrid(state), fruit, distance); } return false; } public boolean safeJunction(Object[] state, JunctionPoint junction, Integer safety) { // Make the check if (junction.getSafety() <= safety) { return true; } return false; } public boolean ghostCentre(Object[] state, Double distance) { double sumX = 0; double sumY = 0; Ghost[] ghosts = PacManState.getGhosts(state); Player pacman = PacManState.getPlayer(state); for (Ghost ghost : ghosts) { sumX += ghost.m_locX; sumY += ghost.m_locY; } double centreX = sumX / ghosts.length; double centreY = sumY / ghosts.length; if (Point.distance(centreX, centreY, pacman.m_locX, pacman.m_locY) <= distance) return true; return false; } public boolean dotCentre(Object[] state, Double distance) { double sumX = 0; double sumY = 0; Collection<Dot> dots = PacManState.getDots(state); Player pacman = PacManState.getPlayer(state); for (Dot dot : dots) { sumX += dot.m_locX; sumY += dot.m_locY; } double centreX = sumX / dots.size(); double centreY = sumY / dots.size(); if (Point.distance(centreX, centreY, pacman.m_locX, pacman.m_locY) <= distance) return true; return false; } public boolean ghostDensity(Object[] state, Double density) { if (calculateDensity(PacManState.getGhosts(state)) <= density) return true; return false; } /** * Calculates the density of the ghosts. * * @return The density of the ghosts, or 0 if only one ghost. */ private double calculateDensity(Ghost[] ghosts) { // If we can compare densities between ghosts double density = 0; for (int i = 0; i < ghosts.length - 1; i++) { Ghost thisGhost = ghosts[i]; for (int j = i + 1; j < ghosts.length; j++) { Ghost thatGhost = ghosts[j]; double distance = Ghost.DENSITY_RADIUS - Point.distance(thisGhost.m_locX, thisGhost.m_locY, thatGhost.m_locX, thatGhost.m_locY); if (distance > 0) density += distance; } } return density; } public boolean ghostDistanceSum(Object[] state, Double distance) { Thing currentThing = PacManState.getPlayer(state); Set<Thing> thingsToVisit = new HashSet<Thing>(); for (Ghost ghost : PacManState.getGhosts(state)) thingsToVisit.add(ghost); double totalDistance = 0; // While there are things to go to. while (!thingsToVisit.isEmpty()) { // Find the closest thing to the current thing double closest = Integer.MAX_VALUE; Thing closestThing = null; for (Thing thing : thingsToVisit) { double distanceBetween = Point.distance(currentThing.m_locX, currentThing.m_locY, thing.m_locX, thing.m_locY); if (distanceBetween < closest) { closest = distanceBetween; closestThing = thing; } } // Add to the total distance, and repeat the loop, minus the // closest // thing totalDistance += closest; currentThing = closestThing; thingsToVisit.remove(currentThing); } // The comparison if (totalDistance <= distance) return true; return false; } public boolean ghostsFlashing(Object[] state) { for (Ghost ghost : PacManState.getGhosts(state)) { if (ghost.isFlashing()) return true; } return false; } /** * Moves towards a thing. Returns a positive byte <= 4. * * @param state * The state of the environment. * @param point * The point to move towards. * @return A byte corresponding to a constant given in Thing */ public Byte moveTowards(Object[] state, PacPoint point) { return (byte) followPath(point.m_locX, point.m_locY, PacManState.getDistanceGrid(state)).ordinal(); } /** * Moves away from a thing. Returns a negative byte >= -4. * * @param state * The state of the environment. * @param point * The point to move away from. * @return A negative of a byte corresponding to a constant given in Thing */ public Byte moveFrom(Object[] state, PacPoint point) { return (byte) (-followPath(point.m_locX, point.m_locY, PacManState.getDistanceGrid(state)).ordinal()); } /** * Follows a path from a particular location back to point 0: where Pacman * currently is. This procedure thereby finds the quickest path to a point * by giving the initial direction that Pacman needs to take to get to the * goal. * * @param x * The x location of the point. * @param y * The y location of the point. * @param distanceGrid * The distance grid for the player, where a value of 0 is the * player position. * @return The initial direction to take to follow the path. */ private PacManLowAction followPath(int x, int y, int[][] distanceGrid) { PacManLowAction prevLocation = PacManLowAction.NOTHING; // Repeat until the distance grid coords are equal to 0 int width = distanceGrid.length; int height = distanceGrid[x].length; while (distanceGrid[x][y] != 0) { int currentVal = distanceGrid[x][y]; // Check all directions if (distanceGrid[(x + 1) % width][y] == currentVal - 1) { x = (x + 1) % width; prevLocation = PacManLowAction.LEFT; } else if (distanceGrid[(x - 1 + width) % width][y] == currentVal - 1) { x = (x - 1 + width) % width; prevLocation = PacManLowAction.RIGHT; } else if (distanceGrid[x][(y + 1) % height] == currentVal - 1) { y = (y + 1) % height; prevLocation = PacManLowAction.UP; } else if (distanceGrid[x][(y - 1 + height) % height] == currentVal - 1) { y = (y - 1 + height) % height; prevLocation = PacManLowAction.DOWN; } else { return prevLocation; } } return prevLocation; } /** * Continues in the same direction, or a random direction at 90 degrees if * impossible. * * @param state * The state of the environment. * @return A positive byte between 1 and 4 corresponding to a constant given * in Thing. */ public Byte keepDirection(Object[] state) { Player player = PacManState.getPlayer(state); int[][] distanceGrid = PacManState.getDistanceGrid(state); int xOffset = 0; int yOffset = 0; byte notDirection = 0; switch (player.m_direction) { case Thing.UP: yOffset = -1; notDirection = Thing.DOWN; break; case Thing.DOWN: yOffset = 1; notDirection = Thing.UP; break; case Thing.LEFT: xOffset = -1; notDirection = Thing.RIGHT; break; case Thing.RIGHT: xOffset = 1; notDirection = Thing.LEFT; break; default: return player.m_direction; } // Test if the specified location is free int x = (player.m_locX + xOffset + distanceGrid.length) % distanceGrid.length; int y = (player.m_locY + yOffset + distanceGrid[0].length) % distanceGrid[0].length; if (distanceGrid[x][y] < Integer.MAX_VALUE) { return player.m_direction; } else { return (byte) (-notDirection); } } }
true
bca04e8caea5a88fae48e9b81884bdba7294dcdd
Java
iollari/try_git
/SwipingSquares/hu.mobilefriends.swipingsquares/src/hu/mobilefriends/swipingsquares/presenters/CubePresenter.java
ISO-8859-2
6,732
2.53125
3
[]
no_license
package hu.mobilefriends.swipingsquares.presenters; import hu.mobilefriends.swipingsquares.interfaces.OnCubeMoveListener; import hu.mobilefriends.swipingsquares.models.*; import hu.mobilefriends.swipingsquares.views.CubeView; import android.view.MotionEvent; import android.view.View; import android.view.View.OnTouchListener; public class CubePresenter { // Az aktulis View, ami kezeli az inputokat s rajzol a felletre private CubeView cubeView; // A Bvs ngyzet, amivel jtszunk private CubeModel cubeModel; // Mozgatssal, rintssel, elengedssel kapcsolatos vltozk private byte _moveDirection; private int _touchX; private int _touchY; private int _currentX; private int _currentY; private int _selectedPosX; private int _selectedPosY; // Lps esemnykezel private OnCubeMoveListener _onCubeMoveListener = null; private String _movingColorOrder; public CubePresenter(CubeModel cubeModel, CubeView cubeView, boolean mix) { super(); this.cubeModel = cubeModel; this.cubeView = cubeView; this.cubeView.setOnTouchListener( new OnTouchListener() { public boolean onTouch(View v, MotionEvent event) { handleTouchEvent(event); return true; } }); if (mix) { this.cubeModel.randomMix(); } refreshCubeView(); } public void SetOnCubeMoveListener(OnCubeMoveListener listener) { _onCubeMoveListener = listener; } public void refreshCubeView() { int i; int j; for (i=0;i<this.cubeModel.cstRectPerRow;i++) { for (j=0;j<this.cubeModel.cstRectPerRow;j++) { this.cubeView.rectangles[i][j].rect.left = this.cubeModel.positions[i][j].rect.rectLeft; this.cubeView.rectangles[i][j].rect.top = this.cubeModel.positions[i][j].rect.rectTop; this.cubeView.rectangles[i][j].rect.right = this.cubeModel.positions[i][j].rect.rectRight; this.cubeView.rectangles[i][j].rect.bottom = this.cubeModel.positions[i][j].rect.rectBottom; this.cubeView.rectangles[i][j].rectColor = this.cubeModel.positions[i][j].rect.rectColor; } } if (this.cubeView.rectTouched) { for (i=0;i<this.cubeModel.cstMovingRectCount;i++) { this.cubeView.refreshMovingRectRow(i,this.cubeModel.movingRectsRow[i].rectLeft, this.cubeModel.movingRectsRow[i].rectTop, this.cubeModel.movingRectsRow[i].rectColor); this.cubeView.refreshMovingRectColumn(i,this.cubeModel.movingRectsColumn[i].rectLeft, this.cubeModel.movingRectsColumn[i].rectTop, this.cubeModel.movingRectsColumn[i].rectColor); } } this.cubeView.invalidate(); } private void onTouch(int x, int y) { // Megnzzk, hogy az rints melyik ngyzeten bell trtnt int i; int j; for (i=0;i<this.cubeModel.cstRectPerRow;i++) { for (j=0;j<this.cubeModel.cstRectPerRow;j++) { if ((x >= this.cubeModel.positions[i][j].rect.rectLeft) && (x <= this.cubeModel.positions[i][j].rect.rectRight) && (y >= this.cubeModel.positions[i][j].rect.rectTop) && (y <= this.cubeModel.positions[i][j].rect.rectBottom)) { this.cubeView.rectTouched = true; this._moveDirection = 0; this._touchX = x; this._touchY = y; this._selectedPosX = i; this._selectedPosY = j; // itt kell ltrehozni az adott sor/oszlop mozgatand ngyzet-tmbjeit this.cubeModel.createMovingRects(this._selectedPosX,this._selectedPosY); break; } } if (j<this.cubeModel.cstRectPerRow) { break; } } } private void handleTouchEvent(MotionEvent event) { _currentX = (int)event.getX(); _currentY = (int)event.getY(); // RINTS if (event.getAction() == MotionEvent.ACTION_DOWN) { this.onTouch((int)event.getX(),(int)event.getY()); } // MOZGATS if (event.getAction() == MotionEvent.ACTION_MOVE) { if (this.cubeView.rectTouched) { if (this._moveDirection == 0) { // CSAK IRNYMEGHATROZS!!! if ((Math.abs(this._currentX-this._touchX) > 5) || (Math.abs(this._currentY-this._touchY) > 5)) { if (Math.abs(this._currentX-this._touchX) > Math.abs(this._currentY-this._touchY)) { this._moveDirection = 1; // vzszintesen } else { this._moveDirection = 2; // fgglegesen } // kiindul sznsorrend meghatrozsa a mozgatott sorban/oszlopban setMovingColorOrder(); } } else { // NGYZETEK MOZGATSA if ((this._currentX >= this.cubeModel.cstCubeLeft) && (this._currentX <= this.cubeModel.cstCubeRight) && (this._currentY >= this.cubeModel.cstCubeTop) && (this._currentY <= this.cubeModel.cstCubeBottom)) { this.cubeModel.move(this._moveDirection, this._currentX - this._touchX, this._currentY - this._touchY); this._touchX = this._currentX; this._touchY = this._currentY; // az aktulis llapotnak megfelelen frissti a felletet refreshCubeView(); } } } } // ELENGEDS if (event.getAction() == MotionEvent.ACTION_UP) { if (this.cubeView.rectTouched) { this.cubeView.rectTouched = false; if (this._moveDirection > 0) { this.cubeModel.refreshPositions(this._moveDirection, this._selectedPosX, this._selectedPosY); // az aktulis llapotnak megfelelen frissti a felletet refreshCubeView(); if (movingColorOrderChanged()) { _onCubeMoveListener.OnCubeMove(); } } } this._moveDirection = 0; } } private boolean movingColorOrderChanged() { int i; String actualMovingColorOrder = ""; for (i=0;i<this.cubeModel.cstRectPerRow;i++) { if (this._moveDirection == 1) { actualMovingColorOrder += String.valueOf(this.cubeModel.positions[i][this._selectedPosY].rect.rectColor); } else { actualMovingColorOrder += String.valueOf(this.cubeModel.positions[this._selectedPosX][i].rect.rectColor); } } return (!(_movingColorOrder.equals(actualMovingColorOrder))); } private void setMovingColorOrder() { int i; _movingColorOrder = ""; for (i=0;i<this.cubeModel.cstRectPerRow;i++) { if (this._moveDirection == 1) { _movingColorOrder += String.valueOf(this.cubeModel.positions[i][this._selectedPosY].rect.rectColor); } else { _movingColorOrder += String.valueOf(this.cubeModel.positions[this._selectedPosX][i].rect.rectColor); } } } public void Shuffle() { this.cubeModel.randomMix(); refreshCubeView(); } }
true
171da636bc9834b2c3db02c413811458701a2b16
Java
TheDarkRob/Sgeorsge
/build/tmp/expandedArchives/forge-1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1-sources.jar_c582e790131b6dd3325b282fce9d2d3d/net/minecraftforge/common/extensions/IForgeWorldType.java
UTF-8
4,743
1.945313
2
[ "Apache-2.0" ]
permissive
/* * Minecraft Forge * Copyright (c) 2016-2019. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation version 2.1 * of the License. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ package net.minecraftforge.common.extensions; import java.util.function.LongFunction; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.screen.CreateBuffetWorldScreen; import net.minecraft.client.gui.screen.CreateFlatWorldScreen; import net.minecraft.client.gui.screen.CreateWorldScreen; import net.minecraft.world.IWorld; import net.minecraft.world.World; import net.minecraft.world.WorldType; import net.minecraft.world.gen.ChunkGenerator; import net.minecraft.world.gen.IExtendedNoiseRandom; import net.minecraft.world.gen.OverworldGenSettings; import net.minecraft.world.gen.area.IArea; import net.minecraft.world.gen.area.IAreaFactory; import net.minecraft.world.gen.layer.AddBambooForestLayer; import net.minecraft.world.gen.layer.BiomeLayer; import net.minecraft.world.gen.layer.EdgeBiomeLayer; import net.minecraft.world.gen.layer.ZoomLayer; import net.minecraft.world.gen.layer.LayerUtil; import net.minecraftforge.api.distmarker.Dist; import net.minecraftforge.api.distmarker.OnlyIn; public interface IForgeWorldType { default WorldType getWorldType() { return (WorldType) this; } /** * Called when 'Create New World' button is pressed before starting game */ default void onGUICreateWorldPress() { } /** * Called when the 'Customize' button is pressed on world creation GUI * * @param mc The Minecraft instance * @param gui the createworld GUI */ @OnlyIn(Dist.CLIENT) default void onCustomizeButton(Minecraft mc, CreateWorldScreen gui) { if (this == WorldType.FLAT) mc.displayGuiScreen(new CreateFlatWorldScreen(gui, gui.chunkProviderSettingsJson)); else if (this == WorldType.BUFFET) mc.displayGuiScreen(new CreateBuffetWorldScreen(gui, gui.chunkProviderSettingsJson)); } default boolean handleSlimeSpawnReduction(java.util.Random random, IWorld world) { return this == WorldType.FLAT ? random.nextInt(4) != 1 : false; } default double getHorizon(World world) { return this == WorldType.FLAT ? 0.0D : 63.0D; } default double voidFadeMagnitude() { return this == WorldType.FLAT ? 1.0D : 0.03125D; } /** * Get the height to render the clouds for this world type * * @return The height to render clouds at */ default float getCloudHeight() { return 128.0F; } @SuppressWarnings("deprecation") default ChunkGenerator<?> createChunkGenerator(World world) { return world.dimension.createChunkGenerator(); } /** * Allows modifying the {@link IAreaFactory} used for this type's biome * generation. * * @param <T> The type of {@link IArea}. * @param <C> The type of {@link IContextExtended}. * * @param parentLayer The parent layer to feed into any layer you return * @param chunkSettings The {@link OverworldGenSettings} used to create the * {@link GenLayerBiome}. * @param contextFactory A {@link LongFunction} factory to create contexts of * the supplied size. * @return An {@link IAreaFactory} that representing the Biomes to be generated. * @see {@link GenLayerBiome} */ default <T extends IArea, C extends IExtendedNoiseRandom<T>> IAreaFactory<T> getBiomeLayer(IAreaFactory<T> parentLayer, OverworldGenSettings chunkSettings, LongFunction<C> contextFactory) { parentLayer = (new BiomeLayer(getWorldType(), chunkSettings.getBiomeId())).apply(contextFactory.apply(200L), parentLayer); parentLayer = AddBambooForestLayer.INSTANCE.apply(contextFactory.apply(1001L), parentLayer); parentLayer = LayerUtil.repeat(1000L, ZoomLayer.NORMAL, parentLayer, 2, contextFactory); parentLayer = EdgeBiomeLayer.INSTANCE.apply(contextFactory.apply(1000L), parentLayer); return parentLayer; } }
true
1182530314a9f74f7f5e580838288ce0ccb63148
Java
sebfz1/wicket-jquery-ui
/wicket-kendo-ui/src/main/java/com/googlecode/wicket/kendo/ui/form/datetime/local/LocalTextField.java
UTF-8
5,027
2.015625
2
[ "Apache-2.0" ]
permissive
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You 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.googlecode.wicket.kendo.ui.form.datetime.local; import java.util.Locale; import org.apache.wicket.markup.html.form.AbstractTextComponent.ITextFormatProvider; import org.apache.wicket.markup.html.form.TextField; import org.apache.wicket.model.IModel; import org.apache.wicket.util.convert.IConverter; import com.googlecode.wicket.jquery.core.IJQueryWidget; import com.googlecode.wicket.jquery.core.JQueryBehavior; import com.googlecode.wicket.jquery.core.Options; import com.googlecode.wicket.jquery.core.utils.LocaleUtils; import com.googlecode.wicket.kendo.ui.KendoUIBehavior; import com.googlecode.wicket.kendo.ui.utils.KendoDateTimeUtils; /** * Base class for {@link DatePicker} and {@link TimePicker} * * @author Sebastien Briquet - sebfz1 * * @param <T> the model object type */ public abstract class LocalTextField<T> extends TextField<T> implements ITextFormatProvider, IJQueryWidget { private static final long serialVersionUID = 1L; private final Locale locale; /** the date pattern of the TextField */ private final String pattern; /** the converter for the TextField */ private final IConverter<T> converter; protected final Options options; /** * Main constructor * * @param id the markup id * @param model the {@link IModel} * @param locale the {@link Locale} * @param pattern a {@code SimpleDateFormat} pattern * @param options the {@link Options} * @param type the class type * @param converter the {@link IConverter} */ public LocalTextField(String id, IModel<T> model, Locale locale, String pattern, Options options, Class<T> type, IConverter<T> converter) { super(id, model, type); this.locale = locale; this.pattern = pattern; this.options = options; this.converter = converter; } // Events // @Override protected void onInitialize() { super.onInitialize(); this.add(JQueryWidget.newWidgetBehavior(this)); // cannot be in ctor as the markupId may be set manually afterward } @Override public void onConfigure(JQueryBehavior behavior) { if (behavior.getOption("culture") == null) { behavior.setOption("culture", Options.asString(LocaleUtils.getLangageCode(this.getLocale()))); } if (behavior.getOption("format") == null) { behavior.setOption("format", Options.asString(KendoDateTimeUtils.toPattern(this.getTextFormat()))); } } @Override public void onBeforeRender(JQueryBehavior behavior) { // noop } // Properties // @Override public Locale getLocale() { if (this.locale != null) { return this.locale; } return super.getLocale(); } /** * Returns the date pattern. * * Marked as final. It is - probably - not consistent to have a pattern different from the display * * @see org.apache.wicket.markup.html.form.AbstractTextComponent.ITextFormatProvider#getTextFormat() */ @Override public final String getTextFormat() { return this.pattern; } /** * Returns the default converter if created without pattern; otherwise it returns a pattern-specific converter. * * @param type The type for which the convertor should work * @return A pattern-specific converter * @see org.apache.wicket.markup.html.form.TextField */ @SuppressWarnings("unchecked") @Override public <C> IConverter<C> getConverter(final Class<C> type) { if (this.getType().isAssignableFrom(type)) { return (IConverter<C>) this.converter; } else { return super.getConverter(type); } } /** * Gets a string representation given the time pattern in use. * * @return the model object as string */ public String getModelObjectAsString() { T date = this.getModelObject(); if (date != null) { return this.converter.convertToString(date, this.getLocale()); } return ""; } /** * Gets the widget's method * * @return the widget's method */ protected abstract String getMethod(); // Methods // @Override public String getInput() { String input = super.getInput(); if (input != null) { return KendoDateTimeUtils.convert(input); } return null; } // IJQueryWidget // @Override public JQueryBehavior newWidgetBehavior(String selector) { return new KendoUIBehavior(selector, this.getMethod(), this.options); } }
true
78cd7c24554432e423af2a3cc2ebb0cc1bbaef48
Java
Sundae97/Weaver-Written-examination
/FileManagerClient/src/main/java/com/sundae/filemanagerclient/service/IHttpService.java
UTF-8
1,399
2.046875
2
[]
no_license
package com.sundae.filemanagerclient.service; import com.sundae.filemanagerclient.config.FeignConfiguration; import feign.Response; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.http.MediaType; import org.springframework.stereotype.Service; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestPart; import org.springframework.web.multipart.MultipartFile; /** * @Author daijiyuan * @Email 948820549@qq.com * @Date 2019/11/19 下午12:45 * @Description */ @Service @FeignClient(name = "httpService", url = "http://localhost:9999", configuration = FeignConfiguration.class) public interface IHttpService { @RequestMapping(value = "upload", method = RequestMethod.POST, consumes = MediaType.MULTIPART_FORM_DATA_VALUE) String uploadFile(@RequestPart("file") MultipartFile file); @RequestMapping(value = "download", method = RequestMethod.GET) Response downloadFile(@RequestParam("uuid") String uuid); @RequestMapping(value = "getMetaData", method = RequestMethod.GET) String getFileDetailByUUID(@RequestParam("uuid") String uuid); @RequestMapping(value = "getMetaDataList", method = RequestMethod.GET) String getFileDetailList(); }
true
0519c1f398bf8610ed6f887edd22c8dd293d7b80
Java
Sasha192/poi-visio
/src/main/java/org/apache/poi/xdgf/geom/SplineCollector.java
UTF-8
2,365
2.359375
2
[ "Apache-2.0" ]
permissive
/* * Copyright (c) 2015 Raytheon BBN Technologies Corp * * 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.apache.poi.xdgf.geom; import java.awt.geom.Point2D; import java.util.ArrayList; import org.apache.poi.xdgf.usermodel.XDGFShape; import org.apache.poi.xdgf.usermodel.section.geometry.SplineKnot; import org.apache.poi.xdgf.usermodel.section.geometry.SplineStart; import com.graphbuilder.curve.ControlPath; import com.graphbuilder.curve.ShapeMultiPath; import com.graphbuilder.curve.ValueVector; import com.graphbuilder.geom.PointFactory; public class SplineCollector { SplineStart _start; ArrayList<SplineKnot> _knots = new ArrayList<>(); public SplineCollector(SplineStart start) { _start = start; } public void addKnot(SplineKnot knot) { if (!knot.getDel()) _knots.add(knot); } public void addToPath(java.awt.geom.Path2D.Double path, XDGFShape parent) { // ok, we have the start, and all knots... do something with this Point2D last = path.getCurrentPoint(); // create a control path and knots ControlPath controlPath = new ControlPath(); ValueVector knots = new ValueVector(_knots.size() + 3); double firstKnot = _start.getB(); double lastKnot = _start.getC(); int degree = _start.getD(); // first/second knot knots.add(firstKnot); knots.add(_start.getA()); // first/second control point controlPath.addPoint(PointFactory.create(last.getX(), last.getY())); controlPath.addPoint(PointFactory.create(_start.getX(), _start.getY())); // middle knots/control points for (SplineKnot knot: _knots) { knots.add(knot.getA()); controlPath.addPoint(PointFactory.create(knot.getX(), knot.getY())); } // last knot knots.add(lastKnot); ShapeMultiPath shape = SplineRenderer.createNurbsSpline(controlPath, knots, null, degree); path.append(shape, true); } }
true
3ea2f20724620c88b3fddc3f876d33b187c29f8c
Java
PratikSethia/TrainingManagementSystem
/TMP/src/com/yash/training/tmp/resource/HeadingHelper.java
UTF-8
1,087
2.390625
2
[]
no_license
package com.yash.training.tmp.resource; import java.sql.ResultSet; import java.util.ArrayList; import java.util.List; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import com.yash.training.tmp.util.DButil; @Path("/heading") public class HeadingHelper { @GET @Path("/getvalue/{course}/{id}") @Produces(MediaType.APPLICATION_JSON) public List<String> getHeading(@PathParam("course") String course,@PathParam("id") int userId) throws Exception { String getCourseId = "SELECT COURSE_ID FROM COURSE WHERE COURSETITLE='" + course + "'AND USERID = '"+userId+"'"; ResultSet resultSet0 = DButil.select(getCourseId); int cId = 0; if (resultSet0.next()) { cId = resultSet0.getInt("COURSE_ID"); } String query = "SELECT HEADINGTEXT FROM HEADING WHERE COURSEID=" + cId; List<String> checklist = new ArrayList<>(); ResultSet resultSet = DButil.select(query); while (resultSet.next()) { checklist.add(resultSet.getString("HEADINGTEXT")); } return checklist; } }
true
e053f1eed5e1c3f1e3205be02ab9a19c293b16d4
Java
erick22se/DogView
/app/src/main/java/com/upc/dogview/Utilities/Session.java
UTF-8
1,114
2.703125
3
[]
no_license
package com.upc.dogview.Utilities; public class Session { private String id; private String url; private String uploadAt; private String createAt; public Session() { id=""; url=""; uploadAt=""; createAt=""; } public Session(String id, String url, String uploadAt, String createAt) { this.id = id; this.url = url; this.uploadAt = uploadAt; this.createAt = createAt; } public String getId() { return id; } public Session setId(String id) { this.id = id; return this; } public String getUrl() { return url; } public Session setUrl(String url) { this.url = url; return this; } public String getUploadAt() { return uploadAt; } public Session setUploadAt(String uploadAt) { this.uploadAt = uploadAt; return this; } public String getCreateAt() { return createAt; } public Session setCreateAt(String createAt) { this.createAt = createAt; return this; } }
true
9214a7b032c854c67fadd6c0aad4e1b01ad9d632
Java
pholser/bending-junit
/src/main/java/com/pholser/junit/matchers/SameContentsMatcher.java
UTF-8
763
2.640625
3
[]
no_license
package com.pholser.junit.matchers; import java.util.Collection; import com.pholser.junit.util.Containers; import org.hamcrest.Description; public class SameContentsMatcher<T> extends PredicateMatcher<Collection<T>> { private final Collection<T> exemplar; private SameContentsMatcher(Collection<T> exemplar) { super(Containers._.hasSameContentsAs(exemplar)); this.exemplar = exemplar; } @Override public void describeTo(Description description) { description.appendText("a collection with the same contents as "); description.appendValue(exemplar); } public static <U> SameContentsMatcher<U> hasSameContentsAs(Collection<U> exemplar) { return new SameContentsMatcher<U>(exemplar); } }
true
25947d16e0f82912ed3c4d86410947816fdac0d1
Java
zhaohan6357/JVM_java
/src/main/java/ch09/instructions/loads/xaload/AALOAD.java
UTF-8
654
2.25
2
[]
no_license
package ch09.instructions.loads.xaload; import ch09.instructions.base.instruction.NoOperandsInstruction; import ch09.instructions.loads.xaload.CHECK; import ch09.rtda.Frame; import ch09.rtda.OperandStack; import ch09.rtda.heap.Object; public class AALOAD extends NoOperandsInstruction { @Override public void Execute(Frame frame) { OperandStack stack=frame.operandStack; int index=stack.popInt(); Object arrRef=stack.popRef(); ch09.instructions.loads.xaload.CHECK.checkNotNull(arrRef); Object[] refs=arrRef.Refs(); CHECK.checkIndex(refs.length,index); stack.pushRef(refs[index]); } }
true
4b73752d39eb8b116131443af4baf9c357df82ae
Java
hwloong/testJava
/src/com/threadTest/threadpool/Task.java
UTF-8
450
2.703125
3
[]
no_license
package com.threadTest.threadpool; public class Task implements Runnable { private String threadName; public Task(String threadName) { super(); this.threadName = threadName; } @Override public void run() { System.out.println(threadName +" :" +Thread.currentThread().getName()); try { //Thread.sleep(100); } catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace(); } } }
true
ea901c0b15609eaabe4d084c25384160183f508a
Java
tenbirds/OPENWORKS-3.0
/src/main/java/zes/openworks/common/transmit/sender/sms/SmsSender.java
UTF-8
3,236
2.3125
2
[ "Apache-2.0" ]
permissive
/* * Copyright (c) 2012 ZES Inc. All rights reserved. * This software is the confidential and proprietary information of ZES Inc. * You shall not disclose such Confidential Information and shall use it * only in accordance with the terms of the license agreement you entered into * with ZES Inc. (http://www.zesinc.co.kr/) */ package zes.openworks.common.transmit.sender.sms; import java.util.List; import java.util.Map; import java.util.Properties; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import zes.core.spi.commons.configuration.Config; import zes.openworks.common.transmit.Sender; /** * SMS 단문 메시지 전송 클레스 * * @version 1.0 * @since openmonitor-1.0 프로젝트. (After JDK 1.6) * @author (주)제스아이엔씨 기술연구소 * * <pre> * << 개정이력(Modification Information) >> * * 수정일 수정자 수정내용 * -------------- -------- ------------------------------- * 2012. 9. 25. 방기배 JDK 1.6 이상 버전에 최적화 수정 및 주석 보강 * </pre> * @see */ public class SmsSender implements Sender { /** 전송에 필요한 정보 설정 */ private Properties props; /** SL4J 로깅 */ private static Logger logger = LoggerFactory.getLogger(SmsSender.class); /** 발송자이름 */ private static String senderNm = Config.getString("sender.senderNm"); /** 발송자 전화번호 */ private static String senderTel = Config.getString("sender.senderTel"); @Override public Sender setProperties(Properties props) throws Exception { this.props = props; return this; } @Override public boolean send() { Boolean sendTf = Boolean.TRUE; // 기본값은 config/commons/global-config.xml 파일 내의 sender 속성 참조 String senderName = props.getProperty("sender.name"); if(senderName == null) { senderName = senderNm; } String senderTelNum = props.getProperty("sender.tel"); if(senderTelNum == null) { senderTelNum = senderTel; } logger.debug("senderName is {}, senderTelNum is {} ", senderName, senderTelNum); String content = (String) this.props.get("content"); // 실 구현시 for 문 내에서 개별전송 실패에 대한 처리 로직이 필요 할수 있음 try { @SuppressWarnings("unchecked") List<Map<String, String>> receiptList = (List<Map<String, String>>) this.props.get("user.list"); if(receiptList != null) { for(Map<String, String> receipt : receiptList) { String userName = receipt.get("USER_NAME"); String mobNo = receipt.get("MOB_NO"); logger.debug("useris {}, content is {} ", (userName + ":" + mobNo), content); // 설정된 프로퍼티를 사용하여 전송관련 로직 코딩 } } } catch (Exception e) { if(logger.isDebugEnabled()) { logger.info("{} 전송을 실패하였습니다.", "SMS ", e); } return Boolean.FALSE; } return sendTf; } }
true
5401c20df960ebb52c0c113d893787e420d33245
Java
abhi7300/android-webview-tutorial
/app/src/main/java/com/dto/ElectricalItemDetailsDTO.java
UTF-8
1,526
2.359375
2
[]
no_license
package com.dto; public class ElectricalItemDetailsDTO extends BaseDTO { /** * */ private static final long serialVersionUID = 1413485518790567162L; private ElectricalItemsDTO electricalItems; private String itemNumber; private String quantity; private String yearOfManufacture; private String make; private String model; private String machineNumber; private String value; public ElectricalItemsDTO getElectricalItems() { return electricalItems; } public void setElectricalItems(ElectricalItemsDTO electricalItems) { this.electricalItems = electricalItems; } public String getItemNumber() { return itemNumber; } public void setItemNumber(String itemNumber) { this.itemNumber = itemNumber; } public String getQuantity() { return quantity; } public void setQuantity(String quantity) { this.quantity = quantity; } public String getYearOfManufacture() { return yearOfManufacture; } public void setYearOfManufacture(String yearOfManufacture) { this.yearOfManufacture = yearOfManufacture; } public String getMake() { return make; } public void setMake(String make) { this.make = make; } public String getModel() { return model; } public void setModel(String model) { this.model = model; } public String getMachineNumber() { return machineNumber; } public void setMachineNumber(String machineNumber) { this.machineNumber = machineNumber; } public String getValue() { return value; } public void setValue(String value) { this.value = value; } }
true
5368092a2117a7250c968d51c512f4256a7b5b0e
Java
XUser77/wy-town-stars
/src/main/java/io/xive/wy/arcade/townstars/game/CraftTune.java
UTF-8
1,673
2.65625
3
[]
no_license
package io.xive.wy.arcade.townstars.game; public class CraftTune { private String name; private String type; private long cityPrice; private String craftRequired1; private long craftRequiredAmount1; private String craftRequired2; private long craftRequiredAmount2; private String craftRequired3; private long craftRequiredAmount3; public CraftTune(String name, String type, long cityPrice, String craftRequired1, long craftRequiredAmount1, String craftRequired2, long craftRequiredAmount2, String craftRequired3, long craftRequiredAmount3) { this.name = name; this.type = type; this.cityPrice = cityPrice; this.craftRequired1 = craftRequired1; this.craftRequiredAmount1 = craftRequiredAmount1; this.craftRequired2 = craftRequired2; this.craftRequiredAmount2 = craftRequiredAmount2; this.craftRequired3 = craftRequired3; this.craftRequiredAmount3 = craftRequiredAmount3; } public Craft newCraft() { return new Craft(name, type, cityPrice); } public String getName() { return name; } public String getType() { return type; } public long getCityPrice() { return cityPrice; } public String getCraftRequired1() { return craftRequired1; } public long getCraftRequiredAmount1() { return craftRequiredAmount1; } public String getCraftRequired2() { return craftRequired2; } public long getCraftRequiredAmount2() { return craftRequiredAmount2; } public String getCraftRequired3() { return craftRequired3; } public long getCraftRequiredAmount3() { return craftRequiredAmount3; } }
true
2028ea318f717edb5ed70af0fa402199ba5907e8
Java
sito0413/sitoRepository
/MyProject/manager/frameWork/developer/installer/OperatingSystem.java
UTF-8
5,182
2.53125
3
[]
no_license
/* * OperatingSystem.java * * Originally written by Slava Pestov for the jEdit installer project. This work * has been placed into the public domain. You may use this work in any way and * for any purpose you wish. * * THIS SOFTWARE IS PROVIDED AS-IS WITHOUT WARRANTY OF ANY KIND, NOT EVEN THE * IMPLIED WARRANTY OF MERCHANTABILITY. THE AUTHOR OF THIS SOFTWARE, ASSUMES * _NO_ RESPONSIBILITY FOR ANY CONSEQUENCE RESULTING FROM THE USE, MODIFICATION, * OR REDISTRIBUTION OF THIS SOFTWARE. */ package frameWork.developer.installer; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.util.List; /* * Abstracts away operating-specific stuff, like finding out the installation * directory, creating a shortcut to start to program, and such. */ public abstract class OperatingSystem { abstract String getInstallDirectory(String name, String version); abstract void exec(final String[] args) throws IOException; abstract void mkdirs(final String directory) throws IOException; abstract void perform(final Installer installer, String installDir, List<String> filesets, final String kickJar) throws IOException; static OperatingSystem getOperatingSystem() { if (os != null) { return os; } if (System.getProperty("os.name").indexOf("Windows") != -1) { os = new Windows(); } else { os = new Unix(); } return os; } // private members private static OperatingSystem os; private static class Unix extends OperatingSystem { @Override public String getInstallDirectory(final String name, final String version) { String dir = "/usr/local/share/"; if (!new File(dir).canWrite()) { dir = System.getProperty("user.home"); } return new File(dir, name + "/" + version).getPath(); } @Override void mkdirs(final String directory) throws IOException { final File file = new File(directory); if (!file.exists()) { final String[] mkdirArgs = { "mkdir", "-m", "755", "-p", directory }; exec(mkdirArgs); } } @Override void exec(final String[] args) throws IOException { final Process proc = Runtime.getRuntime().exec(args); proc.getInputStream().close(); proc.getOutputStream().close(); proc.getErrorStream().close(); try { proc.waitFor(); } catch (final InterruptedException ie) { } } @Override public void perform(final Installer installer, final String installDir, final List<String> filesets, final String kickJar) throws IOException { String dir = "/usr/local/"; if (!new File(dir).canWrite()) { dir = System.getProperty("user.home"); } final String directory = new File(dir, "bin").getPath(); if (!((directory != null) && (directory.trim().length() != 0))) { return; } os.mkdirs(directory); // create app start script final String name = installer.getAppName(); final String script = directory + File.separatorChar + name.toLowerCase(); // Delete existing copy new File(script).delete(); // Write simple script final FileWriter out = new FileWriter(script); out.write("#!/bin/sh\n"); out.write("#\n"); out.write("# Find a java installation.\n"); out.write("if [ -z \"${JAVA_HOME}\" ]; then\n"); out.write(" echo 'Warning: $JAVA_HOME environment variable not set! Consider setting it.'\n"); out.write(" echo ' Attempting to locate java...'\n"); out.write(" j=`which java 2>/dev/null`\n"); out.write(" if [ -z \"$j\" ]; then\n"); out.write(" echo \"Failed to locate the java virtual machine! Bailing...\"\n"); out.write(" exit 1\n"); out.write(" else\n"); out.write(" echo \"Found a virtual machine at: $j...\"\n"); out.write(" JAVA=\"$j\"\n"); out.write(" fi\n"); out.write("else\n"); out.write(" JAVA=\"${JAVA_HOME}/bin/java\"\n"); out.write("fi\n"); out.write("\n"); out.write("# Launch application.\n"); out.write("\n"); out.write("exec \"${JAVA}\" -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -jar \"" + installDir + File.separator + "jedit.jar\" -reuseview \"$@\"\n"); out.close(); // Make it executable final String[] chmodArgs = { "chmod", "755", script }; os.exec(chmodArgs); } } private static class Windows extends OperatingSystem { @Override public String getInstallDirectory(final String name, final String version) { String programDir = System.getenv("ProgramFiles"); if (programDir == null) { programDir = "%ProgramFiles%"; } return programDir + "\\" + name + "\\" + version; } @Override void exec(final String[] args) throws IOException { try { Runtime.getRuntime().exec(args).waitFor(); } catch (final IOException io) { } catch (final InterruptedException ie) { } } @Override void mkdirs(final String directory) throws IOException { final File file = new File(directory); if (!file.exists()) { file.mkdir(); } } @Override void perform(final Installer installer, final String installDir, final List<String> filesets, final String kickJar) throws IOException { //NOP } } }
true
325b82c2d991e25dcb66f45cb1bf9f5d473a770a
Java
coderankithub/Playground
/Age Detector/Main.java
UTF-8
179
1.890625
2
[]
no_license
#include<iostream> using namespace std; int main() { int by, cr; cin >> by; cin >> cr; if( cr == 0 || by > cr) cr = cr + 100; cout << (cr- by); return 0; }
true
df2fcee89e05712c0286856e235e980ced1a8944
Java
MaRuO1372/Joker
/app/src/main/java/com/toldrentr/crazyjoker/About.java
UTF-8
1,491
2.9375
3
[]
no_license
package com.toldrentr.crazyjoker; import android.os.Bundle; import android.widget.Button; import android.widget.TextView; import androidx.appcompat.app.AppCompatActivity; public class About extends AppCompatActivity { private Button btn; private TextView tv; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_about); btn = findViewById(R.id.button2); tv = findViewById(R.id.tv_next); tv.setOnClickListener(v -> onBackPressed()); btn.setText("is an android quiz game based on Java. My first android application. The idea of it is to improve quick math skills, to train user's brain to solve math problems quickly and easily - by looking for patterns." + "Features!\n" + "User friendly colorful UI\n" + "Robust settings that lets user customize pretty much everything.\n" + "Randomly generated math problems with patterns - where user use their common sense to solve not math skills.\n" + "Fitting sound tracks to help user concentrate more.\n" + "Dark mode\n" + "3 different game modes\n" + "Ads" + "The homepage page has a nice animated background with a soothing soundtrack playing in the background to give user a very chill vibe, to calm their brain. There are three game modes."); } }
true
4ee6a0d2e6a5290fbda781112b7d936ee575607f
Java
Anusan-max/Look-good
/app/src/main/java/com/example/lookgood/views/OrderFragment.java
UTF-8
2,874
2
2
[]
no_license
package com.example.lookgood.views; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.fragment.app.Fragment; import androidx.lifecycle.Observer; import androidx.lifecycle.ViewModelProvider; import androidx.navigation.NavController; import androidx.navigation.Navigation; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.example.lookgood.R; import com.example.lookgood.databinding.FragmentOrderBinding; import com.example.lookgood.models.CartItem; import com.example.lookgood.repositories.OrderRepo; import com.example.lookgood.viewmodels.ShopViewModel; import com.google.firebase.auth.FirebaseAuth; import com.google.firebase.database.DatabaseReference; import com.google.firebase.database.FirebaseDatabase; import java.util.List; import static com.example.lookgood.BR.cartItem; public class OrderFragment extends Fragment { NavController navController; FragmentOrderBinding fragmentOrderBinding; ShopViewModel shopViewModel; FirebaseAuth fAuth; DatabaseReference reference; public OrderFragment() { fAuth = FirebaseAuth.getInstance(); reference = FirebaseDatabase.getInstance().getReference(); } @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { // Inflate the layout for this fragment // return inflater.inflate(R.layout.fragment_order, container, false); fragmentOrderBinding = FragmentOrderBinding.inflate(inflater, container, false); return fragmentOrderBinding.getRoot(); } @Override public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) { super.onViewCreated(view, savedInstanceState); navController = Navigation.findNavController(view); shopViewModel = new ViewModelProvider(requireActivity()).get(ShopViewModel.class); fragmentOrderBinding.continueShoppingButton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { placeOrder(); shopViewModel.resetCart(); navController.navigate(R.id.action_orderFragment_to_shopFragment); } }); } private void placeOrder() { shopViewModel.getCart().observe(getViewLifecycleOwner(), new Observer<List<CartItem>>() { @Override public void onChanged(List<CartItem> cartItems) { if(!cartItems.isEmpty()) { OrderRepo orderRepo = new OrderRepo(); orderRepo.setOrderItems(cartItems); reference.child("orders").child(orderRepo.getOrderId()).setValue(orderRepo); } } }); } }
true
f089a2e346f2144cc573dc4919c86ed6856bb2ed
Java
aritraautomation/MavenDemoTest
/src/test/java/org/qa/seleniumDemo/JSError.java
UTF-8
1,661
2.265625
2
[]
no_license
package org.qa.seleniumDemo; //import java.sql.Date; import java.util.Date; import java.util.logging.Level; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.logging.LogEntries; import org.openqa.selenium.logging.LogEntry; import org.openqa.selenium.logging.LogType; import org.openqa.selenium.logging.LoggingPreferences; import org.openqa.selenium.remote.BrowserType; import org.openqa.selenium.remote.CapabilityType; import org.openqa.selenium.remote.DesiredCapabilities; import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import io.github.bonigarcia.wdm.WebDriverManager; public class JSError { WebDriver driver; @BeforeMethod public void setUp(){ DesiredCapabilities cap = new DesiredCapabilities(); cap.setCapability(CapabilityType.BROWSER_NAME, BrowserType.CHROME); LoggingPreferences loggingPrefs = new LoggingPreferences(); loggingPrefs.enable(LogType.BROWSER, Level.ALL); cap.setCapability(CapabilityType.LOGGING_PREFS,loggingPrefs ); WebDriverManager.chromedriver().setup(); driver = new ChromeDriver(cap); } @AfterMethod public void tearDown(){ driver.quit(); } public void extractJSLogsInfo(){ LogEntries logentries = driver.manage().logs().get(LogType.BROWSER); for(LogEntry entry:logentries){ System.out.println(new Date(entry.getTimestamp())+" "+entry.getLevel()+" "+entry.getMessage()); } } @Test public void testMethod() throws InterruptedException{ driver.get("https://facebook.com/"); Thread.sleep(6000); extractJSLogsInfo(); } }
true
67f234819366d61c4a1db00dad8702154493d29c
Java
phcd/TAB
/common/src/main/java/com/archermind/txtbl/domain/Protocol.java
UTF-8
3,911
2.203125
2
[]
no_license
package com.archermind.txtbl.domain; public class Protocol { public static String EXCHANGE = "newexchange"; public static String IMAP_IDLE = "newimapidle"; public static String GMAIL_POP3 = "newgmailpop3"; public static String GMAIL_IMAP = "newgmailimap"; public static String YAHOO_IMAP = "newyahooimap"; public static String POP3 = "newpop3"; public static String IMAP = "newimap"; public static String MSP_NEW = "newmsp"; public static String SMTP = "smtp"; public static String GOOGLE_VOICE = "googlevoice"; public static String ACTIVE_SYNC = "activesync"; public static String XOBNI_IMAP_IDLE = "xobniimapidle"; public static String XOBNI_OAUTH_IDLE = "xobnioauthidle"; public static String XOBNI_YAHOO_IMAP = "xobniyahooimap"; public static String XOBNI_IMAP = "xobniimap"; public static String XOBNI_OAUTH = "xobnioauth"; public static String XOBNI_POP3 = "xobnipop3"; public static String XOBNI_MSP = "xobnimsp"; public static boolean isIMapIdle(String protocol) { return Protocol.IMAP_IDLE.equals(protocol); } public static boolean isGmailPop3(String protocol) { return Protocol.GMAIL_POP3.equals(protocol); } public static boolean isGmailImap(String protocol) { return Protocol.GMAIL_IMAP.equals(protocol); } public static boolean isGmailHosted(String protocol) { return isGmailPop3(protocol) || isGmailImap(protocol) || isIMapIdle(protocol); } public static boolean isYahooHosted(String protocol, String name) { return protocol.toLowerCase().contains("yahoo") || name.contains("@yahoo."); } public static boolean isExchange(String protocol) { return Protocol.EXCHANGE.equals(protocol); } public static boolean isMSP(String protocol) { return Protocol.MSP_NEW.equals(protocol); } public static boolean isXobniOauthIdle(String protocolType) { return XOBNI_OAUTH_IDLE.equals(protocolType); } public static boolean isXobniImapIdle(String protocolType) { return XOBNI_IMAP_IDLE.equals(protocolType); } public static boolean isXobni(String protocolType) { return isXobniImapIdle(protocolType) || isXobniOauthIdle(protocolType) || isXobniYahooImap(protocolType) || isXobniMSP(protocolType) || isXobniPOP3(protocolType) || isXobniIMap(protocolType) || isXobniOauth(protocolType); } public static boolean isXobniYahooImap(String protocolType) { return XOBNI_YAHOO_IMAP.equals(protocolType); } private static boolean isXobniMSP(String protocolType) { return XOBNI_MSP.equals(protocolType); } private static boolean isXobniPOP3(String protocolType) { return XOBNI_POP3.equals(protocolType); } public static boolean isXobniIMap(String protocolType) { return XOBNI_IMAP.equals(protocolType); } public static boolean isXobniOauth(String protocolType) { return XOBNI_OAUTH.equals(protocolType); } public static String getXobniProtocol(String protocolType) { if (isGmailHosted(protocolType)) { return XOBNI_IMAP_IDLE; } if (isYahooHosted(protocolType, "")) { return XOBNI_YAHOO_IMAP; } if (isMSP(protocolType)) { return XOBNI_MSP; } if (isPop3(protocolType)) { return XOBNI_POP3; } if (isIMap(protocolType)) { return XOBNI_IMAP; } return null; } private static boolean isIMap(String protocolType) { return IMAP.equals(protocolType); } public static boolean isPop3(String protocolType) { return POP3.equals(protocolType); } public static boolean isIdle(String protocolType) { return isIMapIdle(protocolType) || isXobniImapIdle(protocolType) || isXobniOauthIdle(protocolType); } }
true
645767e032ba18c7409c2c7d96c0260c717ca775
Java
khetreJagdish/SpringMVC
/SpringWebApp1/src/main/java/com/scp/services/TestUser.java
UTF-8
517
2.171875
2
[]
no_license
package com.scp.services; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.stereotype.Component; import org.springframework.stereotype.Service; @Service public class TestUser { @Autowired @Qualifier("user2") private UserInterface userInterface; @Qualifier("user1") private UserInterface userInterface2; public void service() { userInterface.userName(); userInterface.userPhoneNumber(); } }
true
07ceeb45483f2c2d90e8ffa07059421e81f95fec
Java
wtupc96/Orange-Juice-Java
/src/main/java/com/funcxy/light/models/GroupType.java
UTF-8
257
1.890625
2
[]
no_license
package com.funcxy.light.models; /** * @author aak12 on 2017/3/4. */ public enum GroupType { /** * 允许自由加入 */ FREE, /** * 可以申请加入 */ OPEN, /** * 只允许邀请加入 */ CLOSE }
true
3a879f88404e79b1dd66016f883ddad92d887f94
Java
pziomacki/StackOverflow
/app/src/main/java/com/ziomacki/stackoverflowclient/search/view/ResultsView.java
UTF-8
472
1.757813
2
[]
no_license
package com.ziomacki.stackoverflowclient.search.view; import com.ziomacki.stackoverflowclient.search.model.SearchResultItem; import java.util.List; public interface ResultsView { void displayResults(List<SearchResultItem> resultItemList); void displayNoResultsMessage(); void displayErrorMessage(); void displayDataLoading(); void hideDataLoading(); void disableRefresh(); void enableRefresh(); void displayDetails(String detailsUrl); }
true
80879425e8e25522dad20e226906a276a0b791a8
Java
nw000/myapp
/app/src/main/java/com/example/nw/myapp/view/DeleteableEditText.java
UTF-8
2,870
2.484375
2
[]
no_license
package com.example.nw.myapp.view; import android.content.Context; import android.graphics.drawable.Drawable; import android.text.Editable; import android.text.TextWatcher; import android.util.AttributeSet; import android.view.MotionEvent; import android.view.View; /** * Created by nw on 2017/10/11. */ public class DeleteableEditText extends android.support.v7.widget.AppCompatEditText { private Drawable rightDrawable; public DeleteableEditText(Context context) { super(context); init(); } public DeleteableEditText(Context context, AttributeSet attrs) { super(context, attrs); init(); } public DeleteableEditText(Context context, AttributeSet attrs, int defStyleAttr) { super(context, attrs, defStyleAttr); init(); } private void init() { //取得rigth位置的drawable Drawable[] drawables = getCompoundDrawables(); rightDrawable = drawables[2]; addTextChangedListener(new TextWatcherImpl()); //设置右侧图片不可见 setClearDrawableVisible(false); } private void setClearDrawableVisible(boolean visible) { Drawable drawable; if (visible) { drawable = rightDrawable; } else { drawable = null; } setCompoundDrawables(getCompoundDrawables()[0], getCompoundDrawables()[1], drawable, getCompoundDrawables()[3]); } @Override public boolean onTouchEvent(MotionEvent event) { switch (event.getAction()) { case MotionEvent.ACTION_UP: boolean isClean = (event.getX() > (getWidth() - getTotalPaddingRight())) && (event.getX() < (getWidth() - getPaddingRight())); if (isClean) { setText(""); } break; default: break; } return super.onTouchEvent(event); } public class TextWatcherImpl implements TextWatcher { @Override public void beforeTextChanged(CharSequence s, int start, int count, int after) { } @Override public void onTextChanged(CharSequence s, int start, int before, int count) { } @Override public void afterTextChanged(Editable s) { boolean isVisible = getText().toString().length() > 0; setClearDrawableVisible(isVisible); } } public class FocusChangeListenerImpl implements OnFocusChangeListener { @Override public void onFocusChange(View v, boolean hasFocus) { if (hasFocus) { boolean isVisible = getText().toString().length() > 0; setClearDrawableVisible(isVisible); } else { setClearDrawableVisible(false); } } } }
true
4ecdb0a1c45037baad84bea2d2842e675482fb05
Java
sadrul-nascenia/DemoAndroidProject
/app/src/main/java/com/example/pdfarhad/androidbasicimplementation/fragments/BookInfoFragment.java
UTF-8
2,737
2.03125
2
[]
no_license
package com.example.pdfarhad.androidbasicimplementation.fragments; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.support.annotation.Nullable; import android.support.design.widget.FloatingActionButton; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentTransaction; import android.text.Editable; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.os.Bundle; import android.widget.AdapterView; import android.widget.Button; import android.widget.EditText; import android.widget.LinearLayout; import android.widget.Toast; import android.widget.ArrayAdapter; import android.widget.ListAdapter; import android.widget.ListView; import android.widget.AdapterView.OnItemClickListener; import com.example.pdfarhad.androidbasicimplementation.R; import com.example.pdfarhad.androidbasicimplementation.adapter.BookInfoAdapter; import java.util.ArrayList; import java.util.Arrays; public class BookInfoFragment extends Fragment { private View rootView ; private ListView listView; private BookInfoAdapter listViewAdapter; Context context; public static String [] authorListArray = {"Title1dfdsjfoijdfoijdsofjsdofjdospjfodsfodsjfodjsfojdsofjdosfjodsjfojdsf","Author 2","Author 3","Author 4","Author 5"}; public static String [] authorCountryListArray = {"Bangladesh","Oman","USA","Germany","Canada"}; ArrayList<String> authorList = new ArrayList<String>(Arrays.asList(authorListArray)); ArrayList<String> authorCountryList = new ArrayList<String>(Arrays.asList(authorCountryListArray)); @Nullable @Override public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) { rootView = inflater.inflate(R.layout.book_info,null); listView = (ListView) rootView.findViewById(R.id.bookInfoListView); listViewAdapter = new BookInfoAdapter(getActivity(), authorList, authorCountryList); listView.setAdapter(listViewAdapter); listView.setOnItemClickListener(new OnItemClickListener() { @Override public void onItemClick(AdapterView<?> parent, View view, int position, long id) { Toast.makeText(getContext(),authorList.get(position) +" "+ authorCountryList.get(position), Toast.LENGTH_SHORT).show(); listView.removeViewAt(position); listViewAdapter.notifyDataSetChanged(); } }); return rootView; } }
true
670e40fb4b0aeb2f46e260377d449123a35389aa
Java
Prymon/git_java
/com.deamon.study.basic/sort/QuickSort.java
GB18030
2,282
4.03125
4
[]
no_license
package sort; /** * 1ȴȡһΪ׼ 2̣ȫŵұߣСڻȫŵߡ * 3ٶظڶֱֻһ */ public class QuickSort { public static void main(String[] args) { int[] nums1 = { 3, 1, 2, 5, 4, 5, 76, 7, 2, 5, 6, 7, 8, 43, 2, 534, 654, 7865, 8, 423, 2, 32, 4, 21, 2, 213, 12, 5, 423, 65, 46, 2 }; int[] nums2 = { 3, 1, 2, 5, 4, 5, 76, 7, 2, 5, 6, 7, 8, 43, 2, 534, 654, 7865, 8, 423, 2, 32, 4, 21, 2, 213, 12, 5, 423, 65, 46, 2 }; fenzhi(nums1, 0, 8); for (int temp : nums1) System.out.print(temp); System.out.println(); new QuickSort2().sort(nums2, 0, 8); for (int temp : nums2) System.out.print(temp); } public static void fenzhi(int[] nums, int begin, int stop) { if (begin < stop) { int tag = sort(nums, begin, stop); fenzhi(nums, begin, tag - 1); fenzhi(nums, tag + 1, stop); } } private static int sort(int[] arrs, int begin, int stop) { int x = arrs[begin]; int i = begin; int j = stop; // ֱǰ±ײ while (i < j) { // Ӻǰ while (i < j && arrs[j] >= x) j--; if (i < j) { arrs[i] = arrs[j]; i++; } // ǰ while (i < j && arrs[i] < x) i++; if (i < j) { arrs[j] = arrs[i]; j--; } } arrs[i] = x; return i; } // Ԫλ private static void change(int[] arrs, int a, int b) { arrs[a] = arrs[a] + arrs[b]; arrs[b] = arrs[a] - arrs[b]; arrs[a] = arrs[a] - arrs[b]; } } /** * Ľ */ class QuickSort2 { // ֵΪ±ַ public void sort(int[] arrs, int begin, int stop) { if (begin < stop) { // Խжݹ int i = begin, j = stop; int hole = arrs[i]; while (i < j) { while (i < j && arrs[j] >= hole) j--; if (i < j) arrs[i++] = arrs[j]; while (i < j && arrs[i] < hole) i++; if (i < j) arrs[j--] = arrs[i]; } arrs[i] = hole; // ݹ sort(arrs, begin, i - 1); sort(arrs, i + 1, stop); } } }
true
6112dd78f0e11ba7f0e8497ac02ea72d4a2c1d31
Java
DavidCrgh/Tarea_Programada_I_Algebra
/src/Interfaz/ControladorElementales.java
UTF-8
20,276
2.515625
3
[]
no_license
package Interfaz; import Aritmetica_Logica.CalculadoraElementales; import Aritmetica_Logica.Fraccion; import javafx.fxml.FXML; import javafx.fxml.Initializable; import javafx.geometry.Orientation; import javafx.geometry.Pos; import javafx.scene.Group; import javafx.scene.control.*; import javafx.scene.layout.GridPane; import javafx.scene.layout.Pane; import javafx.scene.layout.VBox; import javafx.scene.shape.Line; import javafx.scene.shape.StrokeType; import javax.swing.*; import java.net.URL; import java.util.ArrayList; import java.util.ResourceBundle; /** * Creado por David Valverde Garro - 2016034774 * Fecha: 15-Mar-17 Tiempo: 6:09 PM */ public class ControladorElementales implements Initializable{ //Controles @FXML public Pane panel; @FXML public GridPane matrizActual; @FXML public GridPane matrizHistorica; @FXML public ComboBox<Integer> seleccionadorFila1; @FXML public ComboBox<String> seleccionadorOperacion; @FXML public TextField entradaNumerador; @FXML public TextField entradaDenominador; @FXML public ComboBox<Integer> seleccionadorFila2; @FXML public Button botonResolver; @FXML public Button botonAnterior; @FXML public Label indicador; @FXML public Label ultimaOperacion; @FXML public Button botonSiguiente; @FXML public MenuBar menuConfiguracion; @FXML public MenuItem filas1; @FXML public MenuItem filas2; @FXML public MenuItem filas3; @FXML public MenuItem filas4; @FXML public MenuItem filas5; @FXML public MenuItem columnas1; @FXML public MenuItem columnas2; @FXML public MenuItem columnas3; @FXML public MenuItem columnas4; @FXML public MenuItem columnas5; @FXML public Button nuevaMatriz; @FXML public Button definirMatriz; public CalculadoraElementales calculadoraElementales; //Otras Variables int filas; int columnas; ArrayList<ArrayList<Fraccion>> matrizActualLogica; ArrayList<ArrayList<ArrayList<Fraccion>>> historialMatricesLogica; ArrayList<String> operacionesAplicadas; Group parentesisA = new Group(); Group parentesisB = new Group(); public void initialize(URL fxmlFileLocation, ResourceBundle resources){ panel.getChildren().add(parentesisA); panel.getChildren().add(parentesisB); filas = 1; columnas = 1; calculadoraElementales = new CalculadoraElementales(); matrizActualLogica = new ArrayList<>(); historialMatricesLogica = new ArrayList<>(); operacionesAplicadas = new ArrayList<>(); configurarMenusFilas(); configurarMenusColumnas(); botonResolver.setDisable(true); seleccionadorFila1.getItems().addAll(1,2,3,4,5); seleccionadorFila2.getItems().addAll(1,2,3,4,5); seleccionadorOperacion.getItems().addAll( "Multiplicar fila por escalar", "Intercambiar filas", "Sumar dos filas" ); botonResolver.setOnAction(event -> aplicarOperacion()); definirMatriz.setOnAction(event -> definirTamano()); nuevaMatriz.setOnAction(event -> nuevaMatriz()); botonSiguiente.setOnAction(event -> mostrarSiguiente()); botonAnterior.setOnAction(event -> mostrarAnterior()); } public ArrayList<ArrayList<Fraccion>> construirEsqueletoMatriz(){ ArrayList<ArrayList<Fraccion>> esqueleto = new ArrayList<>(); for(int i = 0; i < filas; i++){ ArrayList<Fraccion> filaActual = new ArrayList<>(); esqueleto.add(filaActual); } return esqueleto; } public Fraccion construirFracciondeVBox(VBox vbox){ TextField entradaNumerador = (TextField) vbox.getChildren().get(0); TextField entradaDenominador = (TextField) vbox.getChildren().get(2); return new Fraccion(Integer.parseInt(entradaNumerador.getText()), Integer.parseInt(entradaDenominador.getText())); } public void construirMatrizLogica(){ matrizActualLogica = construirEsqueletoMatriz(); for(int i = 0; i < filas; i++){ for(int j = 0; j < columnas; j++){ VBox vbox = (VBox) matrizActual.getChildren().get(columnas * i + j); matrizActualLogica.get(i).add(construirFracciondeVBox(vbox)); } } } public VBox construirEntradaMatriz(){ VBox contenedorVertical = new VBox(); contenedorVertical.setAlignment(Pos.CENTER); TextField entradaNumerador = new TextField(); entradaNumerador.setAlignment(Pos.CENTER); entradaNumerador.setText("0"); Separator separador = new Separator(Orientation.HORIZONTAL); TextField entradaDenominador = new TextField(); entradaDenominador.setAlignment(Pos.CENTER); entradaDenominador.setText("1"); contenedorVertical.getChildren().addAll(entradaNumerador,separador,entradaDenominador); return contenedorVertical; } public void construirMatriz(){ matrizActual.getChildren().clear(); for(int i = 0; i < filas; i++){ for(int j = 0; j < columnas; j++){ matrizActual.add(construirEntradaMatriz(),j,i); } } } public void construirMatrizActual(ArrayList<ArrayList<Fraccion>> matrizActualLogica) { for (int i = 0; i < filas; i++) { for (int j = 0; j < columnas; j++) { matrizActual.add(construirEntradaMatrizActual(matrizActualLogica, i, j), j, i); } } } public VBox construirEntradaMatrizActual(ArrayList<ArrayList<Fraccion>> matrizActualLogica,int fila, int columna){ Fraccion fraccion = matrizActualLogica.get(fila).get(columna); VBox contenedorVertical = new VBox(); contenedorVertical.setAlignment(Pos.CENTER); TextField entradaNumerador = new TextField(); entradaNumerador.setAlignment(Pos.CENTER); entradaNumerador.setText(String.valueOf(fraccion.numerador)); Separator separador = new Separator(Orientation.HORIZONTAL); TextField entradaDenominador = new TextField(); entradaDenominador.setAlignment(Pos.CENTER); entradaDenominador.setText(String.valueOf(fraccion.denominador)); contenedorVertical.getChildren().addAll(entradaNumerador,separador,entradaDenominador); return contenedorVertical; } public void construirMatrizHistorica(ArrayList<ArrayList<Fraccion>> matrizActualHistorica){ matrizHistorica.getChildren().clear(); for(int i = 0; i < filas; i++){ for(int j = 0; j < columnas; j++){ matrizHistorica.add(construirEntradaMatrizHistorica(matrizActualHistorica,i,j),j,i); } } } public VBox construirEntradaMatrizHistorica(ArrayList<ArrayList<Fraccion>> matrizActualHistorica, int fila, int columna){ Fraccion fraccion = matrizActualHistorica.get(fila).get(columna); VBox contenedorVertical = new VBox(); contenedorVertical.setAlignment(Pos.CENTER); TextField entradaNumerador = new TextField(); entradaNumerador.setEditable(false); entradaNumerador.setAlignment(Pos.CENTER); entradaNumerador.setText(String.valueOf(fraccion.numerador)); Separator separador = new Separator(Orientation.HORIZONTAL); TextField entradaDenominador = new TextField(); entradaDenominador.setEditable(false); entradaDenominador.setAlignment(Pos.CENTER); entradaDenominador.setText(String.valueOf(fraccion.denominador)); contenedorVertical.getChildren().addAll(entradaNumerador,separador,entradaDenominador); return contenedorVertical; } public void configurarMenusFilas(){ filas1.setOnAction(event -> { filas = 1; construirMatriz(); setParentesis (filas, columnas); }); filas2.setOnAction(event -> { filas = 2; construirMatriz(); setParentesis (filas, columnas); }); filas3.setOnAction(event -> { filas = 3; construirMatriz(); setParentesis (filas, columnas); }); filas4.setOnAction(event -> { filas = 4; construirMatriz(); setParentesis (filas, columnas); }); filas5.setOnAction(event -> { filas = 5; construirMatriz(); setParentesis (filas, columnas); }); } public void configurarMenusColumnas(){ columnas1.setOnAction(event -> { columnas = 1; construirMatriz(); setParentesis (filas, columnas); }); columnas2.setOnAction(event -> { columnas = 2; construirMatriz(); setParentesis (filas, columnas); }); columnas3.setOnAction(event -> { columnas = 3; construirMatriz(); setParentesis (filas, columnas); }); columnas4.setOnAction(event -> { columnas = 4; construirMatriz(); setParentesis (filas, columnas); }); columnas5.setOnAction(event -> { columnas = 5; construirMatriz(); setParentesis (filas, columnas); }); } public void aplicarOperacion(){ int fila = seleccionadorFila1.getValue(); if (fila > filas){ final JPanel mensaje = new JPanel(); JOptionPane.showMessageDialog(mensaje, "El número de fila excede el límite, por favor ingreselo nuevamente"); return; } String sel = seleccionadorOperacion.getValue(); if (sel == "Multiplicar fila por escalar"){ try{ int numerador = Integer.parseInt(entradaNumerador.getText()); int denominador = Integer.parseInt(entradaDenominador.getText()); Fraccion escalar = new Fraccion(numerador,denominador); operacionesAplicadas.add(armarStringOperaciones(fila,sel,escalar,-1)); calculadoraElementales.multiplicarFila(matrizActualLogica,fila-1,escalar); historialMatricesLogica.add(copiarMatriz(matrizActualLogica)); construirMatrizActual(matrizActualLogica); }catch(NumberFormatException e){ final JPanel mensaje = new JPanel(); JOptionPane.showMessageDialog(mensaje, "Los datos ingresados no son válidos"); } } else if (sel == "Intercambiar filas"){ int fila2 = seleccionadorFila2.getValue(); if (fila2 > filas) { final JPanel mensaje = new JPanel(); JOptionPane.showMessageDialog(mensaje, "El número de fila excede el límite, por favor ingreselo nuevamente"); return; } operacionesAplicadas.add(armarStringOperaciones(fila,sel,null,fila2)); calculadoraElementales.intercambiarFilas(matrizActualLogica,fila-1,fila2-1); historialMatricesLogica.add(copiarMatriz(matrizActualLogica)); construirMatrizActual(matrizActualLogica); }else{ int fila2 = seleccionadorFila2.getValue(); if (fila2 > filas) { final JPanel mensaje = new JPanel(); JOptionPane.showMessageDialog(mensaje, "El número de fila excede el límite, por favor ingreselo nuevamente"); return; } try{ int numerador = Integer.parseInt(entradaNumerador.getText()); int denominador = Integer.parseInt(entradaDenominador.getText()); Fraccion escalar = new Fraccion(numerador,denominador); operacionesAplicadas.add(armarStringOperaciones(fila,sel,escalar,fila2)); calculadoraElementales.sumarFilas(matrizActualLogica,fila-1,fila2-1,escalar); historialMatricesLogica.add(copiarMatriz(matrizActualLogica)); construirMatrizActual(matrizActualLogica); }catch(NumberFormatException e){ final JPanel mensaje = new JPanel(); JOptionPane.showMessageDialog(mensaje, "Los datos ingresados no son válidos"); } } //imprimirHistorial (); } public String armarStringOperaciones(int fila1, String operacion, Fraccion escalar, int fila2){ String resultado = ""; switch (operacion){ case "Multiplicar fila por escalar": resultado += escalar.numerador + "/" + escalar.denominador + " f" + fila1; break; case "Intercambiar filas": resultado += "f" + fila1 + " <-> " + "f" + fila2; break; case "Sumar dos filas": resultado += "f" + fila1 + " + " + escalar.numerador + "/" + escalar.denominador +" f" + fila2; break; } return resultado; } public void definirTamano(){ construirMatrizLogica(); historialMatricesLogica.add(copiarMatriz(matrizActualLogica)); definirMatriz.setDisable(true); botonResolver.setDisable(false); construirMatrizHistorica(matrizActualLogica); ultimaOperacion.setText("Inicial"); menuConfiguracion.setDisable(true); switchEntradasMatrizAcutal(false); } public void switchEntradasMatrizAcutal(boolean valorEditable){ int limite = matrizActual.getChildren().size(); for(int i = 0; i < limite; i++){ VBox entradaActual = (VBox) matrizActual.getChildren().get(i); TextField entradaNumerador = (TextField) entradaActual.getChildren().get(0); TextField entradaDenominador = (TextField) entradaActual.getChildren().get(2); entradaNumerador.setEditable(valorEditable); entradaDenominador.setEditable(valorEditable); entradaActual.getChildren().set(0,entradaNumerador); entradaActual.getChildren().set(2,entradaDenominador); } } public void nuevaMatriz(){ int valor = JOptionPane.showConfirmDialog(null, "¿Está seguro de volver a iniciar?, se perderan todos los datos"); if (valor == 1) return; else if (valor == 2) return; else{ filas = 1; columnas = 1; calculadoraElementales = new CalculadoraElementales(); matrizActualLogica = new ArrayList<>(); historialMatricesLogica = new ArrayList<>(); operacionesAplicadas = new ArrayList<>(); construirMatriz(); definirMatriz.setDisable(false); matrizHistorica.getChildren().clear(); indicador.setText("0"); panel.getChildren().remove(parentesisA); panel.getChildren().remove(parentesisB); menuConfiguracion.setDisable(false); switchEntradasMatrizAcutal(true); } } public void mostrarSiguiente(){ int ind = Integer.parseInt(indicador.getText()) + 1; if (ind > operacionesAplicadas.size()){ final JPanel mensaje = new JPanel(); JOptionPane.showMessageDialog(mensaje, "No existen más operaciones aplicadas"); return; }else{ indicador.setText(String.valueOf(ind)); ArrayList<ArrayList<Fraccion>> matriz = historialMatricesLogica.get(ind); construirMatrizHistorica(matriz); ultimaOperacion.setText(operacionesAplicadas.get(ind-1)); //imprimirMatriz(historialMatricesLogica.get(ind)); } } public void mostrarAnterior() { int ind = Integer.parseInt(indicador.getText()) - 1; if (ind < 0) { final JPanel mensaje = new JPanel(); JOptionPane.showMessageDialog(mensaje, "No es posible continuar"); return; } else{ indicador.setText(String.valueOf(ind)); ArrayList<ArrayList<Fraccion>> matriz = historialMatricesLogica.get(ind); construirMatrizHistorica(matriz); if(ind == 0){ ultimaOperacion.setText("Inicial"); } else { ultimaOperacion.setText(operacionesAplicadas.get(ind - 1)); } //imprimirMatriz(historialMatricesLogica.get(ind)); } } //Metodos que dan funcionalidad a los controles de la ventana private ArrayList<ArrayList<Fraccion>> copiarMatriz (ArrayList<ArrayList<Fraccion>> matriz) { ArrayList<ArrayList<Fraccion>> copiaMatriz = new ArrayList<>(); for (int i = 0; i < matriz.size(); i++) { copiaMatriz.add(new ArrayList<>()); for (int j = 0; j < matriz.get(0).size(); j++) { copiaMatriz.get(i).add(new Fraccion( matriz.get(i).get(j).numerador, matriz.get(i).get(j).denominador)); } } return copiaMatriz; } private void setParentesis (int ordenN, int ordenM){ panel.getChildren().remove(parentesisA); panel.getChildren().remove(parentesisB); Double[] espacios = {50.0, 30.0, 4.1, 1.5, 3.0}; Double[] espaciosH= {50.0, 30.0, 11.5, 1.7, 4.8}; parentesisA = createParenthesis(14.0, 65.0, ordenN, ordenM, espacios); parentesisB = createParenthesis(570.0, 73.0, ordenN, ordenM, espaciosH); panel.getChildren().add(parentesisA); panel.getChildren().add(parentesisB); } private Group createParenthesis (Double inicioX, Double inicioY, int filas, int columnas, Double[] espacios){ /* X1,Y1....... ***** ***** . . * * * * Altura . . filas ***** ***** . . Ancho | -EspaciadorV (Entre ambos entradas para fraccion) .......X2,Y2 | ***** columnas | -EspaciadorVV (Entre lo que representaría un nuevo espaciadorH espacio a la siguiente fila) */ Double anchoCasilla = espacios[0]; Double alturaCasilla = espacios[1]; Double espaciadorH = espacios[2]; Double espaciadorV = espacios[3]; Double espaciadorVV = espacios[4]; Double pointX1, pointY1, pointX2, pointY2; pointX1 = inicioX; pointY1 = inicioY; pointX2 = inicioX + (columnas * (anchoCasilla + espaciadorH)) + espaciadorH; pointY2 = inicioY + (filas * (alturaCasilla * 2 + espaciadorV + espaciadorVV)) + espaciadorVV; Line[] line = new Line[6]; for (int i = 0; i < 6; i++) { line[i] = new Line(); line[i].setStrokeType(StrokeType.OUTSIDE); line[i].setStrokeWidth(1.5); } //Linea vertical izquierda line[0].setStartX (pointX1); line[0].setStartY (pointY1); line[0].setEndX (pointX1); line[0].setEndY (pointY2); //Linea vertical derecha line[1].setStartX (pointX2); line[1].setStartY (pointY1); line[1].setEndX (pointX2); line[1].setEndY (pointY2); //Linea esquina superior izquierda line[2].setStartX (pointX1); line[2].setStartY (pointY1); line[2].setEndX (pointX1+20.0); line[2].setEndY (pointY1); //Linea esquina inferior izquierda line[3].setStartX (pointX1); line[3].setStartY (pointY2); line[3].setEndX (pointX1+20.0); line[3].setEndY (pointY2); //Linea esquina superior derecha line[4].setStartX (pointX2-20.0); line[4].setStartY (pointY1); line[4].setEndX (pointX2); line[4].setEndY (pointY1); //Linea esquina inferior derecha line[5].setStartX (pointX2-20.0); line[5].setStartY (pointY2); line[5].setEndX (pointX2); line[5].setEndY (pointY2); return new Group(line); } }
true
3be747869b2e0cd2820763dced3c25d88f56adab
Java
PazLiu/cloud
/NetCollect/src/main/java/com/shty/collect/service/fb/impl/TimelineComment_ServiceImpl.java
UTF-8
896
1.828125
2
[]
no_license
package com.shty.collect.service.fb.impl; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.shty.collect.dao.fb.TimelineCommentMapper; import com.shty.collect.domain.fb.OverviewFamily; import com.shty.collect.domain.fb.TimelineComment; import com.shty.collect.service.fb.TimelineComment_ServiceI; @Service public class TimelineComment_ServiceImpl implements TimelineComment_ServiceI { @Autowired TimelineCommentMapper timelineCommentMapper; @Override public int insert_TimelineComment(TimelineComment timelineComment) { // TODO Auto-generated method stub return timelineCommentMapper.insert_TimelineComment(timelineComment); } @Override public void inset_TimelineLike(TimelineComment timelineComment) { // TODO Auto-generated method stub timelineCommentMapper.inset_TimelineLike(timelineComment); } }
true
46d7e4dc8ad851791e5576dbca34fbe707e93ce5
Java
spacecooky/OnlineCodex30k
/src/oc/whfb/units/im/IMBihandkaempfer.java
ISO-8859-1
2,772
2.09375
2
[]
no_license
package oc.whfb.units.im; import oc.AnzahlPanel; import oc.BuildaHQ; import oc.BuildaMenu; import oc.Eintrag; import oc.OptionsEinzelUpgrade; import oc.OptionsUpgradeGruppe; import oc.RuestkammerStarter; public class IMBihandkaempfer extends Eintrag { AnzahlPanel squad; OptionsEinzelUpgrade oeM; OptionsEinzelUpgrade oeS; OptionsEinzelUpgrade oeC; OptionsUpgradeGruppe o1; RuestkammerStarter rkAbteilung1; RuestkammerStarter rkAbteilung2; IMAbteilung abteilung1; IMAbteilung abteilung2; boolean familienBannerSelected = false; public IMBihandkaempfer() { name = BuildaHQ.translate("Bihandkmpfer"); grundkosten = 0; squad = new AnzahlPanel(ID, randAbstand, cnt, BuildaHQ.translate("Bihandkmpfer"), 5, 100, 10); squad.setGrundkosten(0); add(squad); seperator(); add(oeM = new OptionsEinzelUpgrade(ID, randAbstand, cnt, "", BuildaHQ.translate("Musiker"), 6)); add(oeS = new OptionsEinzelUpgrade(ID, randAbstand, cnt, "", BuildaHQ.translate("Standartentrger"), 12)); add(oeC = new OptionsEinzelUpgrade(ID, randAbstand, cnt, "", BuildaHQ.translate("Champion"), 12)); seperator(); abteilung1 = new IMAbteilung(); rkAbteilung1 = new RuestkammerStarter(ID, randAbstand, cnt, abteilung1); rkAbteilung1.initKammer(true, false, false, false, false); rkAbteilung1.setButtonText("1. " + BuildaHQ.translate("Abteilung")); add(rkAbteilung1); seperator(); abteilung2 = new IMAbteilung(); rkAbteilung2 = new RuestkammerStarter(ID, randAbstand, cnt, abteilung2); rkAbteilung2.initKammer(true, false, false, false, false); rkAbteilung2.setButtonText("2. " + BuildaHQ.translate("Abteilung")); add(rkAbteilung2); seperator(); complete(); } @Override public void refreshen() { abteilung1.setAnzahl(squad.getModelle()); abteilung2.setAnzahl(squad.getModelle()); rkAbteilung1.setAktiv(squad.getModelle() >= 10); rkAbteilung2.setAktiv(squad.getModelle() >= 10); setProzentKosten(abteilung1.getKosten() + abteilung2.getKosten()); /*if (ico != null ) panel.remove(ico); if ( BuildaMenu.bilderAneigen.isSelected() ) { ico = BuildaHQ.createPictureJLabel(BuildaHQ.IMAGEPFAD + reflectionKennung.toLowerCase() + "/" + getClass().getSimpleName() + JPG); ico.setLocation((290 - (ico.getSize().width - 100) / 2), 30); panel.add(ico); }*/ try { setUnikat(true, Integer.valueOf(budget.getText()).intValue() >= 3000 ? 6 : 3); } catch (Exception e){ setUnikat(true, 3); } } @Override public void deleteYourself() { if (rkAbteilung1 != null) rkAbteilung1.setModelle(0); if (rkAbteilung2 != null) rkAbteilung2.setModelle(0); if(familienBannerSelected) { BuildaHQ.setInformationVectorValue("GOTE_BANNER", 0); } super.deleteYourself(); } }
true
4194fbf232e581f2d90f2f241dc09998a0f18658
Java
mccre110/computer-science-2
/Ch5Ex2.java
UTF-8
861
3.65625
4
[]
no_license
import java.util.Scanner; public class Ch5Ex2 { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.println("Enter Numerator: "); int userNum = input.nextInt(); System.out.println("Enter Denominator: "); int userDen = input.nextInt(); Fraction userFract = new Fraction(userNum, userDen); while (true) { System.out.println("----- Compare to this fraction------"); System.out.println("Enter Numerator: "); userNum = input.nextInt(); System.out.println("Enter Denominator: "); userDen = input.nextInt(); System.out.print(userFract.equals(new Fraction(userNum, userDen))); System.out.println(" [Fractions Equal?]"); System.out.println("Quit? [y/n] :"); String loopControl = ""; loopControl = input.next(); if (loopControl == "y") break; else continue; } } }
true
3e008bbbe37d7997f53445abacab2592ad0ce059
Java
poom-sci/TREASON
/src/logic/LevelData.java
UTF-8
9,840
2.203125
2
[]
no_license
package logic; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.InputStreamReader; import java.util.ArrayList; import components.Entity; import components.box.AmmoBox; import components.box.Box; import components.box.Grass0; import components.box.Grass1; import components.box.Grass2; import components.box.Grass3; import components.box.Grass4; import components.box.Grass5; import components.box.Oak; import components.box.Portal; import components.box.PotionBox; import components.character.GameCharacter; import components.enemy.BossEnemy; import components.enemy.ColliderEnemy; import components.enemy.GunEnemy; import javafx.scene.control.Label; import javafx.scene.image.Image; import javafx.scene.layout.Pane; import javafx.scene.paint.Color; import javafx.scene.paint.ImagePattern; import javafx.scene.shape.Rectangle; import javafx.scene.text.Font; public class LevelData { private static final String[] LEVEL1 = new String[] { "20000000000000000000000000000000000000000000000000000000000000000000000003", "2000000000000000000000000000000000000000000000000000000000000HC00000000003", "200000000000000000000000000000000000000000000000000000000000a8b00G00000003", "20000T00000000000000000000000000000000000000000000000000000000000a88b00003", "200000000T000000000000000000000000T0000000000GH000000000000000000000000003", "20000000000000000000000000000000000000000000a8b000000000000000000000000P03", "2000AG0000000000000000000000000000000000000000000000c00000G0000G0000000416", "20T0a8b00G000000000000000000000000G000a88b000000000090000a8b00a8b00a8b03xx", "200000000a8b000G000000c00c000000a88b000000000000000420000000000000000003xx", "2000000G000000a8b0000420035000000000000000000000004675000G00000G00000003xx", "2000004150000000000046200375000C000G00C000000G00046xx7111111111111111116xx", "7111116x2004115000416x2003x71111111111111111111116xxxxxxxxxxxxxxxxxxxxxxxx" }; private static final String[] LEVEL2 = new String[] { "200000000000000000000000000000000000000000000000000003", "200000000000000000000000000000000000000000000000000003", "20000000000000C0000GC000HA0000000000000000000000000003", "2000000000000ab000a88b00ab0000000000000000000000000003", "200000000ab0000000000000000000000000000000000000000003", "200000000000000000000000000000000000000000000000000P03", "2000000G000G00000000000000000000000000000000000G000416", "200000411888b00000a8b000a5000000c0000000G00000a8b003xx", "2000416x2000000000000000090000042000000a88b000000003xx", "20046xxx200000a8b00000000350G04x20000000000000000003xx", "2046xxxx20000000000000000371116x71111111111111111116xx", "716xxxxx200411500041115003xxxxxxxxxxxxxxxxxxxxxxxxxxxx" }; private static final String[] LEVEL3 = new String[] { "2000000000000000000000000000000000003", "2000000000000000000000000000000000003", "2000000000000000000000000000000000003", "20000000000000c0000000000000000000B03", "2000000000000090000000000000000000003", "2000000000000035000000000000000000003", "2000000000041162000000000000000000416", "200000000046xxx20000000000000000003xx", "20000000046xxxx2000a8b00a8b00a8b003xx", "2000000046xxxxx20000000000000000003xx", "200000046xxxxxx75000000000000000003xx", "71111116xxxxxxxx7111111111111111116xx" }; public static final String[][] ALLLEVELMAP = new String[][] { LEVEL1, LEVEL2, LEVEL3 }; public static LevelData levelD; private Pane gameRoot; private ArrayList<Entity> platforms; private ArrayList<Portal> portalList; private BossEnemy boss; private ArrayList<GameCharacter> enemieList; private ArrayList<Entity> playerInteractEntity; private Rectangle bg; private int levelWidth; private int levelHeight; private LevelData() { platforms = new ArrayList<Entity>(); portalList = new ArrayList<Portal>(); enemieList = new ArrayList<GameCharacter>(); playerInteractEntity = new ArrayList<Entity>(); gameRoot = new Pane(); } public static LevelData getInstance() { if (levelD == null) { levelD = new LevelData(); } return levelD; } public void loadLevel(int level) { level -= 1; platforms.clear(); portalList.clear(); enemieList.clear(); playerInteractEntity.clear(); gameRoot.getChildren().clear(); boss = null; bg = new Rectangle(1280, 720); bg.setFill(new ImagePattern(new Image("game_background.jpg", 1920, 1080, false, true))); this.levelWidth = LevelData.ALLLEVELMAP[level][0].length() * 60; this.levelHeight = LevelData.ALLLEVELMAP[level].length * 60; for (int i = 0; i < LevelData.ALLLEVELMAP[level].length; i++) { String line = LevelData.ALLLEVELMAP[level][i]; for (int j = 0; j < line.length(); j++) { switch (line.charAt(j)) { case '0': break; case 'x': Grass0 grass0 = new Grass0(j * 60, i * 60, 60, 60); platforms.add(grass0); gameRoot.getChildren().add(grass0.getImageView()); break; case '1': Grass1 grass1 = new Grass1(j * 60, i * 60, 60, 60); platforms.add(grass1); gameRoot.getChildren().add(grass1.getImageView()); break; case '2': Grass1 grass12 = new Grass1(j * 60, i * 60, 60, 60); grass12.getImageView().setRotate(grass12.getImageView().getRotate() + 90); platforms.add(grass12); gameRoot.getChildren().add(grass12.getImageView()); break; case '3': Grass1 grass13 = new Grass1(j * 60, i * 60, 60, 60); grass13.getImageView().setRotate(grass13.getImageView().getRotate() + 270); platforms.add(grass13); gameRoot.getChildren().add(grass13.getImageView()); break; case '4': Grass2 grass2 = new Grass2(j * 60, i * 60, 60, 60); platforms.add(grass2); gameRoot.getChildren().add(grass2.getImageView()); break; case '5': Grass2 grass21 = new Grass2(j * 60, i * 60, 60, 60); grass21.getImageView().setScaleX(-1); platforms.add(grass21); gameRoot.getChildren().add(grass21.getImageView()); break; case '6': Grass3 grass3 = new Grass3(j * 60, i * 60, 60, 60); platforms.add(grass3); gameRoot.getChildren().add(grass3.getImageView()); break; case '7': Grass3 grass31 = new Grass3(j * 60, i * 60, 60, 60); grass31.getImageView().setScaleX(-1); platforms.add(grass31); gameRoot.getChildren().add(grass31.getImageView()); break; case '8': Grass4 grass4 = new Grass4(j * 60, i * 60, 60, 60); platforms.add(grass4); gameRoot.getChildren().add(grass4.getImageView()); break; case '9': Grass4 grass41 = new Grass4(j * 60, i * 60, 60, 60); grass41.getImageView().setRotate(grass41.getImageView().getRotate() + 90); platforms.add(grass41); gameRoot.getChildren().add(grass41.getImageView()); break; case 'b': Grass5 grass5 = new Grass5(j * 60, i * 60, 60, 60); platforms.add(grass5); gameRoot.getChildren().add(grass5.getImageView()); break; case 'a': Grass5 grass51 = new Grass5(j * 60, i * 60, 60, 60); grass51.getImageView().setScaleX(-1); platforms.add(grass51); gameRoot.getChildren().add(grass51.getImageView()); break; case 'c': Grass5 grass52 = new Grass5(j * 60, i * 60, 60, 60); grass52.getImageView().setRotate(grass52.getImageView().getRotate() + 270); platforms.add(grass52); gameRoot.getChildren().add(grass52.getImageView()); break; case 'G': GameCharacter gunEnemy = new GunEnemy(j * 60, i * 60); gunEnemy.doWalkLeft(); enemieList.add(gunEnemy); gameRoot.getChildren().add(gunEnemy.getImageView()); break; case 'C': GameCharacter colliderEnemy = new ColliderEnemy(j * 60, i * 60); colliderEnemy.doWalkLeft(); enemieList.add(colliderEnemy); gameRoot.getChildren().add(colliderEnemy.getImageView()); break; case 'P': Portal portal = new Portal(j * 60, i * 60, 60, 60); portalList.add(portal); gameRoot.getChildren().add(portal.getImageView()); if (level == 0) { portal.setLevel(2); } else if (level == 1) { portal.setLevel(3); } break; case 'B': boss = new BossEnemy(j * 60, i * 60); gameRoot.getChildren().add(boss.getImageView()); Rectangle box = new Rectangle(j * 60 - 1550, 180, 280, 70); box.setOpacity(0.4); box.setFill(Color.ANTIQUEWHITE); Label bossStage = new Label("boss Stage"); bossStage.setFont(Font.loadFont( getClass().getClassLoader().getResource("PixelTakhisis-ZajJ.ttf").toExternalForm(), 23)); bossStage.setTranslateX(j * 60 - 1500); bossStage.setTranslateY(200); gameRoot.getChildren().addAll(box, bossStage); break; case 'H': PotionBox potionBox = new PotionBox(j * 60, i * 60, 60, 60); playerInteractEntity.add(potionBox); gameRoot.getChildren().add(potionBox.getImageView()); break; case 'A': AmmoBox ammoBox = new AmmoBox(j * 60, i * 60, 60, 60); playerInteractEntity.add(ammoBox); gameRoot.getChildren().add(ammoBox.getImageView()); break; case 'T': Oak tree = new Oak(j * 60, i * 60, 180, 240); gameRoot.getChildren().add(tree.getImageView()); break; } } } } public Rectangle getBg() { return bg; } public Pane getGameRoot() { return gameRoot; } public ArrayList<Entity> getPlatforms() { return platforms; } public ArrayList<Portal> getPortalList() { return portalList; } public BossEnemy getBoss() { return boss; } public ArrayList<GameCharacter> getEnemieList() { return enemieList; } public int getLevelWidth() { return levelWidth; } public int getLevelHeight() { return levelHeight; } public ArrayList<Entity> getPlayerInteractEntity() { return playerInteractEntity; } }
true
d1428ed2872f6923c51bf6cb9155bff1fd25eace
Java
jed116/di-reflect-lib
/src/main/java/tech/itpark/container/Definition.java
UTF-8
591
2.21875
2
[]
no_license
package tech.itpark.container; public class Definition { private String name; private String[] dependencies; private Object[] parameters; public String getName() { return name; } public String[] getDependencies() { return dependencies; } public Object[] getParameters() {return parameters;} public void setName(String name) { this.name = name; } public void setDependencies(String[] dependencies) { this.dependencies = dependencies; } public void setParameters(Object[] parameters) {this.parameters = parameters;} }
true
7c81b00baaaf6970833bc83a2a3dee598cdda6a2
Java
wfr9273/Chat-App-Android
/app/src/main/java/com/example/android/whatsappclone/UserListActivity.java
UTF-8
3,076
2.1875
2
[]
no_license
package com.example.android.whatsappclone; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.ListView; import com.parse.FindCallback; import com.parse.ParseException; import com.parse.ParseQuery; import com.parse.ParseUser; import java.util.ArrayList; import java.util.List; public class UserListActivity extends AppCompatActivity { ArrayList<String> userList; ArrayAdapter adapter; ListView userListView; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_user_list); setTitle("User List"); userListView = (ListView) findViewById(R.id.userList); userList = new ArrayList<>(); userList.add("Get user list..."); getUserList(); adapter = new ArrayAdapter(this, R.layout.user_list_item, userList); userListView.setAdapter(adapter); userListView.setOnItemClickListener(new AdapterView.OnItemClickListener() { @Override public void onItemClick(AdapterView<?> adapterView, View view, int i, long l) { if (!userList.get(i).equals("There is no user available")) { Intent intent = new Intent(UserListActivity.this, ConversationActivity.class); intent.putExtra("usernameToChatWith", userList.get(i)); startActivity(intent); } } }); } @Override public boolean onCreateOptionsMenu(Menu menu) { MenuInflater inflater = this.getMenuInflater(); inflater.inflate(R.menu.main_menu, menu); return super.onCreateOptionsMenu(menu); } @Override public boolean onOptionsItemSelected(MenuItem item) { int itemId = item.getItemId(); if (itemId == R.id.logout) { ParseUser.logOut(); Intent intent = new Intent(this, MainActivity.class); startActivity(intent); } return super.onOptionsItemSelected(item); } private void getUserList() { ParseQuery<ParseUser> userQuery = ParseUser.getQuery(); userQuery.whereNotEqualTo("username", ParseUser.getCurrentUser().getUsername()); userQuery.findInBackground(new FindCallback<ParseUser>() { @Override public void done(List<ParseUser> objects, ParseException e) { if (e == null) { userList.clear(); if (objects.size() > 0) { for (ParseUser user : objects) userList.add(user.getUsername()); } else userList.add("There is no user available"); adapter.notifyDataSetChanged(); } } }); } }
true
83f2c89b6275dbbc41048e080c1ce9bfa38afcbb
Java
903019430/famliyMoney
/src/main/java/com/fm/famliymoney/spendIncomeUser/entity/SpendIncomeUser.java
UTF-8
810
1.867188
2
[]
no_license
package com.fm.famliymoney.spendIncomeUser.entity; import java.io.Serializable; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.experimental.Accessors; /** * <p> * 支出收入用户管理表 * </p> * * @author lls * @since 2020-03-13 */ @Data @EqualsAndHashCode(callSuper = false) @Accessors(chain = true) public class SpendIncomeUser implements Serializable { private static final long serialVersionUID=1L; private String id; /** * 用户id */ private String userid; /** * 支出收入类型id */ private String siTypeId; /** * 支出收入名称 */ private String siName; /** * 删除标识 */ private Integer deleteStatus; /** * 图片类型 */ private String photoType; }
true
71bd739221fcbffebc8f9ec8c119b04046c50022
Java
AdamaDodoCisse/Tetris-Java
/src/fr/adc/views/PlateformView.java
UTF-8
2,508
3.21875
3
[]
no_license
package fr.adc.views; import fr.adc.engine.Plateform; import fr.adc.engine.Tetrimino; import javax.swing.*; import java.awt.*; /** * @author Adama Dodo CISSE <email><strong> < adama.dodo.cisse@gmail.com ></strong></email>. * Description : * * The horizontal line represents {x} * The vertical line represents {y} * * 0 1 2 3 4 5 6 * 0 ************* * 1 * * 2 * * 3 * * 4 * * 5 * * 6 * * */ public class PlateformView extends JPanel { /** * the game plateform */ private final Plateform plateform; /** * tretrimino box size */ private final int boxSize ; /** * the constructor * @see fr.adc.engine.Plateform * @param plateform * @param boxSize */ public PlateformView(Plateform plateform, int boxSize) { this.plateform = plateform; this.boxSize = boxSize; int w = plateform.getWidth() * boxSize; int h = plateform.getHeight() * boxSize; this.setPreferredSize(new Dimension( w, h)); this.setSize(w , h); } @Override public void paint(Graphics g) { super.paint(g); g.setColor(Color.black); g.fill3DRect(0, 0, getWidth(), getHeight(), true); for(Tetrimino tetrimino : plateform.getTetriminos()) paint(g , tetrimino); paint(g, plateform.getCurrent()); } /** * Paint tetrimino * @see fr.adc.engine.Tetrimino * @param graphics * @param tetrimino */ private void paint(Graphics graphics , Tetrimino tetrimino) { Color color = graphics.getColor(); for(Point point : tetrimino.getCoordinates()) { graphics.setColor(tetrimino.getColor()); graphics.fill3DRect(point.x * this.boxSize, point.y * this.boxSize, this.boxSize, this.boxSize , true); graphics.setColor(color); graphics.fill3DRect(point.x * this.boxSize + this.boxSize/4, point.y * this.boxSize + this.boxSize/4 , this.boxSize/2, this.boxSize/2 , true); // graphics.setColor(tetrimino.getColor()); // graphics.fill3DRect(point.x * this.boxSize + this.boxSize/4 + this.boxSize/8, point.y * this.boxSize + this.boxSize/4 + this.boxSize/8 , this.boxSize/4, this.boxSize/4 , true); } graphics.setColor(color); } /** * @see fr.adc.engine.Plateform * @return the Plateform */ public Plateform getPlateform() { return plateform; } }
true
fcd8e724d9baf7b2499f3edd65357b2813723e11
Java
iburgoa13/TPI
/src/Logic/Weapon/Bomb.java
UTF-8
2,043
2.765625
3
[ "MIT" ]
permissive
package Logic.Weapon; import Exceptions.FileContentsException; import Logic.Game.Game; import Logic.Game.GameObject; import Util.FileContentsVerifier; public class Bomb extends Weapon{ public Bomb(Game game, int x, int y, int dam) { super(game, x, y, dam); live = 1; // TODO Auto-generated constructor stub } public Bomb() { super(null,-50,Weapon.aumenta,1); Weapon.sube(); } public boolean performAttack(GameObject other) { other.receiveBombAttack(damage); onDelete(); this.game.enableMissile(); return true; } @Override public boolean receiveMissileAttack(int damage) { onDelete(); return true; } @Override public void computerAction() { // TODO Auto-generated method stub } @Override public void onDelete() { live = 0; x = -888; y = -888; } @Override public void move() { x++; if(x==8)onDelete(); /*if(this.isOut()) { onDelete(); }*/ } @Override public String toString() { // TODO Auto-generated method stub return "."; } @Override public String debug() { String deb =""; deb = "B;"+x+","+y+"\r\n"; return deb; } @Override public GameObject parse(String stringFromFile, Game game2, FileContentsVerifier verifier) throws FileContentsException { if(stringFromFile.charAt(0)=='B'){ //String lineFromFile = stringFromFile.substring(2); if(verifier.verifyWeaponString(stringFromFile, game2)) { String lineFromFile = stringFromFile.substring(2); String[] word = lineFromFile.split(";"); String[] coords = word[0].split(","); x = Integer.parseInt(coords[0]); y = Integer.parseInt(coords[1]); live = 1; game = game2; // this.incNumEnemyShip(); return new Bomb(game2,x,y,1); } else { throw new FileContentsException("Juego corrompido, imposible cargar la partida"); } } return null; } @Override public boolean getDireccion() { // TODO Auto-generated method stub return false; } }
true
9e43eaad1aae4109ca3326b245cb86d215d3dfcf
Java
maycon3/financeiro-backend
/src/main/java/br/com/sib/financeiro/controller/LancamentoController.java
UTF-8
3,496
2.15625
2
[]
no_license
package br.com.sib.financeiro.controller; import java.net.URI; import java.time.LocalDate; import javax.validation.Valid; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.DeleteMapping; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; import org.springframework.web.util.UriComponentsBuilder; import br.com.sib.financeiro.controller.converte.ConverteData; import br.com.sib.financeiro.modelo.Lancamento; import br.com.sib.financeiro.modelo.dto.LancamentoDto; import br.com.sib.financeiro.modelo.form.LancamentoForm; import br.com.sib.financeiro.service.ContaBancariaService; import br.com.sib.financeiro.service.LancamentoService; @RestController @RequestMapping("lancamento") public class LancamentoController { @Autowired private LancamentoService lancamentoService; @Autowired private ContaBancariaService contaService; @PostMapping public ResponseEntity<LancamentoDto> salva(@Valid @RequestBody LancamentoForm form,UriComponentsBuilder uriBuilder){ Lancamento lancamento = this.lancamentoService.converte(form); LocalDate hoje = LocalDate.now(); lancamento.setDataLancamento(hoje); this.contaService.deposita(lancamento.getConta(), lancamento.getValorDoLancamento()); lancamento = this.lancamentoService.salva(lancamento); URI uri = uriBuilder.path("/lancamento/{id}").buildAndExpand(lancamento.getId()).toUri(); return ResponseEntity.created(uri).body(new LancamentoDto(lancamento)); } @GetMapping(value = "/{id}") public LancamentoDto buscaPorId(@PathVariable Integer id) { Lancamento lancamento = this.lancamentoService.buscaPorId(id); return new LancamentoDto(lancamento); } @GetMapping(value = "/paginacao/membro") public Page<LancamentoDto> paginacaoLancamentoMembro(@RequestParam() Integer pagina,@RequestParam() Integer qtd,@RequestParam() String ordenacao, @RequestParam(required = false) Integer idMembro){ Page<Lancamento> lancamentos = lancamentoService.lancamentosDoMembro(pagina, qtd, ordenacao, idMembro); Page<LancamentoDto> lancamentoDto = lancamentos.map(LancamentoDto :: new); return lancamentoDto; } @GetMapping(value = "/paginacao/periodo") public Page<LancamentoDto> listaDeLancamentosPorPeriodo(@RequestParam() Integer pagina,@RequestParam() Integer qtd, @RequestParam() String ordenacao, @RequestParam(required = false) LocalDate dataInicio, @RequestParam(required = false) LocalDate dataFinal){ Page<Lancamento> lancamentos = this.lancamentoService.listaDeLancamentosPorPeriodo(pagina, qtd, ordenacao, dataInicio, dataFinal); Page<LancamentoDto> lancamentoDto = lancamentos.map(LancamentoDto :: new); return lancamentoDto; } @DeleteMapping(value = "/{id}") public ResponseEntity<Void> excluir(@PathVariable Integer id) { Lancamento lancamento = this.lancamentoService.buscaPorId(id); this.contaService.saca(lancamento.getConta(), lancamento.getValorDoLancamento()); this.lancamentoService.excluir(id); return ResponseEntity.noContent().build(); } }
true
e1f0c7f2ba2647372c3f10983753e395a0b34139
Java
ximenyahu/H5Android
/app/src/main/java/com/ruan/h5android/MainActivity.java
UTF-8
3,065
2.046875
2
[]
no_license
package com.ruan.h5android; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import android.Manifest; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.TextView; import java.util.List; import pub.devrel.easypermissions.AfterPermissionGranted; import pub.devrel.easypermissions.EasyPermissions; public class MainActivity extends AppCompatActivity implements EasyPermissions.PermissionCallbacks { private Button btScan; private TextView tvResult; private static final int REQUEST_CODE_QRCODE_PERMISSIONS = 1; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); btScan = findViewById(R.id.scan); tvResult = findViewById(R.id.scan_result); btScan.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { // startActivity(new Intent(MainActivity.this, ScanActivity.class)); Intent intent = new Intent(MainActivity.this, ScanActivity.class); intent.putExtra("scan_result", ""); startActivityForResult(intent, 1001); } }); String[] perms = {Manifest.permission.CAMERA, Manifest.permission.READ_EXTERNAL_STORAGE}; if (!EasyPermissions.hasPermissions(this, perms)) { EasyPermissions.requestPermissions(this, "扫描二维码需要打开相机和散光灯的权限", REQUEST_CODE_QRCODE_PERMISSIONS, perms); } } @Override protected void onStart() { super.onStart(); requestCodeQRCodePermissions(); } @Override protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) { super.onActivityResult(requestCode, resultCode, data); if (resultCode == RESULT_OK && requestCode == 1001) { String result = data.getStringExtra("scan_result"); tvResult.setText(result); } } @Override public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults) { super.onRequestPermissionsResult(requestCode, permissions, grantResults); EasyPermissions.onRequestPermissionsResult(requestCode, permissions, grantResults, this); } @Override public void onPermissionsGranted(int requestCode, List<String> perms) { } @Override public void onPermissionsDenied(int requestCode, List<String> perms) { } @AfterPermissionGranted(REQUEST_CODE_QRCODE_PERMISSIONS) private void requestCodeQRCodePermissions() { String[] perms = {Manifest.permission.CAMERA, Manifest.permission.READ_EXTERNAL_STORAGE}; if (!EasyPermissions.hasPermissions(this, perms)) { EasyPermissions.requestPermissions(this, "扫描二维码需要打开相机和散光灯的权限", REQUEST_CODE_QRCODE_PERMISSIONS, perms); } } }
true
80f5aad9d815927fbaa6eb03565720d631345838
Java
BohdanLaba/film-rental
/src/main/java/com/symphony/filmrental/config/MongoConfig.java
UTF-8
711
1.96875
2
[]
no_license
package com.symphony.filmrental.config; import com.mongodb.client.MongoClient; import com.mongodb.client.MongoClients; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.data.mongodb.core.MongoTemplate; @Configuration public class MongoConfig { @Value("${mongoUri}") private String mongoUri; @Value("${mongoDbName}") private String mongoDbName; @Bean public MongoClient mongoClient() { return MongoClients.create(mongoUri); } @Bean public MongoTemplate mongoTemplate() { return new MongoTemplate(mongoClient(), mongoDbName); } }
true
fd530734523d08833fc864f7d23a08cee4093888
Java
qcoudert/TCVPYR_Prototype
/app/src/main/java/com/example/at_proto/RecommandationActivity.java
UTF-8
1,381
1.8125
2
[]
no_license
package com.example.at_proto; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.ExpandableListView; import com.example.at_proto.RecommandationRelated.DisplayRecoActivity; import com.example.at_proto.RecommandationRelated.ExpandableListAdapter; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; public class RecommandationActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_recommandation); } public void onClickExit(View v) { finish(); } public void recoThemeClick(View v) { Intent i = new Intent(this, DisplayRecoActivity.class); i.putExtra(DisplayRecoActivity.RECO_TYPE_KEY, DisplayRecoActivity.RECO_TYPE_THEME); startActivity(i); } public void recoHistoClick(View v) { Intent i = new Intent(this, DisplayRecoActivity.class); i.putExtra(DisplayRecoActivity.RECO_TYPE_KEY, DisplayRecoActivity.RECO_TYPE_HISTO); startActivity(i); } }
true
17ab7cbc5ef056fdb78f4ef97cfe2d8c3677dee1
Java
ljl2205401803/myaddressbookpro
/src/main/java/myaddrbook/pojo/MyAddrBook.java
GB18030
1,443
1.953125
2
[]
no_license
package myaddrbook.pojo; import java.io.Serializable; /** * ͨѶ¼ʵ * @author Think * */ public class MyAddrBook implements Serializable { private static final long serialVersionUID = 2130254344139726612L; private int id; private String firstName; private String lastName; private String jobTitle; private String department; private String mobile; private String offPh; private String email; public int getId() { return id; } public void setId(int id) { this.id = id; } public String getFirstName() { return firstName; } public void setFirstName(String firstName) { this.firstName = firstName; } public String getLastName() { return lastName; } public void setLastName(String lastName) { this.lastName = lastName; } public String getDepartment() { return department; } public void setDepartment(String department) { this.department = department; } public String getMobile() { return mobile; } public void setMobile(String mobile) { this.mobile = mobile; } public String getOffPh() { return offPh; } public void setOffPh(String offPh) { this.offPh = offPh; } public String getEmail() { return email; } public void setEmail(String email) { this.email = email; } public String getJobTitle() { return jobTitle; } public void setJobTitle(String jobTitle) { this.jobTitle = jobTitle; } }
true
4afbfaebcf5758f914d8b9daa031a3b4be83a033
Java
cckmit/das
/src/main/java/com/findupon/commons/utilities/LocationUtils.java
UTF-8
3,907
2.125
2
[ "Apache-2.0" ]
permissive
/* * Copyright 2015-2019 Connor Van Elswyk * * 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.findupon.commons.utilities; import com.findupon.commons.utilities.NetworkUtils; import com.maxmind.geoip.Location; import com.maxmind.geoip.LookupService; import com.findupon.commons.netops.entity.Proxy; import org.apache.commons.lang3.StringUtils; import java.io.File; import java.io.IOException; import java.net.URL; import java.util.*; public final class LocationUtils { private static final LookupService lookupService = loadLookupService(); private static final Map<String, Location> ipLocationCache = Collections.synchronizedMap(new HashMap<>()); private static final Set<String> local = new HashSet<>(Arrays.asList("127.0.0.1", "0:0:0:0:0:0:0:1")); private static Location currentLocation; private static Proxy currentClosestProxy; private static LookupService loadLookupService() { URL url = LocationUtils.class.getResource("/geo-city.dat"); File geo = new File(url.getFile()); try { return new LookupService(geo, LookupService.GEOIP_MEMORY_CACHE | LookupService.GEOIP_CHECK_CACHE); } catch(IOException e) { throw new RuntimeException("Could not load geo-city.dat resource", e); } } public static synchronized Location getCurrentLocation() { if(currentLocation == null) { currentLocation = getLocation(NetworkUtils.getExternalIp()); } return currentLocation; } public static Location getLocation(String ipAddress) { if(StringUtils.isBlank(ipAddress)) { return null; } return ipLocationCache.computeIfAbsent(ipAddress, l -> lookupService.getLocation(ipAddress)); } public static Proxy findClosestProxyToCurrentLocation() { if(currentClosestProxy == null) { currentClosestProxy = findClosestProxy(getCurrentLocation()); } return currentClosestProxy; } public static Proxy findClosestProxy(Location location) { if(location == null) { return null; } Proxy closest = null; double minDistance = Double.MAX_VALUE; for(Proxy proxy : Proxy.getPrivateProxies()) { double dist = location.distance(proxy.getLocation()); if(dist < minDistance) { closest = proxy; minDistance = dist; } } return closest; } public static String getRegion(String ipAddress) { if(StringUtils.isBlank(ipAddress)) { return null; } Location location = getLocation(ipAddress); if(location != null) { return location.region; } else { return null; } } public static Set<String> getLocal() { return local; } public static String getFormattedLatLon(float latitude, float longitude) { try { int latSeconds = Math.round(latitude * 3600); int latDegrees = latSeconds / 3600; latSeconds = Math.abs(latSeconds % 3600); int latMinutes = latSeconds / 60; latSeconds %= 60; int longSeconds = Math.round(longitude * 3600); int longDegrees = longSeconds / 3600; longSeconds = Math.abs(longSeconds % 3600); int longMinutes = longSeconds / 60; longSeconds %= 60; String latDegree = latDegrees >= 0 ? "N" : "S"; String lonDegrees = longDegrees >= 0 ? "E" : "W"; return Math.abs(latDegrees) + "°" + latMinutes + "'" + latSeconds + "" + "\"" + latDegree + " " + Math.abs(longDegrees) + "°" + longMinutes + "'" + longSeconds + "\"" + lonDegrees; } catch(Exception e) { return String.format("%8.5f", latitude) + " " + String.format("%8.5f", longitude); } } }
true
7c31aef9c86f46dc43227836a10c36d1ccbcd834
Java
jollivetc/AP.Coach
/server/src/test/java/fr/apside/approjects/controller/AgencyResourceTest.java
UTF-8
1,443
2.15625
2
[ "MIT" ]
permissive
package fr.apside.approjects.controller; import fr.apside.approjects.NotFoundException; import fr.apside.approjects.dao.AgencyRepository; import fr.apside.approjects.model.Agency; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.Mockito; import org.mockito.runners.MockitoJUnitRunner; import java.util.ArrayList; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; @RunWith(MockitoJUnitRunner.class) public class AgencyResourceTest { @InjectMocks private AgencyResource agencyResource; @Mock private AgencyRepository mockAgencyRepository; @Test public void shouldCallRepositoryForList(){ Iterable<Agency> agencyList = new ArrayList<Agency>(); Mockito.when(mockAgencyRepository.findAll()).thenReturn(agencyList); Iterable<Agency> agencies = agencyResource.findAll(); assertThat(agencies).isEqualTo(agencyList); verify(mockAgencyRepository, times(1)).findAll(); } @Test public void shouldCallRepositoryFindOneForOneAgency() throws NotFoundException { Agency agency = new Agency(); Mockito.when(mockAgencyRepository.findOne(1L)).thenReturn(agency); Agency agencyByID = agencyResource.findById("1"); assertThat(agencyByID).isEqualTo(agency); } }
true
dbddc97a4c8e43e3b951e7738bc3ea44d7e68ca6
Java
AngelAguilar16/PIControlAtencionPsicologica
/app/src/main/java/com/aa/controldeatencionpsicolgica/Sender/SenderPariente.java
UTF-8
3,339
2.28125
2
[]
no_license
package com.aa.controldeatencionpsicolgica.Sender; import android.app.ProgressDialog; import android.content.Context; import android.content.Intent; import android.os.AsyncTask; import android.widget.Toast; import com.aa.controldeatencionpsicolgica.AgendaActivity; import com.aa.controldeatencionpsicolgica.DataPackager.DataPackagerCita; import com.aa.controldeatencionpsicolgica.DataPackager.DataPackagerPariente; import com.aa.controldeatencionpsicolgica.Handlers.Connector; import com.aa.controldeatencionpsicolgica.MenuActivity; import com.aa.controldeatencionpsicolgica.MenuMaterial; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.net.HttpURLConnection; public class SenderPariente extends AsyncTask<Void,Void,String> { Context c; String urlAddress; String tipo; int pacienteIn, paciente; ProgressDialog pd; public SenderPariente(Context c, String urlAddress, String tipo, int pacienteIn, int paciente) { this.c = c; this.urlAddress = urlAddress; this.tipo = tipo; this.pacienteIn = pacienteIn; this.paciente = paciente; } @Override protected void onPreExecute() { super.onPreExecute(); pd = new ProgressDialog(c); pd.setTitle("Agregar Pariente"); pd.setMessage("Agregando pariente... Espere un momento"); pd.show(); } @Override protected String doInBackground(Void... voids) { return this.send(); } @Override protected void onPostExecute(String response) { super.onPostExecute(response); pd.dismiss(); if (response != null) { if (response.equals("1")) { //Toast.makeText(c, "cita realizada", Toast.LENGTH_LONG).show(); Intent ii = new Intent(c, MenuMaterial.class); c.startActivity(ii); } else { Toast.makeText(c, "Hubo un error php " + response, Toast.LENGTH_LONG).show(); } } else { Toast.makeText(c, "Error " + response, Toast.LENGTH_LONG).show(); } } private String send() { HttpURLConnection con = Connector.connect(urlAddress); if (con == null) { return null; } try { OutputStream os = con.getOutputStream(); BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(os, "UTF-8")); bw.write(new DataPackagerPariente(tipo,pacienteIn,paciente).packData()); bw.flush(); bw.close(); os.close(); int responseCode = con.getResponseCode(); if (responseCode == con.HTTP_OK) { BufferedReader br = new BufferedReader(new InputStreamReader(con.getInputStream())); StringBuffer response = new StringBuffer(); String line; while ((line = br.readLine()) != null) { response.append(line); } br.close(); return response.toString(); } else { } } catch (IOException e) { e.printStackTrace(); } return null; } }
true
5a8195a541f846616be419b13c88252e9077bcaf
Java
xifwang/NewVegaDemo
/app/src/main/java/com/polycom/vega/resthelper/RestMap.java
UTF-8
811
2.265625
2
[]
no_license
package com.polycom.vega.resthelper; import android.text.TextUtils; import java.util.HashMap; /** * Created by Michael on 9/24/2015. */ public class RestMap { private static RestMap instance; private HashMap<String, String> map; private RestMap() { map = new HashMap<String, String>(); map.put("PlaceACall", "/rest/conferences?_dc=1439978043968"); map.put("EndCall_Format", "/rest/conferences/0/connections/%d"); } public static RestMap getInstance() { return (instance == null ? instance = new RestMap() : instance); } public String getRestPath(String key) throws IllegalArgumentException { if (TextUtils.isEmpty(key)) { throw new IllegalArgumentException("Key is empty."); } return map.get(key); } }
true
617235a13925545c975be8ffc6b6b9ef3b8571cd
Java
fangzhou-ye/3I001
/GarageLocomotive/src/SegAccueil.java
UTF-8
546
2.75
3
[]
no_license
public class SegAccueil { private final int id = 0; private boolean occupe; public SegAccueil() { occupe = false; } public void setOccupe(boolean b) { occupe = b; } public synchronized void reserver() throws InterruptedException { while(occupe) { this.wait(); } occupe = true; System.out.println("reserver SegAccueil"); } public synchronized void liberer() throws InterruptedException { while(!occupe) { this.wait(); } this.notifyAll(); occupe = false; System.out.println("liberer SegAccueil"); } }
true
d4fb8ebaa26694968c9f5046eebbcce274c1886a
Java
ArpadVS/XML_tim14_2019-Publication
/publications/publications/src/main/java/publications/service/ScientificPaperService.java
UTF-8
6,615
2.046875
2
[]
no_license
package publications.service; import static publications.util.constants.ApplicationConstants.SCIENTIFIC_PAPER_XSLT; import static publications.util.constants.ApplicationConstants.SCIENTIFIC_PAPER_XSLT_FO; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.authentication.AnonymousAuthenticationToken; import org.springframework.security.core.Authentication; import org.springframework.security.core.context.SecurityContextHolder; import org.springframework.stereotype.Service; import publications.exceptions.NotFoundException; import publications.model.DTO.ScientificPaperDTO; import publications.model.DTO.SearchDTO; import publications.model.DTO.SearchTextDTO; import publications.model.paper.TPaperStatus; import publications.model.user.User; import publications.repository.ScientificPaperRepository; import publications.util.db.fuseki_jena.FusekiManagement; import publications.util.transformations.HTMLTransformer; import publications.util.transformations.XSLFOTransformer; @Service public class ScientificPaperService { @Autowired ScientificPaperRepository scientificPaperRepository; @Autowired HTMLTransformer htmlTransformer; @Autowired XSLFOTransformer xslfoTransformer; public String save(String scientificPaper) throws Exception { return scientificPaperRepository.save(scientificPaper); } public String update(String scientificPaper, String id) throws Exception { return scientificPaperRepository.update(scientificPaper, id); } public String revise(String scientificPaper, String id) throws Exception { return scientificPaperRepository.revise(scientificPaper, id); } public String findByID(String id) throws Exception { return scientificPaperRepository.findByID(id); } public String getByHTML(String id) throws Exception { String scientificPaper = scientificPaperRepository.findByID(id); String res = htmlTransformer.generateHTML(scientificPaper, SCIENTIFIC_PAPER_XSLT); return res; } public ByteArrayOutputStream getByPDF(String id) throws Exception { String scientificPaper = scientificPaperRepository.findByID(id); return xslfoTransformer.generatePDF(scientificPaper, SCIENTIFIC_PAPER_XSLT_FO); } public String findByTitle(String text) throws NotFoundException { String xPathExpression = String.format("//scientificPaper[title='%s']", text); // TODO ispisati expression za pretragu. // Potrebno je da u nekom tekstualnom delu (naslov, podnaslov, // paragraf...) sadrzi prosledjeni tekst String scientificPaper = scientificPaperRepository.findByExpression(xPathExpression); return scientificPaper; } public String findByAuthor(String author) throws NotFoundException { // TODO ispisati expression za pretragu. // Potrebno je pronaci naucni rad po datom autoru String scientificPaper = scientificPaperRepository.findByExpression(""); return scientificPaper; } public ArrayList<ScientificPaperDTO> getAll() { ArrayList<ScientificPaperDTO> all = scientificPaperRepository.findMultipleByExpression("/"); return all; } public ArrayList<ScientificPaperDTO> getAllByStatus(String status) { String xPathExpression = String.format("//scientificPaper[@status='%s']", status); ArrayList<ScientificPaperDTO> all = scientificPaperRepository.findMultipleByExpression(xPathExpression); return all; } public ArrayList<ScientificPaperDTO> getAllForReview() { String xPathExpression = String.format("//scientificPaper[@status='%s' or @status='%s']", "toBeReviewed", "revisionDone"); ArrayList<ScientificPaperDTO> all = scientificPaperRepository.findMultipleByExpression(xPathExpression); return all; } public ScientificPaperDTO getOne(String id) throws NotFoundException { return scientificPaperRepository.getOneObj(id); } public ArrayList<String> searhByMetadata(SearchDTO dto) throws IOException { Map<String, String> params = new HashMap<String, String>(); params.put("title", dto.getTitle()); params.put("language", dto.getLanguage()); params.put("recievedDate", dto.getDate()); params.put("author", dto.getAuthors()); params.put("keyword", dto.getKeywords()); System.out.println(params.toString()); ArrayList<String> titles = FusekiManagement.executeQuery(params); return titles; } private String getLoggedUser() { String username = null; Authentication authentication = SecurityContextHolder.getContext().getAuthentication(); if (!(authentication instanceof AnonymousAuthenticationToken)) { username = authentication.getName(); } return username; } public String updateStatusInReviewProcess(String id) throws Exception { return scientificPaperRepository.updateStatus(TPaperStatus.IN_REVIEW_PROCESS, id); } public String updateStatusReviewed(String id) throws Exception { return scientificPaperRepository.updateStatus(TPaperStatus.REVIEWED, id); } public String updateStatusAccept(String id) throws Exception { return scientificPaperRepository.updateStatus(TPaperStatus.ACCEPTED, id); } public String updateStatusReject(String id) throws Exception { return scientificPaperRepository.updateStatus(TPaperStatus.REJECTED, id); } public String updateStatusRevisionNeeded(String id) throws Exception { return scientificPaperRepository.updateStatus(TPaperStatus.REVISION_NEEDED, id); } public List<ScientificPaperDTO> searchByText(SearchTextDTO dto) { String text = dto.getText(); String expression = String .format("//scientificPaper[title[contains(text(), '%s')] or keywords/keyword[contains(text(), '%s')]" + " or abstract/paragraph[contains(text(), '%s')] or content/chapter/title[contains(text(), '%s')] " + "or content/chapter/paragraph[contains(text(), '%s')]]", text, text, text, text, text); ArrayList<ScientificPaperDTO> result = scientificPaperRepository.findMultipleByExpression(expression); return result; } public ArrayList<ScientificPaperDTO> getByLoggedUser(User user) { ArrayList<ScientificPaperDTO> all = getAll(); ArrayList<ScientificPaperDTO> filtered = new ArrayList<>(); for (ScientificPaperDTO dto : all) { for (String author : dto.getAuthors()) { if (author.equals(user.getFirst_name() + " " + user.getLast_name())) { filtered.add(dto); break; } } } return filtered; } }
true
5f0da74a0c8b96864abde016469c4086a28dc4b8
Java
moha-ibra/private
/src/domein/DomeinController.java
UTF-8
6,908
2.8125
3
[]
no_license
package domein; import exceptions.SpelerBestaatAlException; import exceptions.SpelerNietGevondenException; import java.util.ArrayList; import java.util.List; public class DomeinController { private Speler speler; //de geselecteerde speler private WedstrijdSpeler wedstrijdspeler; //de geselecteerde wedstrijdspeler private final SpelerRepository spelerRepository; //alle spelers private final Wedstrijd wedstrijd; //de wedstrijd public DomeinController(){ spelerRepository = new SpelerRepository(); wedstrijd = new Wedstrijd(); Stapel.initialiseerStandaardStartStapel(); Stapel.initialiseerStandaardSetStapel(); } public void maakSpeler(String naam, int geboortejaar) { this.speler = new Speler(naam, geboortejaar); if(spelerRepository.geefSpelerMetNaam(naam) != null) { throw new SpelerBestaatAlException(String.format("Speler met naam %s bestaat reeds.", naam)); } spelerRepository.voegToe(speler); } //maakt een lijst van de info van de actieve speler public List<String> geefInfoSpeler() { ArrayList<String> info = new ArrayList<>(); String naam = speler.getNaam(); String krediet = speler.getKrediet().toPlainString(); info.add(naam); info.add(krediet); return info; } public List<String> geefKaarten() { List<String> startStapel = new ArrayList<>(); this.speler.geefStartStapel().forEach((kaart) -> { startStapel.add(kaart.toString()); }); return startStapel; } public List<String> geefLijstSpelers() { List<Speler> alleSpelers = spelerRepository.geefLijstSpelers(); ArrayList<String> info = new ArrayList<>(); alleSpelers.forEach((item) -> { info.add(item.getNaam()); }); return info; } public int geefMaximumAantalSpelers() { return wedstrijd.geefMaximumAantalSpelers(); } public void selecteerSpeler(String naam) { this.speler = spelerRepository.geefSpelerMetNaam(naam); if(speler == null) throw new SpelerNietGevondenException(String.format("De speler met naam %s kan niet gevonden worden.", naam)); this.wedstrijd.registreerWedstrijdSpeler(speler); } public List<String> geefSpelersZonderWedstrijdStapel() { List<WedstrijdSpeler> spelersZonderWedstrijdStapel = this.wedstrijd.geefSpelersZonderWedstrijdStapel(); List<String> namenSpelersZonderWedstrijdStapel = new ArrayList<>(); spelersZonderWedstrijdStapel.forEach((item) -> { namenSpelersZonderWedstrijdStapel.add(item.getNaam()); }); return namenSpelersZonderWedstrijdStapel; } public void selecteerActieveSpelerVoorWedstrijdStapel(String naam) { this.wedstrijdspeler = this.wedstrijd.geefSpelerMetNaam(naam); this.speler = this.wedstrijdspeler; } public List<IKaart> kaartenToevoegenActieveSpeler() { return this.speler.geefStartStapel(); } public int geefAantalSelectieKaarten() { return Stapel.geefAantalSelectieKaarten(); } public void selecteerKaartVoorActieveSpeler(IKaart ik) { this.wedstrijdspeler.voegKaartToeAanWedstrijdStapel(ik); this.wedstrijdspeler.verwijderStartstapelKaart(ik.getType(), ik.getWaarde()); } public void maakWedstrijdStapelVoorActieveSpeler() { this.wedstrijdspeler.maakWedstrijdStapel(); } public String geefWinnaar() { WedstrijdSpeler winnaar = this.wedstrijd.geefWinnaar(); if(winnaar == null) return null; String winnaarInfo; Speler winnaarInRepo = this.spelerRepository.geefSpelerMetNaam(winnaar.getNaam()); winnaarInRepo.voegKredietToe(5); winnaarInfo = String.format("Winnaar van de wedstrijd: %s Krediet: %s ", winnaarInRepo.getNaam(), winnaarInRepo.getKrediet().toPlainString()); return winnaarInfo; } public void startNieuweSet() { this.wedstrijd.startNieuweSet(); } public String toonWedstrijdSituatie() { String situatie; this.wedstrijdspeler = this.wedstrijd.geefSpelerAanDeBeurt(); this.speler = this.wedstrijdspeler; List<String> kaarten = new ArrayList<>(); this.wedstrijdspeler.geefSpelbord().forEach((kaart)->{ kaarten.add(kaart.toString()); }); String alleKaarten = String.join(" ,", kaarten); situatie = String.format("\nSpeler aan beurt: %s Score: %d\n%s", this.wedstrijdspeler.getNaam(), this.wedstrijdspeler.geefSetScore(), alleKaarten); return situatie; } public List<String> toonWedstrijdSituatie2() { //versie voor de GUI List<String> situatie = new ArrayList<>(); WedstrijdSpeler sp = this.wedstrijd.geefSpelerAanDeBeurt(); situatie.add(sp.getNaam()); situatie.add(Integer.toString(sp.geefSetScore())); sp.geefSpelbord().forEach((kaart)->{ situatie.add(kaart.toString()); }); return situatie; } public void beeindigBeurtSpeler() { this.wedstrijdspeler.beeindigBeurt(); if(this.wedstrijd.isSetGedaan() == null) this.wedstrijd.bepaalBeurt(); } public void bevriesSpelbordSpeler() { this.wedstrijdspeler.bevriesSpelbord(true); this.wedstrijdspeler.beeindigBeurt(); if(this.wedstrijd.isSetGedaan() == null) this.wedstrijd.bepaalBeurt(); } public List<IKaart> geefWedstrijdstapelSpelerAanBeurt() { return this.wedstrijdspeler.geefWedstrijdStapel(); } public void speelWedstrijdstapelKaart(IKaart ik) { Kaart k = this.wedstrijdspeler.geefWedstrijdstapelKaart(ik.getType(), ik.getWaarde()); this.wedstrijdspeler.kaartOpSpelbord(k); this.wedstrijdspeler.verwijderWedstrijdstapelKaart(k); this.wedstrijdspeler.beeindigBeurt(); if(this.wedstrijd.isSetGedaan() == null) this.wedstrijd.bepaalBeurt(); } public void registreerWissel(IKaart ik, int nieuwType) { Kaart k = this.wedstrijdspeler.geefWedstrijdstapelKaart(ik.getType(), ik.getWaarde()); k.setType(nieuwType); } public String geefSetWinnaar() { String winnaarNaam; winnaarNaam = this.wedstrijd.isSetGedaan(); if(winnaarNaam != null) return winnaarNaam; return null; } }
true