blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
4
410
content_id
stringlengths
40
40
detected_licenses
listlengths
0
51
license_type
stringclasses
2 values
repo_name
stringlengths
5
132
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
80
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
5.85k
689M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
131 values
src_encoding
stringclasses
34 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
3
9.45M
extension
stringclasses
32 values
content
stringlengths
3
9.45M
authors
listlengths
1
1
author_id
stringlengths
0
313
60f47c7005286f716b191c45a296d3e2358f554e
7a3439fd526c3a488c6e6102497c5ec5f51f35a1
/perspective-sql/src/main/java/org/meridor/perspective/sql/impl/parser/QueryParserImpl.java
944c14fc163426fc411c043ce944a1e5e5b6e4aa
[ "Apache-2.0" ]
permissive
hctwgl/perspective-backend
e14c91456276f3cb6a287840785688688e8991b2
5f98083977a57115988678e97d1642ee83431258
refs/heads/master
2020-05-07T18:25:23.382460
2017-02-28T04:33:32
2017-02-28T04:33:32
null
0
0
null
null
null
null
UTF-8
Java
false
false
43,399
java
package org.meridor.perspective.sql.impl.parser; import org.antlr.v4.runtime.*; import org.antlr.v4.runtime.InputMismatchException; import org.antlr.v4.runtime.tree.ParseTree; import org.antlr.v4.runtime.tree.ParseTreeWalker; import org.meridor.perspective.beans.BooleanRelation; import org.meridor.perspective.sql.SQLLexer; import org.meridor.perspective.sql.SQLParser; import org.meridor.perspective.sql.SQLParserBaseListener; import org.meridor.perspective.sql.impl.CaseInsensitiveInputStream; import org.meridor.perspective.sql.impl.expression.*; import org.meridor.perspective.sql.impl.table.TablesAware; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.config.ConfigurableBeanFactory; import org.springframework.context.annotation.Lazy; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Component; import java.sql.SQLSyntaxErrorException; import java.util.*; import java.util.function.Consumer; import java.util.function.Function; import java.util.stream.Collectors; import static org.meridor.perspective.beans.BooleanRelation.*; import static org.meridor.perspective.sql.impl.expression.ExpressionUtils.columnsToNames; import static org.meridor.perspective.sql.impl.parser.AliasExpressionPair.emptyPair; import static org.meridor.perspective.sql.impl.parser.AliasExpressionPair.pair; import static org.meridor.perspective.sql.impl.table.Column.ANY_COLUMN; @Component @Lazy @Scope(ConfigurableBeanFactory.SCOPE_PROTOTYPE) public class QueryParserImpl extends SQLParserBaseListener implements QueryParser, SelectQueryAware { private class InternalErrorListener extends BaseErrorListener { @Override public void syntaxError(Recognizer<?, ?> recognizer, Object offendingSymbol, int line, int charPositionInLine, String msg, RecognitionException e) { if (e instanceof InputMismatchException || e instanceof NoViableAltException) { String symbol = (offendingSymbol instanceof Token) ? ((Token) offendingSymbol).getText() : String.valueOf(offendingSymbol); errors.add(String.format( "Unexpected input \'%s\' at %d:%d. Valid symbols are: %s", symbol, line, charPositionInLine, e.getExpectedTokens().toString(recognizer.getVocabulary()) )); } else { errors.add(String.format("Parse error: \'%s\' near \'%s\' at %d:%d", msg, String.valueOf(offendingSymbol), line, charPositionInLine)); } } } private static class ParseException extends RuntimeException { ParseException(String msg) { super(msg); } } private final TablesAware tablesAware; private SQLParser.Select_clauseContext selectClauseContext; private SQLParser.From_clauseContext fromClauseContext; private SQLParser.Where_clauseContext whereClauseContext; private SQLParser.Having_clauseContext havingClauseContext; private SQLParser.Group_clauseContext groupByClauseContext; private SQLParser.Order_clauseContext orderByClauseContext; private QueryType queryType = QueryType.UNKNOWN; private final Set<String> errors = new LinkedHashSet<>(); private final Map<String, Object> selectionMap = new LinkedHashMap<>(); private final Map<String, String> tableAliases = new HashMap<>(); private DataSource dataSource; //Column name -> aliases map of columns available after all joins private final Map<String, List<String>> availableColumns = new HashMap<>(); private BooleanExpression whereExpression; private final List<Object> groupByExpressions = new ArrayList<>(); private final List<OrderExpression> orderByExpressions = new ArrayList<>(); private BooleanExpression havingExpression; private Integer limitCount; private Integer limitOffset; @Autowired public QueryParserImpl(TablesAware tablesAware) { this.tablesAware = tablesAware; } @Override public void parse(String sql) throws SQLSyntaxErrorException { try { CharStream input = new CaseInsensitiveInputStream(sql); ANTLRErrorListener errorListener = new InternalErrorListener(); SQLLexer sqlLexer = new SQLLexer(input); sqlLexer.removeErrorListeners(); sqlLexer.addErrorListener(errorListener); CommonTokenStream commonTokenStream = new CommonTokenStream(sqlLexer); SQLParser sqlParser = new SQLParser(commonTokenStream); sqlParser.removeErrorListeners(); sqlParser.addErrorListener(errorListener); ParseTree parseTree = sqlParser.query(); ParseTreeWalker walker = new ParseTreeWalker(); walker.walk(this, parseTree); } catch (ParseException e) { errors.add(e.getMessage()); } if (!errors.isEmpty()) { String message = errors.stream().collect(Collectors.joining("; ")); throw new SQLSyntaxErrorException(message); } } @Override public SelectQueryAware getSelectQueryAware() { return this; } @Override public QueryType getQueryType() { return queryType; } //Explain query @Override public void exitExplain_query(SQLParser.Explain_queryContext ctx) { this.queryType = QueryType.EXPLAIN; } //Select query @Override public void exitSelect_clause(SQLParser.Select_clauseContext ctx) { this.queryType = QueryType.SELECT; selectClauseContext = ctx; } @Override public void exitFrom_clause(SQLParser.From_clauseContext ctx) { fromClauseContext = ctx; } @Override public void exitWhere_clause(SQLParser.Where_clauseContext ctx) { whereClauseContext = ctx; } @Override public void exitQuery(SQLParser.QueryContext ctx) { processFromClause(); processSelectClause(); processWhereClause(); processGroupByClause(); processHavingClause(); processOrderByClause(); } private void processWhereClause() { if (whereClauseContext != null) { whereExpression = processComplexBooleanExpression(whereClauseContext.complex_boolean_expression()); } } private void processGroupByClause() { if (groupByClauseContext != null) { foreachExpression( groupByClauseContext.expressions().expression(), p -> groupByExpressions.add(p.getExpression()) ); } } private void processOrderByClause() { if (orderByClauseContext != null) { orderByClauseContext.order_expressions().order_expression().forEach(oe -> { Object expression = processExpression(oe.expression()).getExpression(); OrderDirection orderDirection = (oe.DESC() != null) ? OrderDirection.DESC : OrderDirection.ASC; this.orderByExpressions.add(new OrderExpression(expression, orderDirection)); }); } } private void processHavingClause() { if (havingClauseContext != null) { havingExpression = processComplexBooleanExpression(havingClauseContext.complex_boolean_expression()); } } private BooleanExpression processComplexBooleanExpression(SQLParser.Complex_boolean_expressionContext complexBooleanExpression) { if (complexBooleanExpression.unary_boolean_operator() != null && complexBooleanExpression.complex_boolean_expression(0) != null) { BooleanExpression expression = processComplexBooleanExpression(complexBooleanExpression.complex_boolean_expression(0)); UnaryBooleanOperator unaryBooleanOperator = processUnaryBooleanOperator(complexBooleanExpression.unary_boolean_operator()); return new UnaryBooleanExpression(expression, unaryBooleanOperator); } else if (complexBooleanExpression.simple_boolean_expression() != null) { return processSimpleBooleanExpression(complexBooleanExpression.simple_boolean_expression()); } else if (complexBooleanExpression.binary_boolean_operator(0) != null && complexBooleanExpression.complex_boolean_expression(1) != null) { return processComplexBooleanExpressionsList( null, complexBooleanExpression.complex_boolean_expression(), complexBooleanExpression.binary_boolean_operator() ); } else if (complexBooleanExpression.LPAREN() != null && complexBooleanExpression.complex_boolean_expression(0) != null) { return processComplexBooleanExpression(complexBooleanExpression.complex_boolean_expression(0)); } throw new ParseException(String.format("Unknown boolean expression: \'%s\'", complexBooleanExpression)); } private BinaryBooleanExpression processComplexBooleanExpressionsList( BinaryBooleanExpression previousExpression, List<SQLParser.Complex_boolean_expressionContext> remainingExpressions, List<SQLParser.Binary_boolean_operatorContext> remainingOperators ) { if (remainingExpressions.isEmpty() || remainingOperators.isEmpty()) { return previousExpression; } BinaryBooleanOperator binaryBooleanOperator = processBinaryBooleanOperator(remainingOperators.remove(0)); Object left = previousExpression != null ? previousExpression : processComplexBooleanExpression(remainingExpressions.remove(0)); Object right = processComplexBooleanExpression(remainingExpressions.remove(0)); //First remove call shifts indexes to the left BinaryBooleanExpression binaryBooleanExpression = new BinaryBooleanExpression(left, binaryBooleanOperator, right); return processComplexBooleanExpressionsList(binaryBooleanExpression, remainingExpressions, remainingOperators); } private UnaryBooleanOperator processUnaryBooleanOperator(SQLParser.Unary_boolean_operatorContext unaryBooleanOperator) { if (unaryBooleanOperator.NOT() != null) { return UnaryBooleanOperator.NOT; } throw new ParseException(String.format("Unknown unary boolean operator: \'%s\'", unaryBooleanOperator.getText())); } private BinaryBooleanOperator processBinaryBooleanOperator(SQLParser.Binary_boolean_operatorContext binaryBooleanOperator) { if (binaryBooleanOperator.AND() != null) { return BinaryBooleanOperator.AND; } else if (binaryBooleanOperator.OR() != null) { return BinaryBooleanOperator.OR; } else if (binaryBooleanOperator.XOR() != null) { return BinaryBooleanOperator.XOR; } throw new ParseException(String.format("Unknown binary boolean operator: \'%s\'", binaryBooleanOperator)); } private BooleanExpression processSimpleBooleanExpression(SQLParser.Simple_boolean_expressionContext simpleBooleanExpression) { if (simpleBooleanExpression.relational_operator() != null) { return processRelationalBooleanExpression(simpleBooleanExpression); } else if (simpleBooleanExpression.BETWEEN() != null) { return processBetweenExpression(simpleBooleanExpression); } else if (simpleBooleanExpression.IS() != null && simpleBooleanExpression.NULL() != null) { return processIsExpression(simpleBooleanExpression); } else if (simpleBooleanExpression.LIKE() != null) { return processLikeExpression(simpleBooleanExpression); } else if (simpleBooleanExpression.REGEXP() != null) { return processRegexpExpression(simpleBooleanExpression); } else if (simpleBooleanExpression.IN() != null && simpleBooleanExpression.expression().size() >= 2) { return processInExpression(simpleBooleanExpression); } else if (simpleBooleanExpression.TRUE() != null) { return new LiteralBooleanExpression(true); } else if (simpleBooleanExpression.FALSE() != null) { return new LiteralBooleanExpression(false); } throw new ParseException(String.format("Unsupported simple boolean expression: \'%s\'", simpleBooleanExpression)); } private Object getExpression(SQLParser.Simple_boolean_expressionContext simpleBooleanExpression, int pos) { return processExpression(simpleBooleanExpression.expression(pos)).getExpression(); } private SimpleBooleanExpression processRelationalBooleanExpression(SQLParser.Simple_boolean_expressionContext simpleBooleanExpression) { Object left = getExpression(simpleBooleanExpression, 0); Object right = getExpression(simpleBooleanExpression, 1); BooleanRelation booleanRelation = processRelationalOperator(simpleBooleanExpression.relational_operator()); return new SimpleBooleanExpression(left, booleanRelation, right); } private BooleanExpression processBetweenExpression(SQLParser.Simple_boolean_expressionContext simpleBooleanExpression) { Object value = getExpression(simpleBooleanExpression, 0); Object left = getExpression(simpleBooleanExpression, 1); Object right = getExpression(simpleBooleanExpression, 2); BinaryBooleanExpression betweenExpression = new BinaryBooleanExpression( new SimpleBooleanExpression(value, GREATER_THAN_EQUAL, left), BinaryBooleanOperator.AND, new SimpleBooleanExpression(value, LESS_THAN_EQUAL, right) ); return (simpleBooleanExpression.NOT() != null) ? new UnaryBooleanExpression(betweenExpression, UnaryBooleanOperator.NOT) : betweenExpression; } private BooleanExpression processIsExpression(SQLParser.Simple_boolean_expressionContext simpleBooleanExpression) { Object value = getExpression(simpleBooleanExpression, 0); IsNullExpression isNullExpression = new IsNullExpression(value); return (simpleBooleanExpression.NOT() != null) ? new UnaryBooleanExpression(isNullExpression, UnaryBooleanOperator.NOT) : isNullExpression; } private BooleanExpression processLikeExpression(SQLParser.Simple_boolean_expressionContext simpleBooleanExpression) { Object value = getExpression(simpleBooleanExpression, 0); Object pattern = getExpression(simpleBooleanExpression, 1); SimpleBooleanExpression likeExpression = new SimpleBooleanExpression(value, LIKE, pattern); return (simpleBooleanExpression.NOT() != null) ? new UnaryBooleanExpression(likeExpression, UnaryBooleanOperator.NOT) : likeExpression; } private BooleanExpression processRegexpExpression(SQLParser.Simple_boolean_expressionContext simpleBooleanExpression) { Object value = getExpression(simpleBooleanExpression, 0); Object pattern = getExpression(simpleBooleanExpression, 1); SimpleBooleanExpression regexpExpression = new SimpleBooleanExpression(value, REGEXP, pattern); return (simpleBooleanExpression.NOT() != null) ? new UnaryBooleanExpression(regexpExpression, UnaryBooleanOperator.NOT) : regexpExpression; } private BooleanExpression processInExpression(SQLParser.Simple_boolean_expressionContext simpleBooleanExpression) { List<Object> processedExpressions = simpleBooleanExpression.expression().stream() .map(e -> processExpression(e).getExpression()) .collect(Collectors.toList()); Object value = processedExpressions.remove(0); InExpression inExpression = new InExpression(value, new HashSet<>(processedExpressions)); return (simpleBooleanExpression.NOT() != null) ? new UnaryBooleanExpression(inExpression, UnaryBooleanOperator.NOT) : inExpression; } private BooleanRelation processRelationalOperator(SQLParser.Relational_operatorContext relationalOperator) { if (relationalOperator.EQ() != null) { return EQUAL; } else if (relationalOperator.LT() != null) { return LESS_THAN; } else if (relationalOperator.GT() != null) { return GREATER_THAN; } else if (relationalOperator.LTE() != null) { return LESS_THAN_EQUAL; } else if (relationalOperator.GTE() != null) { return GREATER_THAN_EQUAL; } else if (relationalOperator.NOT_EQ() != null) { return NOT_EQUAL; } throw new ParseException(String.format("Unknown relational operator: \'%s\'", relationalOperator)); } private void processFromClause() { Optional<SQLParser.From_clauseContext> fromClauseContext = Optional.ofNullable(this.fromClauseContext); if (fromClauseContext.isPresent()) { SQLParser.Table_referencesContext tableReferencesContext = fromClauseContext.get().table_references(); DataSource dataSource = processTableReferences(tableReferencesContext); //Clearing initially available columns used in from clause checks // and preparing more precise available columns map getAvailableColumns().clear(); Map<String, List<String>> availableColumns = getAvailableColumns(dataSource, Collections.emptyMap()); getAvailableColumns().putAll(availableColumns); if (dataSource != null) { this.dataSource = dataSource; } } } private DataSource processTableReferences(SQLParser.Table_referencesContext tableReferencesContext) { List<DataSource> dataSources = tableReferencesContext.table_reference().stream() .map(this::processTableReference) .collect(Collectors.toList()); return dataSources.size() > 1 ? chainDataSources(null, dataSources) : dataSources.get(0); } private DataSource chainDataSources(DataSource previousDataSource, List<DataSource> remainingDataSources) { if (remainingDataSources.isEmpty()) { return previousDataSource; } DataSource currentDataSource = remainingDataSources.remove(remainingDataSources.size() - 1); //Removing from the tail DataSource currentDataSourceTail = DataSourceUtils.getTail(currentDataSource); if (previousDataSource != null) { previousDataSource.setJoinType(JoinType.INNER); currentDataSourceTail.setRightDataSource(previousDataSource); } return chainDataSources(currentDataSource, remainingDataSources); } private Map<String, List<String>> getAvailableColumns(DataSource currentDataSource, Map<String, List<String>> availableColumns) { if (currentDataSource == null) { return availableColumns; } Optional<String> tableAliasCandidate = currentDataSource.getTableAlias(); Optional<DataSource> dataSourceCandidate = currentDataSource.getLeftDataSource(); final Map<String, List<String>> currentlyAvailableColumns = new HashMap<>(); if (tableAliasCandidate.isPresent()) { String tableAlias = tableAliasCandidate.get(); String tableName = tableAliases.get(tableAlias); if (!tablesAware.getTables().contains(tableName)) { errors.add(String.format("Table \"%s\" does not exist", tableName)); } List<String> columnNames = columnsToNames(tablesAware.getColumns(tableName)); currentlyAvailableColumns.putAll(createAvailableColumns(tableAlias, columnNames)); } else { dataSourceCandidate.ifPresent( ds -> currentlyAvailableColumns.putAll(getAvailableColumns(ds, Collections.emptyMap())) ); } DataSource rightDataSource = currentDataSource.getRightDataSource().orElse(null); if (currentDataSource.getJoinType().isPresent()) { Map<String, List<String>> previouslyAvailableColumns = new HashMap<>(availableColumns); return getAvailableColumns( rightDataSource, mergeAvailableColumns( previouslyAvailableColumns, currentlyAvailableColumns ) ); } else { return getAvailableColumns(rightDataSource, currentlyAvailableColumns); } } private Map<String, List<String>> createAvailableColumns(String tableAlias, List<String> columnNames) { return columnNames.stream().collect(Collectors.toMap( Function.identity(), cn -> new ArrayList<String>(){ { add(tableAlias); } } )); } private Map<String, List<String>> mergeAvailableColumns(Map<String, List<String>> first, Map<String, List<String>> second) { Map<String, List<String>> mergedMaps = first.keySet().stream().collect(Collectors.toMap( Function.identity(), k -> second.merge(k, first.get(k), (f, s) -> new ArrayList<>(new HashSet<String>() { { addAll(f); addAll(s); } })) )); second.keySet().stream() .filter(k -> !first.containsKey(k)) .forEach(k -> mergedMaps.put(k, second.get(k))); return mergedMaps; } private DataSource processTableReference(SQLParser.Table_referenceContext tableReferenceContext) { if (tableReferenceContext.table_atom() != null) { return processTableAtom(tableReferenceContext.table_atom()); } else if (tableReferenceContext.table_join() != null) { return processTableJoin(tableReferenceContext.table_join()); } throw new ParseException(String.format("Unsupported table reference type: \'%s\'", tableReferenceContext)); } private DataSource processTableJoin(SQLParser.Table_joinContext tableJoinContext) { DataSource firstDataSource = processTableAtom(tableJoinContext.table_atom()); List<SQLParser.Join_clauseContext> joinClauseContexts = tableJoinContext.join_clause(); //We need to process table names before we process join conditions, otherwise table aliases are unknown Map<SQLParser.Table_atomContext, DataSource> tableAtoms = getTableAtoms(joinClauseContexts); return appendJoinClauses(tableAtoms, firstDataSource, null, joinClauseContexts); } private Map<SQLParser.Table_atomContext, DataSource> getTableAtoms(List<SQLParser.Join_clauseContext> joinClauseContexts) { return joinClauseContexts.stream() .map(jc -> { if (jc.inner_join_clause() != null) { return jc.inner_join_clause().table_atom(); } else if (jc.outer_join_clause() != null) { return jc.outer_join_clause().table_atom(); } else if (jc.natural_join_clause() != null) { return jc.natural_join_clause().table_atom(); } throw new ParseException(String.format("Unknown join clause type: %s", jc)); }) .collect(Collectors.toMap(Function.identity(), this::processTableAtom)); } private DataSource appendJoinClauses(Map<SQLParser.Table_atomContext, DataSource> tableAtoms, DataSource firstDataSource, DataSource previousDataSource, List<SQLParser.Join_clauseContext> remainingJoinClauseContexts) { if (remainingJoinClauseContexts.isEmpty()) { firstDataSource.setRightDataSource(previousDataSource); return firstDataSource; } SQLParser.Join_clauseContext currentJoinClauseContext = remainingJoinClauseContexts.remove(remainingJoinClauseContexts.size() - 1); DataSource currentDataSource = processJoinClause(tableAtoms, currentJoinClauseContext); if (previousDataSource != null) { currentDataSource.setRightDataSource(previousDataSource); } return appendJoinClauses(tableAtoms, firstDataSource, currentDataSource, remainingJoinClauseContexts); } private DataSource processJoinClause(Map<SQLParser.Table_atomContext, DataSource> tableAtoms, SQLParser.Join_clauseContext joinClauseContext) { if (joinClauseContext.inner_join_clause() != null) { return processInnerJoinClause(tableAtoms, joinClauseContext.inner_join_clause()); } else if (joinClauseContext.outer_join_clause() != null) { return processOuterJoinClause(tableAtoms, joinClauseContext.outer_join_clause()); } else if (joinClauseContext.natural_join_clause() != null) { return processNaturalJoinClause(tableAtoms, joinClauseContext.natural_join_clause()); } throw new ParseException(String.format("Unknown join clause type: \'%s\'", joinClauseContext)); } private DataSource processInnerJoinClause(Map<SQLParser.Table_atomContext, DataSource> tableAtoms, SQLParser.Inner_join_clauseContext innerJoinClauseContext) { return joinClauseToDataSource(tableAtoms, innerJoinClauseContext.table_atom(), JoinType.INNER, innerJoinClauseContext.join_condition()); } private DataSource processOuterJoinClause(Map<SQLParser.Table_atomContext, DataSource> tableAtoms, SQLParser.Outer_join_clauseContext outerJoinClauseContext) { JoinType joinType = outerJoinClauseContext.LEFT() != null ? JoinType.LEFT : JoinType.RIGHT; return joinClauseToDataSource(tableAtoms, outerJoinClauseContext.table_atom(), joinType, outerJoinClauseContext.join_condition()); } private DataSource processNaturalJoinClause(Map<SQLParser.Table_atomContext, DataSource> tableAtoms, SQLParser.Natural_join_clauseContext naturalJoinClauseContext) { JoinType joinType = JoinType.INNER; if (naturalJoinClauseContext.LEFT() != null) { joinType = JoinType.LEFT; } else if (naturalJoinClauseContext.RIGHT() != null) { joinType = JoinType.RIGHT; } DataSource dataSource = joinClauseToDataSource(tableAtoms, naturalJoinClauseContext.table_atom(), joinType, null); dataSource.setNaturalJoin(true); return dataSource; } private DataSource joinClauseToDataSource(Map<SQLParser.Table_atomContext, DataSource> tableAtoms, SQLParser.Table_atomContext tableAtom, JoinType joinType, SQLParser.Join_conditionContext joinConditionContext) { DataSource dataSource = tableAtoms.get(tableAtom); dataSource.setJoinType(joinType); if (joinConditionContext != null) { processJoinCondition(dataSource, joinConditionContext); } return dataSource; } private void processJoinCondition(DataSource dataSource, SQLParser.Join_conditionContext joinConditionContext) { if (joinConditionContext.ON() != null) { BooleanExpression joinCondition = processComplexBooleanExpression(joinConditionContext.complex_boolean_expression()); dataSource.setCondition(joinCondition); } else if (joinConditionContext.USING() != null) { List<String> joinColumns = joinConditionContext.columns_list().column_name().stream() .map(cn -> processColumnName(cn, false, true).getExpression()) .filter(e -> e instanceof ColumnExpression) .map(e -> ((ColumnExpression) e).getColumnName()) .collect(Collectors.toList()); dataSource.getColumns().addAll(joinColumns); } else { throw new ParseException(String.format("Unsupported join condition type: \'%s\'", joinConditionContext)); } } private DataSource processTableAtom(SQLParser.Table_atomContext tableAtom) { if (tableAtom.table_name() != null) { return processTable(tableAtom.table_name(), tableAtom.alias_clause()); } else if (tableAtom.LPAREN() != null) { return processTableReferences(tableAtom.table_references()); } throw new ParseException(String.format("Unsupported table atom type: \'%s\'", tableAtom)); } private DataSource processTable(SQLParser.Table_nameContext tableNameContext, SQLParser.Alias_clauseContext aliasClauseContext) { String tableName = tableNameContext.ID().getText(); String alias = aliasClauseContext != null ? aliasClauseContext.alias().ID().getText() : tableName; if (!tableAliases.containsKey(alias)) { tableAliases.put(alias, tableName); } else { errors.add(String.format("Duplicate alias \"%s\"", alias)); } //Preparing available columns for the first time DataSource dataSource = new DataSource(alias); Map<String, List<String>> availableColumns = mergeAvailableColumns(getAvailableColumns(), getAvailableColumns(dataSource, Collections.emptyMap())); getAvailableColumns().clear(); getAvailableColumns().putAll(availableColumns); return new DataSource(alias); } private void processSelectClause() { if (selectClauseContext != null) { selectClauseContext.select_expression().aliased_expression().forEach(ae -> { AliasExpressionPair pair = processAliasedExpression(ae); selectionMap.put(pair.getAlias(), pair.getExpression()); }); } } private AliasExpressionPair processAliasedExpression(SQLParser.Aliased_expressionContext ctx) { SQLParser.ExpressionContext expressionCtx = ctx.expression(); AliasExpressionPair defaultAliasExpressionPair = processExpression(expressionCtx, true); String alias = getAliasOrValue(ctx.alias_clause(), defaultAliasExpressionPair.getAlias()); return pair(alias, defaultAliasExpressionPair.getExpression()); } private String getAliasOrValue(SQLParser.Alias_clauseContext ctx, String value) { return ctx != null ? ctx.alias().getText() : value; } private AliasExpressionPair processExpression(SQLParser.ExpressionContext expression) { return processExpression(expression, false); } private AliasExpressionPair processExpression(SQLParser.ExpressionContext expression, boolean allowMultipleColumns) { if (expression.literal() != null) { return processLiteral(expression.literal()); } else if (expression.column_name() != null) { return processColumnName(expression.column_name(), allowMultipleColumns, false); } else if (expression.function_call() != null) { return processFunctionCall(expression.function_call()); } else if (expression.unary_arithmetic_operator() != null) { return processUnaryArithmeticExpression(expression.unary_arithmetic_operator(), expression.expression(0)); } else if (expression.binary_arithmetic_operator() != null) { return processBinaryArithmeticExpression(expression.expression(0), expression.binary_arithmetic_operator(), expression.expression(1)); } throw new ParseException(String.format("Unsupported expression type: \'%s\'", expression.getText())); } private AliasExpressionPair processLiteral(SQLParser.LiteralContext literal) { if (literal.STRING() != null) { String stringValue = stripApostrophes(literal.STRING().getText()); return pair(stringValue, stringValue); } else if (literal.INT() != null) { Integer intValue = Integer.valueOf(literal.INT().getText()); return pair(String.valueOf(intValue), intValue); } else if (literal.FLOAT() != null) { Float floatValue = Float.valueOf(literal.FLOAT().getText()); return pair(String.valueOf(floatValue), floatValue); } else if (literal.NULL() != null) { return pair("NULL", new Null()); } else if (literal.TRUE() != null) { return pair("TRUE", true); } else if (literal.FALSE() != null) { return pair("FALSE", false); } throw new ParseException(String.format("Unsupported literal type: \'%s\'", literal.getText())); } private static String stripApostrophes(String str) { final char APOSTROPHE = '\''; if (str.length() < 2) { return str; } String ret = str; if (ret.charAt(0) == APOSTROPHE) { ret = ret.substring(1); } if (ret.charAt(ret.length() - 1) == APOSTROPHE) { ret = ret.substring(0, ret.length() - 1); } return ret; } private AliasExpressionPair processColumnName(SQLParser.Column_nameContext columnNameContext, boolean allowMultipleColumns, boolean isUsingClause) { //Column name can be alias.* for concrete table or just * for all tables Optional<String> tableAliasCandidate = getTableAlias(columnNameContext); boolean selectAllColumns = columnNameContext.MULTIPLY() != null; String columnName = (columnNameContext.ID() != null) ? columnNameContext.ID().getText() : null; if (tableAliasCandidate.isPresent()) { String tableAlias = tableAliasCandidate.get(); return processAliasedColumnName(tableAlias, columnName, selectAllColumns, allowMultipleColumns); } else { return processStandaloneColumnName(columnName, selectAllColumns, allowMultipleColumns, isUsingClause); } } private AliasExpressionPair processAliasedColumnName(String tableAlias, String columnName, boolean selectAllColumns, boolean allowMultipleColumns) { if (!tableAliases.containsKey(tableAlias)) { errors.add(String.format("Table or alias \"%s\" does not exist", tableAlias)); return emptyPair(); } if (selectAllColumns) { if (!allowMultipleColumns) { errors.add(String.format("Selecting %s.* is not allowed in this context", tableAlias)); return emptyPair(); } ColumnExpression columnExpression = new ColumnExpression(ANY_COLUMN, tableAlias); return new AliasExpressionPair(columnExpression.toString(), columnExpression); } if (!getAvailableColumns().containsKey(columnName) || !getAvailableColumns().get(columnName).contains(tableAlias)) { errors.add(String.format("Column \"%s.%s\" is not available for selection", tableAlias, columnName)); return emptyPair(); } ColumnExpression columnExpression = new ColumnExpression(columnName, tableAlias); return new AliasExpressionPair(columnExpression.toString(), columnExpression); } private AliasExpressionPair processStandaloneColumnName(String columnName, boolean selectAllColumns, boolean allowMultipleColumns, boolean isUsingClause) { if (selectAllColumns) { if (!allowMultipleColumns) { errors.add("Selecting * is not allowed in this context"); return emptyPair(); } ColumnExpression columnExpression = new ColumnExpression(); return new AliasExpressionPair(columnExpression.toString(), columnExpression); } if (!getAvailableColumns().containsKey(columnName)) { errors.add(String.format("Column \"%s\" is not available for selection", columnName)); return emptyPair(); } if (getAvailableColumns().get(columnName).size() > 1 && !isUsingClause) { errors.add(String.format( "Ambiguous column name \"%s\": use aliases to specify destination table. Possible aliases are: %s.", columnName, getAvailableColumns().get(columnName) )); return emptyPair(); } ColumnExpression columnExpression = new ColumnExpression(columnName); return new AliasExpressionPair(columnExpression.toString(), columnExpression); } private Optional<String> getTableAlias(SQLParser.Column_nameContext columnName) { if (columnName.alias() != null) { return Optional.of(columnName.alias().ID().getText()); } else if (columnName.table_name() != null) { return Optional.of(columnName.table_name().ID().getText()); } return Optional.empty(); } private void foreachExpression(List<SQLParser.ExpressionContext> expressions, Consumer<AliasExpressionPair> action) { expressions.stream().map(this::processExpression).forEach(action); } private AliasExpressionPair processFunctionCall(SQLParser.Function_callContext functionCall) { String functionName = functionCall.ID().getText(); List<Object> argExpressions = new ArrayList<>(); if (functionCall.expressions() != null) { foreachExpression(functionCall.expressions().expression(), p -> argExpressions.add(p.getExpression())); } FunctionExpression functionExpression = new FunctionExpression(functionName, argExpressions); return pair(functionExpression.toString(), functionExpression); } private AliasExpressionPair processUnaryArithmeticExpression( SQLParser.Unary_arithmetic_operatorContext unaryArithmeticOperatorContext, SQLParser.ExpressionContext expressionContext ) { UnaryArithmeticOperator unaryArithmeticOperator = determineUnaryArithmeticOperator(unaryArithmeticOperatorContext); AliasExpressionPair expression = processExpression(expressionContext); UnaryArithmeticExpression unaryArithmeticExpression = new UnaryArithmeticExpression(expression.getExpression(), unaryArithmeticOperator); return new AliasExpressionPair( unaryArithmeticExpression.toString(), unaryArithmeticExpression ); } private UnaryArithmeticOperator determineUnaryArithmeticOperator(SQLParser.Unary_arithmetic_operatorContext unaryArithmeticOperator) { if (unaryArithmeticOperator.BIT_NOT() != null) { return UnaryArithmeticOperator.BIT_NOT; } else if (unaryArithmeticOperator.PLUS() != null) { return UnaryArithmeticOperator.PLUS; } else if (unaryArithmeticOperator.MINUS() != null) { return UnaryArithmeticOperator.MINUS; } throw new ParseException(String.format("Unknown unary arithmetic operator: \'%s\'", unaryArithmeticOperator.getText())); } private AliasExpressionPair processBinaryArithmeticExpression( SQLParser.ExpressionContext leftExpressionContext, SQLParser.Binary_arithmetic_operatorContext binaryArithmeticOperatorContext, SQLParser.ExpressionContext rightExpressionContext ) { BinaryArithmeticOperator binaryArithmeticOperator = determineBinaryArithmeticOperator(binaryArithmeticOperatorContext); AliasExpressionPair leftExpression = processExpression(leftExpressionContext); AliasExpressionPair rightExpression = processExpression(rightExpressionContext); BinaryArithmeticExpression binaryArithmeticExpression = new BinaryArithmeticExpression(leftExpression.getExpression(), binaryArithmeticOperator, rightExpression.getExpression()); return new AliasExpressionPair( binaryArithmeticExpression.toString(), binaryArithmeticExpression ); } private BinaryArithmeticOperator determineBinaryArithmeticOperator(SQLParser.Binary_arithmetic_operatorContext binaryArithmeticOperator) { if (binaryArithmeticOperator.PLUS() != null) { return BinaryArithmeticOperator.PLUS; } else if (binaryArithmeticOperator.MINUS() != null) { return BinaryArithmeticOperator.MINUS; } else if (binaryArithmeticOperator.MULTIPLY() != null) { return BinaryArithmeticOperator.MULTIPLY; } else if (binaryArithmeticOperator.DIVIDE() != null) { return BinaryArithmeticOperator.DIVIDE; } else if (binaryArithmeticOperator.MOD() != null) { return BinaryArithmeticOperator.MOD; } else if (binaryArithmeticOperator.BIT_AND() != null) { return BinaryArithmeticOperator.BIT_AND; } else if (binaryArithmeticOperator.BIT_OR() != null) { return BinaryArithmeticOperator.BIT_OR; } else if (binaryArithmeticOperator.BIT_XOR() != null) { return BinaryArithmeticOperator.BIT_XOR; } else if (binaryArithmeticOperator.SHIFT_LEFT() != null) { return BinaryArithmeticOperator.SHIFT_LEFT; } else if (binaryArithmeticOperator.SHIFT_RIGHT() != null) { return BinaryArithmeticOperator.SHIFT_RIGHT; } throw new ParseException(String.format("Unknown binary arithmetic operator: \'%s\'", binaryArithmeticOperator.getText())); } @Override public void exitHaving_clause(SQLParser.Having_clauseContext ctx) { havingClauseContext = ctx; } @Override public void exitGroup_clause(SQLParser.Group_clauseContext ctx) { groupByClauseContext = ctx; } @Override public void exitOrder_clause(SQLParser.Order_clauseContext ctx) { orderByClauseContext = ctx; } @Override public void exitLimit_clause(SQLParser.Limit_clauseContext ctx) { //According to grammar limit and offset can parsed only as positive integers if (ctx.offset() != null) { this.limitOffset = Integer.valueOf(ctx.offset().INT().getText()); } if (ctx.row_count() != null) { this.limitCount = Integer.valueOf(ctx.row_count().INT().getText()); } } @Override public Map<String, Object> getSelectionMap() { return selectionMap; } @Override public Optional<DataSource> getDataSource() { return Optional.ofNullable(dataSource); } @Override public Map<String, String> getTableAliases() { return Collections.unmodifiableMap(tableAliases); } @Override public Map<String, List<String>> getAvailableColumns() { return availableColumns; } @Override public Optional<BooleanExpression> getWhereExpression() { return Optional.ofNullable(whereExpression); } @Override public List<Object> getGroupByExpressions() { return groupByExpressions; } @Override public List<OrderExpression> getOrderByExpressions() { return orderByExpressions; } @Override public Optional<BooleanExpression> getHavingExpression() { return Optional.ofNullable(havingExpression); } @Override public Optional<Integer> getLimitCount() { return Optional.ofNullable(limitCount); } @Override public Optional<Integer> getLimitOffset() { return Optional.ofNullable(limitOffset); } }
[ "vania-pooh@vania-pooh.com" ]
vania-pooh@vania-pooh.com
c830eb801a7654bb50e6e6f5cab48449d303361e
bc447fb23bc373973fe8db42f6786f7748b32c90
/PiHA-ObjectLib/src/CommandObjects/ListCommands/RoleListCommand.java
0c067bb589f38bcd2dd24bc8d9cfda13cce59f59
[]
no_license
andlee90/PiHA
5273607bd501198bec487124f249b9f932d5b728
61917aeb58847aadf8babbca4fefbafb4b681d66
refs/heads/master
2021-09-29T00:16:37.394383
2018-11-21T21:12:10
2018-11-21T21:12:10
106,648,507
0
1
null
null
null
null
UTF-8
Java
false
false
658
java
package CommandObjects.ListCommands; import CommandObjects.Command; /** * Provides an implementation of Command, used to define the specifications for a RoleList command. */ public class RoleListCommand extends Command { public enum RoleListCommandType { ADD_ROLE, REMOVE_ROLE } private RoleListCommandType commandType; public RoleListCommand(RoleListCommandType ct) { this.commandType = ct; } @Override public Enum getCommandType() { return this.commandType; } @Override public void setCommandType(Enum ct) { this.commandType = (RoleListCommandType) ct; } }
[ "andrw.l.smth@gmail.com" ]
andrw.l.smth@gmail.com
39f152df004c3875ec8fee16c8871331cf1e828c
f33823bfb5a1136a046e65495609c58d73f81bab
/src/main/java/com/bjst/dgt/third/yifu/struct/CThostFtdcQueryMaxOrderVolumeWithPriceField.java
0359556ccccc79f86406a35438eaf1b08b377bd2
[]
no_license
batfpd/dgt-api
dd862f5086422a4eef63894c03d40cd5f48958a7
152b8eb83248b168bfe6759151d03767979aa3c0
refs/heads/master
2022-01-06T09:46:56.313941
2018-07-01T15:20:27
2018-07-01T15:20:27
null
0
0
null
null
null
null
UTF-8
Java
false
false
1,250
java
package com.bjst.dgt.third.yifu.struct; import com.sun.jna.Structure; import java.util.ArrayList; import java.util.List; public class CThostFtdcQueryMaxOrderVolumeWithPriceField extends Structure { public byte[] BrokerID = new byte[11]; public byte[] InvestorID = new byte[13]; public byte[] InstrumentID = new byte[31]; public byte Direction; public byte OffsetFlag; public byte HedgeFlag; public int MaxVolume; public double Price; public byte[] ExchangeID = new byte[9]; public byte[] InvestUnitID = new byte[17]; public static class ByReference extends CThostFtdcQueryMaxOrderVolumeWithPriceField implements Structure.ByReference {} public static class ByValue extends CThostFtdcQueryMaxOrderVolumeWithPriceField implements Structure.ByValue {} @SuppressWarnings({ "rawtypes", "unchecked" }) @Override protected List getFieldOrder() { List a = new ArrayList(); a.add("BrokerID"); a.add("InvestorID"); a.add("InstrumentID"); a.add("Direction"); a.add("OffsetFlag"); a.add("HedgeFlag"); a.add("MaxVolume"); a.add("Price"); a.add("ExchangeID"); a.add("InvestUnitID"); return a; } };
[ "zhaoleiluo@cehk.vip" ]
zhaoleiluo@cehk.vip
8442ee8829d2c720d305748c7d04a7fb3ccc251c
5e2ee4f5e8120eca8d9a6e1a535c480da6775c61
/SomeRPG/SuperController.java
262868eb0e09dcaa8d0dad2072f73aae6dcb9a6d
[]
no_license
jvmsangkal/CMSC-22-Exercises
5e1bcc2ccb016a67071dd9be510ec019e2bbea58
cbc8188fe8f4cf7d3581129ce29affc541806d8b
refs/heads/master
2020-04-11T16:04:58.708667
2014-02-19T16:06:14
2014-02-19T16:06:14
68,206,747
0
0
null
null
null
null
UTF-8
Java
false
false
34
java
public class SuperController{ }
[ "johnviscelsangkal@gmail.com" ]
johnviscelsangkal@gmail.com
9375e637f236cd9f82ec299fbaf0e5882874c3ff
1d366840b7217a52adb0355de7901117d084dcea
/Matrixable.java
ba1c88eea75ffbd817608870d8b86bad82f97748
[]
no_license
kyralee22/sparseMatrix
1349a184adb020f20de141660a71bd3a9ea9a395
9dbf5da164fe655513e1f88b866fd39c9e8dbcbf
refs/heads/main
2023-02-07T12:17:20.759272
2021-01-04T02:59:16
2021-01-04T02:59:16
326,553,270
0
0
null
null
null
null
UTF-8
Java
false
false
544
java
// written by kyra lee 2019 public interface Matrixable<anyType> { public anyType get(int r, int c); //returns the element at row r, col c public anyType set(int r, int c, anyType x); //changes element at (r,c), returns old value public void add(int r, int c, anyType x); //adds obj at row r, col c public anyType remove(int r, int c); public int size(); //returns # actual elements stored public int numRows(); //returns # rows set in constructor public int numColumns(); //returns # cols set in constructor }
[ "noreply@github.com" ]
kyralee22.noreply@github.com
b4f4feb7b0bcef18944767a9396bf222c21dd262
c33738fba1007ddf068a57ef81a7172b726fa803
/app/src/main/java/hamdan/juniordesign/quebo/number/PluralToSingular.java
a59ca74fa5774603c4665c6aa7c791ba6d112941
[ "MIT" ]
permissive
hamdan-kaiser/QUEBO-An-Artificial-Teacher
c936580ad83444f9b35f51ef5f4a755198f260f7
14dc51e1ffd1fc37d805ddf47224997b2fda28f0
refs/heads/master
2020-06-24T06:31:27.739983
2019-08-01T20:05:07
2019-08-01T20:05:07
198,880,502
2
0
null
null
null
null
UTF-8
Java
false
false
24,488
java
package hamdan.juniordesign.quebo.number; import java.util.HashSet; import java.util.LinkedList; import java.util.Set; import java.util.regex.Matcher; import java.util.regex.Pattern; public class PluralToSingular { protected static final PluralToSingular INSTANCE = new PluralToSingular(); /** * The lowercase words that are to be excluded and not processed. This map can be modified by the users via * {@link #getUncountables()}. */ private final Set<String> uncountables = new HashSet<String>(); private LinkedList<Rule> plurals = new LinkedList<Rule>(); private LinkedList<Rule> singulars = new LinkedList<Rule>(); public PluralToSingular() { initialize(); } protected PluralToSingular(PluralToSingular original) { this.plurals.addAll(original.plurals); this.singulars.addAll(original.singulars); this.uncountables.addAll(original.uncountables); } public static final PluralToSingular getInstance() { return INSTANCE; } /** * Utility method to replace all occurrences given by the specific backreference with its uppercased form, and remove all * other backreferences. * <p> * The Java {@link Pattern regular expression processing} does not use the preprocessing directives <code>\l</code>, * <code>&#92;u</code>, <code>\L</code>, and <code>\U</code>. If so, such directives could be used in the replacement string * to uppercase or lowercase the backreferences. For example, <code>\L1</code> would lowercase the first backreference, and * <code>&#92;u3</code> would uppercase the 3rd backreference. * * @param input * @param regex * @param groupNumberToUppercase * @return the input string with the appropriate characters converted to upper-case */ protected static String replaceAllWithUppercase(String input, String regex, int groupNumberToUppercase) { Pattern underscoreAndDotPattern = Pattern.compile(regex); Matcher matcher = underscoreAndDotPattern.matcher(input); StringBuffer sb = new StringBuffer(); while (matcher.find()) { matcher.appendReplacement(sb, matcher.group(groupNumberToUppercase).toUpperCase()); } matcher.appendTail(sb); return sb.toString(); } @Override public PluralToSingular clone() { return new PluralToSingular(this); } // ------------------------------------------------------------------------------------------------ // Usage functions // ------------------------------------------------------------------------------------------------ /** * Returns the plural form of the word in the string. * <p> * Examples: * <p> * <pre> * inflector.pluralize(&quot;post&quot;) #=&gt; &quot;posts&quot; * inflector.pluralize(&quot;octopus&quot;) #=&gt; &quot;octopi&quot; * inflector.pluralize(&quot;sheep&quot;) #=&gt; &quot;sheep&quot; * inflector.pluralize(&quot;words&quot;) #=&gt; &quot;words&quot; * inflector.pluralize(&quot;the blue mailman&quot;) #=&gt; &quot;the blue mailmen&quot; * inflector.pluralize(&quot;CamelOctopus&quot;) #=&gt; &quot;CamelOctopi&quot; * </pre> * <p> * <p> * <p> * Note that if the {@link Object#toString()} is called on the supplied object, so this method works for non-strings, too. * * @param word the word that is to be pluralized. * @return the pluralized form of the word, or the word itself if it could not be pluralized * @see #singularize(Object) */ public String pluralize(Object word) { if (word == null) return null; String wordStr = word.toString().trim(); if (wordStr.length() == 0) return wordStr; if (isUncountable(wordStr)) return wordStr; for (Rule rule : this.plurals) { String result = rule.apply(wordStr); if (result != null) return result; } return wordStr; } public String pluralize(Object word, int count) { if (word == null) return null; if (count == 1 || count == -1) { return word.toString(); } return pluralize(word); } /** * Returns the singular form of the word in the string. * <p> * Examples: * <p> * <pre> * inflector.singularize(&quot;posts&quot;) #=&gt; &quot;post&quot; * inflector.singularize(&quot;octopi&quot;) #=&gt; &quot;octopus&quot; * inflector.singularize(&quot;sheep&quot;) #=&gt; &quot;sheep&quot; * inflector.singularize(&quot;words&quot;) #=&gt; &quot;word&quot; * inflector.singularize(&quot;the blue mailmen&quot;) #=&gt; &quot;the blue mailman&quot; * inflector.singularize(&quot;CamelOctopi&quot;) #=&gt; &quot;CamelOctopus&quot; * </pre> * <p> * <p> * <p> * Note that if the {@link Object#toString()} is called on the supplied object, so this method works for non-strings, too. * * @param word the word that is to be pluralized. * @return the pluralized form of the word, or the word itself if it could not be pluralized * @see #pluralize(Object) */ public String singularize(Object word) { if (word == null) return null; String wordStr = word.toString().trim(); if (wordStr.length() == 0) return wordStr; if (isUncountable(wordStr)) return wordStr; for (Rule rule : this.singulars) { String result = rule.apply(wordStr); if (result != null) return result; } return wordStr; } /** * Converts strings to lowerCamelCase. This method will also use any extra delimiter characters to identify word boundaries. * <p> * Examples: * <p> * <pre> * inflector.lowerCamelCase(&quot;active_record&quot;) #=&gt; &quot;activeRecord&quot; * inflector.lowerCamelCase(&quot;first_name&quot;) #=&gt; &quot;firstName&quot; * inflector.lowerCamelCase(&quot;name&quot;) #=&gt; &quot;name&quot; * inflector.lowerCamelCase(&quot;the-first_name&quot;,'-') #=&gt; &quot;theFirstName&quot; * </pre> * * @param lowerCaseAndUnderscoredWord the word that is to be converted to camel case * @param delimiterChars optional characters that are used to delimit word boundaries * @return the lower camel case version of the word * @see #underscore(String, char[]) * @see #camelCase(String, boolean, char[]) * @see #upperCamelCase(String, char[]) */ public String lowerCamelCase(String lowerCaseAndUnderscoredWord, char... delimiterChars) { return camelCase(lowerCaseAndUnderscoredWord, false, delimiterChars); } /** * Converts strings to UpperCamelCase. This method will also use any extra delimiter characters to identify word boundaries. * <p> * Examples: * <p> * <pre> * inflector.upperCamelCase(&quot;active_record&quot;) #=&gt; &quot;SctiveRecord&quot; * inflector.upperCamelCase(&quot;first_name&quot;) #=&gt; &quot;FirstName&quot; * inflector.upperCamelCase(&quot;name&quot;) #=&gt; &quot;Name&quot; * inflector.lowerCamelCase(&quot;the-first_name&quot;,'-') #=&gt; &quot;TheFirstName&quot; * </pre> * * @param lowerCaseAndUnderscoredWord the word that is to be converted to camel case * @param delimiterChars optional characters that are used to delimit word boundaries * @return the upper camel case version of the word * @see #underscore(String, char[]) * @see #camelCase(String, boolean, char[]) * @see #lowerCamelCase(String, char[]) */ public String upperCamelCase(String lowerCaseAndUnderscoredWord, char... delimiterChars) { return camelCase(lowerCaseAndUnderscoredWord, true, delimiterChars); } /** * By default, this method converts strings to UpperCamelCase. If the <code>uppercaseFirstLetter</code> argument to false, * then this method produces lowerCamelCase. This method will also use any extra delimiter characters to identify word * boundaries. * <p> * Examples: * <p> * <pre> * inflector.camelCase(&quot;active_record&quot;,false) #=&gt; &quot;activeRecord&quot; * inflector.camelCase(&quot;active_record&quot;,true) #=&gt; &quot;ActiveRecord&quot; * inflector.camelCase(&quot;first_name&quot;,false) #=&gt; &quot;firstName&quot; * inflector.camelCase(&quot;first_name&quot;,true) #=&gt; &quot;FirstName&quot; * inflector.camelCase(&quot;name&quot;,false) #=&gt; &quot;name&quot; * inflector.camelCase(&quot;name&quot;,true) #=&gt; &quot;Name&quot; * </pre> * * @param lowerCaseAndUnderscoredWord the word that is to be converted to camel case * @param uppercaseFirstLetter true if the first character is to be uppercased, or false if the first character is to be * lowercased * @param delimiterChars optional characters that are used to delimit word boundaries * @return the camel case version of the word * @see #underscore(String, char[]) * @see #upperCamelCase(String, char[]) * @see #lowerCamelCase(String, char[]) */ public String camelCase(String lowerCaseAndUnderscoredWord, boolean uppercaseFirstLetter, char... delimiterChars) { if (lowerCaseAndUnderscoredWord == null) return null; lowerCaseAndUnderscoredWord = lowerCaseAndUnderscoredWord.trim(); if (lowerCaseAndUnderscoredWord.length() == 0) return ""; if (uppercaseFirstLetter) { String result = lowerCaseAndUnderscoredWord; // Replace any extra delimiters with underscores (before the underscores are converted in the next step)... if (delimiterChars != null) { for (char delimiterChar : delimiterChars) { result = result.replace(delimiterChar, '_'); } } // Change the case at the beginning at after each underscore ... return replaceAllWithUppercase(result, "(^|_)(.)", 2); } if (lowerCaseAndUnderscoredWord.length() < 2) return lowerCaseAndUnderscoredWord; return "" + Character.toLowerCase(lowerCaseAndUnderscoredWord.charAt(0)) + camelCase(lowerCaseAndUnderscoredWord, true, delimiterChars).substring(1); } /** * Makes an underscored form from the expression in the string (the reverse of the {@link #camelCase(String, boolean, char[]) * camelCase} method. Also changes any characters that match the supplied delimiters into underscore. * <p> * Examples: * <p> * <pre> * inflector.underscore(&quot;activeRecord&quot;) #=&gt; &quot;active_record&quot; * inflector.underscore(&quot;ActiveRecord&quot;) #=&gt; &quot;active_record&quot; * inflector.underscore(&quot;firstName&quot;) #=&gt; &quot;first_name&quot; * inflector.underscore(&quot;FirstName&quot;) #=&gt; &quot;first_name&quot; * inflector.underscore(&quot;name&quot;) #=&gt; &quot;name&quot; * inflector.underscore(&quot;The.firstName&quot;) #=&gt; &quot;the_first_name&quot; * </pre> * * @param camelCaseWord the camel-cased word that is to be converted; * @param delimiterChars optional characters that are used to delimit word boundaries (beyond capitalization) * @return a lower-cased version of the input, with separate words delimited by the underscore character. */ public String underscore(String camelCaseWord, char... delimiterChars) { if (camelCaseWord == null) return null; String result = camelCaseWord.trim(); if (result.length() == 0) return ""; result = result.replaceAll("([A-Z]+)([A-Z][a-z])", "$1_$2"); result = result.replaceAll("([a-z\\d])([A-Z])", "$1_$2"); result = result.replace('-', '_'); if (delimiterChars != null) { for (char delimiterChar : delimiterChars) { result = result.replace(delimiterChar, '_'); } } return result.toLowerCase(); } /** * Returns a copy of the input with the first character converted to uppercase and the remainder to lowercase. * * @param words the word to be capitalized * @return the string with the first character capitalized and the remaining characters lowercased */ public String capitalize(String words) { if (words == null) return null; String result = words.trim(); if (result.length() == 0) return ""; if (result.length() == 1) return result.toUpperCase(); return "" + Character.toUpperCase(result.charAt(0)) + result.substring(1).toLowerCase(); } /** * Capitalizes the first word and turns underscores into spaces and strips trailing "_id" and any supplied removable tokens. * Like {@link #titleCase(String, String[])}, this is meant for creating pretty output. * <p> * Examples: * <p> * <pre> * inflector.humanize(&quot;employee_salary&quot;) #=&gt; &quot;Employee salary&quot; * inflector.humanize(&quot;author_id&quot;) #=&gt; &quot;Author&quot; * </pre> * * @param lowerCaseAndUnderscoredWords the input to be humanized * @param removableTokens optional array of tokens that are to be removed * @return the humanized string * @see #titleCase(String, String[]) */ public String humanize(String lowerCaseAndUnderscoredWords, String... removableTokens) { if (lowerCaseAndUnderscoredWords == null) return null; String result = lowerCaseAndUnderscoredWords.trim(); if (result.length() == 0) return ""; // Remove a trailing "_id" token result = result.replaceAll("_id$", ""); // Remove all of the tokens that should be removed if (removableTokens != null) { for (String removableToken : removableTokens) { result = result.replaceAll(removableToken, ""); } } result = result.replaceAll("_+", " "); // replace all adjacent underscores with a single space return capitalize(result); } /** * Capitalizes all the words and replaces some characters in the string to create a nicer looking title. Underscores are * changed to spaces, a trailing "_id" is removed, and any of the supplied tokens are removed. Like * {@link #humanize(String, String[])}, this is meant for creating pretty output. * <p> * Examples: * <p> * <pre> * inflector.titleCase(&quot;man from the boondocks&quot;) #=&gt; &quot;Man From The Boondocks&quot; * inflector.titleCase(&quot;x-men: the last stand&quot;) #=&gt; &quot;X Men: The Last Stand&quot; * </pre> * * @param words the input to be turned into title case * @param removableTokens optional array of tokens that are to be removed * @return the title-case version of the supplied words */ public String titleCase(String words, String... removableTokens) { String result = humanize(words, removableTokens); result = replaceAllWithUppercase(result, "\\b([a-z])", 1); // change first char of each word to uppercase return result; } /** * Turns a non-negative number into an ordinal string used to denote the position in an ordered sequence, such as 1st, 2nd, * 3rd, 4th. * * @param number the non-negative number * @return the string with the number and ordinal suffix */ public String ordinalize(int number) { int remainder = number % 100; String numberStr = Integer.toString(number); if (11 <= number && number <= 13) return numberStr + "th"; remainder = number % 10; if (remainder == 1) return numberStr + "st"; if (remainder == 2) return numberStr + "nd"; if (remainder == 3) return numberStr + "rd"; return numberStr + "th"; } // ------------------------------------------------------------------------------------------------ // Management methods // ------------------------------------------------------------------------------------------------ /** * Determine whether the supplied word is considered uncountable by the {@link #pluralize(Object) pluralize} and * {@link #singularize(Object) singularize} methods. * * @param word the word * @return true if the plural and singular forms of the word are the same */ public boolean isUncountable(String word) { if (word == null) return false; String trimmedLower = word.trim().toLowerCase(); return this.uncountables.contains(trimmedLower); } /** * Get the set of words that are not processed by the Inflector. The resulting map is directly modifiable. * * @return the set of uncountable words */ public Set<String> getUncountables() { return uncountables; } public void addPluralize(String rule, String replacement) { final Rule pluralizeRule = new Rule(rule, replacement); this.plurals.addFirst(pluralizeRule); } public void addSingularize(String rule, String replacement) { final Rule singularizeRule = new Rule(rule, replacement); this.singulars.addFirst(singularizeRule); } public void addIrregular(String singular, String plural) { //CheckArg.isNotEmpty(singular, "singular rule"); //CheckArg.isNotEmpty(plural, "plural rule"); String singularRemainder = singular.length() > 1 ? singular.substring(1) : ""; String pluralRemainder = plural.length() > 1 ? plural.substring(1) : ""; addPluralize("(" + singular.charAt(0) + ")" + singularRemainder + "$", "$1" + pluralRemainder); addSingularize("(" + plural.charAt(0) + ")" + pluralRemainder + "$", "$1" + singularRemainder); } public void addUncountable(String... words) { if (words == null || words.length == 0) return; for (String word : words) { if (word != null) uncountables.add(word.trim().toLowerCase()); } } /** * Completely remove all rules within this PluralToSingular. */ public void clear() { this.uncountables.clear(); this.plurals.clear(); this.singulars.clear(); } protected void initialize() { PluralToSingular inflect = this; inflect.addPluralize("$", "s"); inflect.addPluralize("s$", "s"); inflect.addPluralize("(ax|test)is$", "$1es"); inflect.addPluralize("(octop|vir)us$", "$1i"); inflect.addPluralize("(octop|vir)i$", "$1i"); // already plural inflect.addPluralize("(alias|status)$", "$1es"); inflect.addPluralize("(bu)s$", "$1ses"); inflect.addPluralize("(buffal|tomat)o$", "$1oes"); inflect.addPluralize("([ti])um$", "$1a"); inflect.addPluralize("([ti])a$", "$1a"); // already plural inflect.addPluralize("sis$", "ses"); inflect.addPluralize("(?:([^f])fe|([lr])f)$", "$1$2ves"); inflect.addPluralize("(hive)$", "$1s"); inflect.addPluralize("([^aeiouy]|qu)y$", "$1ies"); inflect.addPluralize("(x|ch|ss|sh)$", "$1es"); inflect.addPluralize("(matr|vert|ind)ix|ex$", "$1ices"); inflect.addPluralize("([m|l])ouse$", "$1ice"); inflect.addPluralize("([m|l])ice$", "$1ice"); inflect.addPluralize("^(ox)$", "$1en"); inflect.addPluralize("(quiz)$", "$1zes"); // Need to check for the following words that are already pluralized: inflect.addPluralize("(people|men|children|sexes|moves|stadiums)$", "$1"); // irregulars inflect.addPluralize("(oxen|octopi|viri|aliases|quizzes)$", "$1"); // special rules inflect.addSingularize("s$", ""); inflect.addSingularize("(s|si|u)s$", "$1s"); // '-us' and '-ss' are already singular inflect.addSingularize("(n)ews$", "$1ews"); inflect.addSingularize("([ti])a$", "$1um"); inflect.addSingularize("((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)ses$", "$1$2sis"); inflect.addSingularize("(^analy)ses$", "$1sis"); inflect.addSingularize("(^analy)sis$", "$1sis"); // already singular, but ends in 's' inflect.addSingularize("([^f])ves$", "$1fe"); inflect.addSingularize("(hive)s$", "$1"); inflect.addSingularize("(tive)s$", "$1"); inflect.addSingularize("([lr])ves$", "$1f"); inflect.addSingularize("([^aeiouy]|qu)ies$", "$1y"); inflect.addSingularize("(s)eries$", "$1eries"); inflect.addSingularize("(m)ovies$", "$1ovie"); inflect.addSingularize("(x|ch|ss|sh)es$", "$1"); inflect.addSingularize("([m|l])ice$", "$1ouse"); inflect.addSingularize("(bus)es$", "$1"); inflect.addSingularize("(o)es$", "$1"); inflect.addSingularize("(shoe)s$", "$1"); inflect.addSingularize("(cris|ax|test)is$", "$1is"); // already singular, but ends in 's' inflect.addSingularize("(cris|ax|test)es$", "$1is"); inflect.addSingularize("(octop|vir)i$", "$1us"); inflect.addSingularize("(octop|vir)us$", "$1us"); // already singular, but ends in 's' inflect.addSingularize("(alias|status)es$", "$1"); inflect.addSingularize("(alias|status)$", "$1"); // already singular, but ends in 's' inflect.addSingularize("^(ox)en", "$1"); inflect.addSingularize("(vert|ind)ices$", "$1ex"); inflect.addSingularize("(matr)ices$", "$1ix"); inflect.addSingularize("(quiz)zes$", "$1"); inflect.addIrregular("person", "people"); inflect.addIrregular("man", "men"); inflect.addIrregular("child", "children"); inflect.addIrregular("sex", "sexes"); inflect.addIrregular("move", "moves"); inflect.addIrregular("stadium", "stadiums"); inflect.addUncountable("equipment", "information", "rice", "money", "species", "series", "fish", "sheep"); } protected class Rule { protected final String expression; protected final Pattern expressionPattern; protected final String replacement; protected Rule(String expression, String replacement) { this.expression = expression; this.replacement = replacement != null ? replacement : ""; this.expressionPattern = Pattern.compile(this.expression, Pattern.CASE_INSENSITIVE); } /** * Apply the rule against the input string, returning the modified string or null if the rule didn't apply (and no * modifications were made) * * @param input the input string * @return the modified string if this rule applied, or null if the input was not modified by this rule */ protected String apply(String input) { Matcher matcher = this.expressionPattern.matcher(input); if (!matcher.find()) return null; return matcher.replaceAll(this.replacement); } @Override public int hashCode() { return expression.hashCode(); } @Override public boolean equals(Object obj) { if (obj == this) return true; if (obj != null && obj.getClass() == this.getClass()) { final Rule that = (Rule) obj; return this.expression.equalsIgnoreCase(that.expression); } return false; } @Override public String toString() { return expression + ", " + replacement; } } }
[ "hamdankaiser26@gmail.com" ]
hamdankaiser26@gmail.com
d531f24bd0b0b8347a802acf6d5f31faa3975f5c
345e7455e8a158f625d9d819bff007131458ec47
/src/com/wj/client/action/LoginAction.java
d35aa18e2cdb8b71b2ca18651e4877fa9bbacc19
[]
no_license
WJElectronicCompany/source
1de7d7923a3ebb850b818e76a599633558823d1c
1bc4e5ba7c4f431e947b58a9557a5a36a1907f6b
refs/heads/master
2022-11-12T20:03:03.680646
2020-07-07T07:13:04
2020-07-07T07:13:04
277,516,578
0
0
null
null
null
null
UTF-8
Java
false
false
480
java
package com.wj.client.action; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.wj.client.model.DAO.ClientDAO; import com.wj.utils.CommandAction; public class LoginAction implements CommandAction { @Override public String requestPro(HttpServletRequest request, HttpServletResponse response) throws Throwable { ClientDAO clientDao = ClientDAO.getInstance(); return "/client/login.jsp"; } }
[ "KGITBank@508-012" ]
KGITBank@508-012
dbed98249c415e8cf2d675757ec180a02847517f
98d313cf373073d65f14b4870032e16e7d5466f0
/gradle-open-labs/example/src/main/java/se/molybden/Class3252.java
3f61c02045bb5c7471dc84d33ff58d2a3516ba36
[]
no_license
Molybden/gradle-in-practice
30ac1477cc248a90c50949791028bc1cb7104b28
d7dcdecbb6d13d5b8f0ff4488740b64c3bbed5f3
refs/heads/master
2021-06-26T16:45:54.018388
2016-03-06T20:19:43
2016-03-06T20:19:43
24,554,562
0
0
null
null
null
null
UTF-8
Java
false
false
109
java
public class Class3252{ public void callMe(){ System.out.println("called"); } }
[ "jocce.nilsson@gmail.com" ]
jocce.nilsson@gmail.com
503a31cb6e7b3e3fc617df9e84f2ab202a5c983a
88c18722a5823d32d06d72bb5066abf2db887f2a
/SourceProject/chap04_2.5/src/kame/spring/chap04/controller/ListServiceImpl.java
493b00eae012208add491e897159ef4c05bee0d8
[ "Apache-2.0" ]
permissive
grtlinux/Spring2.5Frame
a928b319f17c3b575159ed176b8ea492a0b6f39e
5e569de70dbdbd541bcdedfffd9bea981703e82a
refs/heads/master
2020-04-02T09:02:02.576526
2018-10-30T07:46:27
2018-10-30T07:46:27
154,272,339
0
0
null
null
null
null
UTF-8
Java
false
false
651
java
package kame.spring.chap04.controller; import java.util.ArrayList; import java.util.List; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; public class ListServiceImpl implements ListService { private Log log = LogFactory.getLog(getClass()); @Override public List<Article> getList(String bbsId, Integer pageNo, String searchKeyword) { if (log.isInfoEnabled()) log.info("called getList() : bbsId=" + bbsId + ", pageNo=" + pageNo + ", searchKeyword=" + searchKeyword); List<Article> result = new ArrayList<Article>(); result.add(new Article()); return result; } }
[ "grtlinux@gmail.com" ]
grtlinux@gmail.com
5efa233b66b56126903368bac70ca466c34eef09
c0b37a664fde6a57ae61c4af635e6dea28d7905e
/Helpful dev stuff/AeriesMobilePortal_v1.2.0_apkpure.com_source_from_JADX/org/jetbrains/anko/BackgroundExecutor.java
23b8d79fb6958db6f3ada757c5d0e1d41e1c3654
[]
no_license
joshkmartinez/Grades
a21ce8ede1371b9a7af11c4011e965f603c43291
53760e47f808780d06c4fbc2f74028a2db8e2942
refs/heads/master
2023-01-30T13:23:07.129566
2020-12-07T18:20:46
2020-12-07T18:20:46
131,549,535
0
0
null
null
null
null
UTF-8
Java
false
false
2,591
java
package org.jetbrains.anko; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.Future; import java.util.concurrent.ScheduledExecutorService; import kotlin.Metadata; import kotlin.jvm.functions.Function0; import kotlin.jvm.internal.Intrinsics; import org.jetbrains.annotations.NotNull; @Metadata(bv = {1, 0, 1}, d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\bÀ\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J \u0010\t\u001a\b\u0012\u0004\u0012\u0002H\u000b0\n\"\u0004\b\u0000\u0010\u000b2\f\u0010\f\u001a\b\u0012\u0004\u0012\u0002H\u000b0\rR\u001a\u0010\u0003\u001a\u00020\u0004X†\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\u0005\u0010\u0006\"\u0004\b\u0007\u0010\b¨\u0006\u000e"}, d2 = {"Lorg/jetbrains/anko/BackgroundExecutor;", "", "()V", "executor", "Ljava/util/concurrent/ExecutorService;", "getExecutor", "()Ljava/util/concurrent/ExecutorService;", "setExecutor", "(Ljava/util/concurrent/ExecutorService;)V", "submit", "Ljava/util/concurrent/Future;", "T", "task", "Lkotlin/Function0;", "commons_release"}, k = 1, mv = {1, 1, 5}) /* compiled from: Async.kt */ public final class BackgroundExecutor { public static final BackgroundExecutor INSTANCE = null; @NotNull private static ExecutorService executor; static { BackgroundExecutor backgroundExecutor = new BackgroundExecutor(); } private BackgroundExecutor() { INSTANCE = this; ScheduledExecutorService newScheduledThreadPool = Executors.newScheduledThreadPool(2 * Runtime.getRuntime().availableProcessors()); Intrinsics.checkExpressionValueIsNotNull(newScheduledThreadPool, "Executors.newScheduledTh…().availableProcessors())"); executor = newScheduledThreadPool; } @NotNull public final ExecutorService getExecutor() { return executor; } public final void setExecutor(@NotNull ExecutorService executorService) { Intrinsics.checkParameterIsNotNull(executorService, "<set-?>"); executor = executorService; } @NotNull public final <T> Future<T> submit(@NotNull Function0<? extends T> function0) { Intrinsics.checkParameterIsNotNull(function0, "task"); function0 = executor.submit(function0 == null ? null : new AsyncKt$sam$Callable$761a5578(function0)); Intrinsics.checkExpressionValueIsNotNull(function0, "executor.submit(task)"); return function0; } }
[ "joshkmartinez@gmail.com" ]
joshkmartinez@gmail.com
37bd26b6227d8d6339201dfc02488733fde835ee
969cf02071e75497117d2a48bcef6a3034819e89
/commonLib/src/main/java/net/youmi/android/libs/common/download/FileDownloadConfig.java
b38d367108f9210e4b27e32f185a2ad425796317
[]
no_license
zhengyuqin/ProxyServerAndroid
18842ad3b5bc351a605a2cdbb376cab4d729ac70
0e812e8037241e274589ee20aac5c36997afb6fb
refs/heads/master
2020-04-06T15:00:00.455805
2016-10-21T10:08:01
2016-10-21T10:08:01
53,205,091
2
4
null
null
null
null
UTF-8
Java
false
false
1,471
java
package net.youmi.android.libs.common.download; /** * 文件下载配置项 * * @author jen * */ public class FileDownloadConfig { /** * 缓存文件被锁超期时间<br/> * 当进行下载前会对缓存文件的最后修改时间进行判断,如果超过16秒,说明没有其他访问者,则可以对其进入下载写入操作。 */ public final static long TEMP_FILE_LOCK_TIME_OUT_MS = 16000; /** * 观察下载任务进度的线程循环时间间隔,即每隔1.5s更新一次下载进度 */ public final static long INTERVAL_PROGRESS_NOTIFY = 1500; /** * 缓存文件的后缀名 */ public final static String TEMP_FILE_SUFFIX = ".ymtf"; /** * 网络不可用的情况下,下一次重试的等待时间,等10s重试 */ public final static int NETWORK_RETRY_DELAY_MS = 10000; /** * 网络可用情况下,可以进行最大请求的次数 */ public final static int MAX_RETRY_TIMES_NETWORK_AVAILABLE = 8; /** * 网络不可用情况下,可以进行最大请求的次数 * * @author zhitaocai edit on 2014-5-26 修改网络不行的情况下,重试上限默认值为10,原来为60,太长了 */ public final static int MAX_RETRY_TIMES_NETWORK_UNAVAILABLE = 10; /** * 产品类型 * <ol> * <li>app : 则会关闭多进程那个下载前的检测。</li> * <li>sdk : 则会开启多进程那个下载前的检测。</li> * </ol> */ public final static int PRODUCT_TYPE = 1; }
[ "zhengyuqin@youmi.net" ]
zhengyuqin@youmi.net
159a7c64ad399df3f06fd96da00450f6a0c4d459
fafe3855d0140c90877184be4da331065ca97c67
/app/src/main/java/com/example/kim/finalprojecttrack1/MainActivity.java
5a9f72d949128d9d3d822f4d85f3dd6f7714dcbb
[]
no_license
youngmeen/androidVer1
24d6046944ee04e9f902404323a2b37208b39fe6
e2c0298025674786fc1056407b5677e546c047e9
refs/heads/master
2020-03-27T12:12:52.453472
2018-08-29T02:26:20
2018-08-29T02:26:20
146,533,252
0
0
null
null
null
null
UTF-8
Java
false
false
3,219
java
package com.example.kim.finalprojecttrack1; import android.annotation.TargetApi; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.os.Build; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Toast; import com.example.kim.finalprojecttrack1.Fragment.Instruction; import com.example.kim.finalprojecttrack1.chat.MessageActivity; public class MainActivity extends AppCompatActivity { Intent intent; public static final String[] MANDATORY_PERMISSIONS = { "android.permission.CAMERA", "android.permission.CHANGE_NETWORK_STATE", "android.permission.ACCESS_NETWORK_STATE", "android.permission.CHANGE_WIFI_STATE", "android.permission.ACCESS_WIFI_STATE", "android.permission.RECORD_AUDIO", "android.permission.INTERNET", "android.permission.BLUETOOTH", "android.permission.BLUETOOTH_ADMIN", "android.permission.BROADCAST_STICKY", "android.permission.READ_PHONE_STATE", "android.permission.MODIFY_AUDIO_SETTINGS", "android.permission.ACCESS_FINE_LOCATION", "android.permission.ACCESS_COARSE_LOCATION" }; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); if (Build.VERSION.SDK_INT >= 24) { checkPermission(MANDATORY_PERMISSIONS); }//권한 주기 } @TargetApi(24) private void checkPermission(String[] permissions) { requestPermissions(permissions, 100); } public void f1(View view) { intent = new Intent(MainActivity.this, MenuActivity.class); intent.putExtra("number", "1"); startActivity(intent); finish(); } public void f2(View view) { intent = new Intent(MainActivity.this, MenuActivity.class); intent.putExtra("number", "2"); startActivity(intent); finish(); } public void f3(View view) { intent = new Intent(MainActivity.this, MenuActivity.class); intent.putExtra("number", "3"); startActivity(intent); finish(); } public void f4(View view) { intent = new Intent(MainActivity.this, MenuActivity.class); intent.putExtra("number", "4"); startActivity(intent); finish(); } public void f5(View view) { show(); } void show() { AlertDialog.Builder builder = new AlertDialog.Builder(this); builder.setTitle("긴급모드 입니다. 누르시겠습니까?"); builder.setMessage("누르심?"); builder.setPositiveButton("예", (dialog, which) -> startActivity(new Intent(MainActivity.this, LoginActivity.class))); builder.setNegativeButton("아니오", (dialog, which) -> { Toast.makeText(getApplicationContext(), "아니오를 선택했습니다.", Toast.LENGTH_LONG).show(); return; }); builder.show(); } }
[ "youngmeen24@gmail.com" ]
youngmeen24@gmail.com
fc398cad6348bb23caeffb6264e212d293bcd7b6
a2aba090c720e76e864ecb8bcf343921b50bb113
/src/main/java/FileSystem/Block/Default/DefaultBlockMeta.java
e101246bee896da3652078024ee225bc9dd3b553
[]
no_license
jinaxc/CSELab
a9bec314b36755eda47f95a2089cc591a547b86a
fc7da690f072761ef030193683446ab1fa616dda
refs/heads/master
2022-12-30T14:23:13.408026
2020-10-19T09:19:48
2020-10-19T09:19:48
302,693,631
1
0
null
null
null
null
UTF-8
Java
false
false
626
java
package FileSystem.Block.Default; import FileSystem.Block.BlockMeta; /** * @author : chara */ public class DefaultBlockMeta implements BlockMeta { private int size; private int realSize; private String checkSum; public DefaultBlockMeta(int size, int realSize, String checkSum) { this.size = size; this.realSize = realSize; this.checkSum = checkSum; } @Override public int getRealSize() { return realSize; } @Override public int getSize() { return size; } @Override public String getCheck() { return checkSum; } }
[ "1005454946@qq.com" ]
1005454946@qq.com
ee6aec557090ee78455e86e09fde4be35a81b2a5
22d32c2ef634b2f041730fbea63e24bc2d98ae46
/app/src/main/java/com/skyfree/kinhnguyetmangthai/adapter/ListSettingAdapter.java
8cd2b1d2163640ccd83a79976643d9fd8dd1598c
[]
no_license
00aj99/KinhNguyetMangThai
a943826fac976e63170a752ea451fb2bf96c0780
1331dd7af5f6e904ce8646527aaa9892b7e04591
refs/heads/master
2023-04-19T08:18:11.509020
2018-04-10T04:18:32
2018-04-10T04:18:32
null
0
0
null
null
null
null
UTF-8
Java
false
false
2,228
java
package com.skyfree.kinhnguyetmangthai.adapter; import android.content.Context; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.text.Layout; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.BaseAdapter; import android.widget.ImageView; import android.widget.TextView; import com.skyfree.kinhnguyetmangthai.R; import com.skyfree.kinhnguyetmangthai.model.Setting; import java.util.ArrayList; import java.util.List; /** * Created by KienBeu on 4/4/2018. */ public class ListSettingAdapter extends ArrayAdapter<Setting>{ private Context mContext; private LayoutInflater mInflater; private ArrayList<Setting> mListSetting; public ListSettingAdapter(@NonNull Context context, int resource, @NonNull List<Setting> objects) { super(context, resource, objects); mContext = context; mInflater = LayoutInflater.from(mContext); mListSetting = (ArrayList<Setting>) objects; } @NonNull @Override public View getView(int position, @Nullable View convertView, @NonNull ViewGroup parent) { View mViewHeader = mInflater.inflate(R.layout.item_header, null, false); View mViewItem = mInflater.inflate(R.layout.item_setting, null, false); TextView mTvHeader = mViewHeader.findViewById(R.id.tv_header); ImageView mImgSetting = mViewItem.findViewById(R.id.img_avatar_item_setting); TextView mTvNameSetting = mViewItem.findViewById(R.id.tv_name_item_setting); TextView mTvCountDaySetting = mViewItem.findViewById(R.id.tv_count_day_item_setting); Setting mSetting = mListSetting.get(position); switch (mSetting.getmType()){ case 0: mTvHeader.setText(mSetting.getmName()); return mViewHeader; case 1: mImgSetting.setImageResource(mSetting.getmImg()); mTvNameSetting.setText(mSetting.getmName()); mTvCountDaySetting.setText(mSetting.getmCountDay()); return mViewItem; default: return null; } } }
[ "trungkiencn2@gmail.com" ]
trungkiencn2@gmail.com
10609eab2637d5533ab2e00f986c1625ec474184
9819dc64f67c1b9f30e82c1bb786f5472e051d9b
/domain/src/main/java/com/projeto/domain/Model/Grupos.java
b71511b890c889aeb1327d9a53ff94d3f9ec1c98
[]
no_license
juarezpereira/TrainningGO
474acdab1dbc321a1766df1e90cdf634339c833c
ffd8a34b4025fdc0f852af2e1695cebf2f1ea030
refs/heads/master
2020-07-23T15:49:45.628947
2016-10-08T04:01:02
2016-10-08T04:01:02
67,949,532
0
0
null
null
null
null
UTF-8
Java
false
false
616
java
package com.projeto.domain.Model; import java.util.ArrayList; import java.util.List; import javax.annotation.Generated; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; @Generated("org.jsonschema2pojo") public class Grupos { @SerializedName("groups") @Expose private List<Grupo> grupos = new ArrayList<Grupo>(); /** * @return The grupos */ public List<Grupo> getGrupos() { return grupos; } /** * @param grupos The grupos */ public void setGrupos(List<Grupo> grupos) { this.grupos = grupos; } }
[ "Juarez Pereira" ]
Juarez Pereira
8deef98830fe73b8ded6fc5585c0472816643731
4b46d3d9c3ce73d87a0b2e4ea3848b084e39623b
/app/src/main/java/com/mydarkappfactory/bpitextracurriculars/LoginActivity.java
2baad72275db13943e660126352c70e4dd769849
[]
no_license
MohitBabbar1219/BpitExtras
1f4a9acabab6e0e6f95ea64394a4e49c4a7342ec
086d6928f3748f40d6469935b1b0af72bd8aa33c
refs/heads/master
2021-05-11T13:09:07.546046
2018-02-13T14:42:36
2018-02-13T14:42:36
117,674,422
0
0
null
null
null
null
UTF-8
Java
false
false
10,205
java
package com.mydarkappfactory.bpitextracurriculars; import android.content.ContentValues; import android.content.Intent; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.support.annotation.NonNull; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.EditText; import android.widget.Toast; import com.google.android.gms.tasks.OnCompleteListener; import com.google.android.gms.tasks.Task; import com.google.firebase.auth.AuthResult; import com.google.firebase.auth.FirebaseAuth; import com.google.firebase.database.DataSnapshot; import com.google.firebase.database.DatabaseError; import com.google.firebase.database.DatabaseReference; import com.google.firebase.database.FirebaseDatabase; import com.google.firebase.database.ValueEventListener; public class LoginActivity extends AppCompatActivity { EditText emailText, passwordText; FirebaseAuth mAuth; SQLiteDatabase db; boolean fromFragment; DatabaseReference firebaseDb; String societyObject; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_login); Intent intent = getIntent(); fromFragment = intent.getBooleanExtra("fromFrag", false); Log.d("Bpit", "fromFrag " + fromFragment); if (fromFragment) { societyObject = intent.getStringExtra("SocietyObject"); } emailText = (EditText) findViewById(R.id.email_edttxt); passwordText = (EditText) findViewById(R.id.password_edttxt); firebaseDb = FirebaseDatabase.getInstance().getReference(); mAuth = FirebaseAuth.getInstance(); SQLiteOpenHelper dbHelper = new DBHelper(LoginActivity.this); db = dbHelper.getWritableDatabase(); } public void attemptLogin(View view) { final String email = emailText.getText().toString() + "@bpit.com"; final String password = passwordText.getText().toString(); // final SharedPreferences sp = this.getSharedPreferences("com.mydarkappfactory.hudsoncafe", Context.MODE_PRIVATE); if (email.isEmpty() || password.isEmpty()) { Toast.makeText(LoginActivity.this, "Please enter your enrollment number and password", Toast.LENGTH_SHORT).show(); return; } else { Toast.makeText(this, "Login in progress...", Toast.LENGTH_SHORT).show(); } DatabaseReference emailObj = firebaseDb.child(FirebaseModel.Users.USERS).child(email.substring(0, email.indexOf('.'))); emailObj.addListenerForSingleValueEvent(new ValueEventListener() { @Override public void onDataChange(DataSnapshot dataSnapshot) { if (dataSnapshot.child("password").getValue(String.class).equals(password)) { ContentValues recordValues = new ContentValues(); recordValues.put("EMAIL", email); recordValues.put("PASSWORD", password); db.update("EMAIL_PASSWORD", recordValues, "_id = ?", new String[]{"1"}); firebaseDb.child(FirebaseModel.Users.USERS).child(email.substring(0, email.indexOf('.'))).child(FirebaseModel.Users.IS_FIRST_LOGIN).addListenerForSingleValueEvent(new ValueEventListener() { @Override public void onDataChange(DataSnapshot dataSnapshot) { try { boolean isFirstLogin = dataSnapshot.getValue(Boolean.class); if (dataSnapshot.getValue(Boolean.class) != null) { if (isFirstLogin) { Log.d("Bpit", "MainActivity logged in first time"); ContentValues recValues = new ContentValues(); recValues.put("ANSWER", 0); db.update("IS_LOGGED_IN", recValues, "_id = 1", null); Intent intent = new Intent(LoginActivity.this, FirstLoginActivity.class); startActivity(intent); finish(); } else { Log.d("Bpit", "MainActivity logged in multiple times"); ContentValues recValues = new ContentValues(); recValues.put("ANSWER", 1); db.update("IS_LOGGED_IN", recValues, "_id = 1", null); finish(); } } } catch (Exception e) { firebaseDb.child(FirebaseModel.Users.USERS).child(email.substring(0, email.indexOf('.'))).child(FirebaseModel.Users.IS_FIRST_LOGIN).setValue(true); Log.d("Bpit", "MainActivity logged in first time"); ContentValues recValues = new ContentValues(); recValues.put("ANSWER", 0); db.update("IS_LOGGED_IN", recValues, "_id = 1", null); Intent intent = new Intent(LoginActivity.this, FirstLoginActivity.class); startActivity(intent); finish(); } } @Override public void onCancelled(DatabaseError databaseError) { } }); } else { Toast.makeText(LoginActivity.this, "Enrollment number or password is incorrect", Toast.LENGTH_SHORT).show(); } } @Override public void onCancelled(DatabaseError databaseError) { } }); // mAuth.signInWithEmailAndPassword(email, password) // .addOnCompleteListener(LoginActivity.this, new OnCompleteListener<AuthResult>() { // @Override // public void onComplete(@NonNull Task<AuthResult> task) { // Log.d("Bpit", "Sign in status: " + task.isSuccessful()); // if (!task.isSuccessful()) { // Log.d("Bpit", task.getException().toString()); // } else { // // ContentValues recordValues = new ContentValues(); // recordValues.put("EMAIL", email); // recordValues.put("PASSWORD", password); // db.update("EMAIL_PASSWORD", recordValues, "_id = ?", new String[]{"1"}); // // firebaseDb.child(FirebaseModel.Users.USERS).child(email.substring(0, email.indexOf('.'))).child(FirebaseModel.Users.IS_FIRST_LOGIN).addListenerForSingleValueEvent(new ValueEventListener() { // @Override // public void onDataChange(DataSnapshot dataSnapshot) { // try { // boolean isFirstLogin = dataSnapshot.getValue(Boolean.class); // if (dataSnapshot.getValue(Boolean.class) != null) { // if (isFirstLogin) { // Log.d("Bpit", "MainActivity logged in first time"); // ContentValues recValues = new ContentValues(); // recValues.put("ANSWER", 0); // db.update("IS_LOGGED_IN", recValues, "_id = 1", null); // Intent intent = new Intent(LoginActivity.this, FirstLoginActivity.class); // startActivity(intent); // finish(); // } else { // Log.d("Bpit", "MainActivity logged in multiple times"); // ContentValues recValues = new ContentValues(); // recValues.put("ANSWER", 1); // db.update("IS_LOGGED_IN", recValues, "_id = 1", null); // finish(); // // } // } // } catch (Exception e) { // firebaseDb.child(FirebaseModel.Users.USERS).child(email.substring(0, email.indexOf('.'))).child(FirebaseModel.Users.IS_FIRST_LOGIN).setValue(true); // Log.d("Bpit", "MainActivity logged in first time"); // ContentValues recValues = new ContentValues(); // recValues.put("ANSWER", 0); // db.update("IS_LOGGED_IN", recValues, "_id = 1", null); // // Intent intent = new Intent(LoginActivity.this, FirstLoginActivity.class); // startActivity(intent); // finish(); // } // } // // @Override // public void onCancelled(DatabaseError databaseError) { // // } // }); // // } // } // }); } @Override protected void onDestroy() { db.close(); super.onDestroy(); } }
[ "mohitbabbar1219@gmail.com" ]
mohitbabbar1219@gmail.com
8037dfff5bf551335b00935d17d086a0cd6f5883
7852965856eb8dccc839cae9ba444dd1403f4196
/src/main/java/net/pterodactylus/util/number/Hex.java
e2c89fb451710f9df3950c876897a2a9bbb30997
[]
no_license
Bombe/utils
736ea9705cddbdd87813405e3b457d4232340241
34bdf5715414d1e69176e9e8044059849335dcc7
refs/heads/master
2021-01-19T01:10:38.194616
2019-11-29T09:04:11
2019-11-29T09:04:11
384,957
4
9
null
2020-10-13T09:51:36
2009-11-25T08:19:10
Java
UTF-8
Java
false
false
7,084
java
/* * utils - Hex.java - Copyright © 2006–2019 David Roden * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program 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 General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ package net.pterodactylus.util.number; /** * Contains methods to convert byte arrays to hex strings and vice versa. * * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a> */ public class Hex { /** * Converts the given string to a hexadecimal string. * * @param buffer * The string to convert * @return A hexadecimal string * @see #toHex(byte[], int, int) */ public static String toHex(String buffer) { return toHex(buffer.getBytes()); } /** * Converts the given buffer to a hexadecimal string. * * @param buffer * The buffer to convert * @return A hexadecimal string * @see #toHex(byte[], int, int) */ public static String toHex(byte[] buffer) { return toHex(buffer, 0, buffer.length); } /** * Converts <code>length</code> bytes of the given buffer starting at index * <code>start</code> to a hexadecimal string. * * @param buffer * The buffer to convert * @param start * The index to start * @param length * The length to convert * @return A hexadecimal string * @throws ArrayIndexOutOfBoundsException * if <code>start</code> and/or <code>start + length</code> are * outside the valid bounds of <code>buffer</code> * @see #toHex(byte[], int, int) */ public static String toHex(byte[] buffer, int start, int length) { return toHex(buffer, start, length, false); } /** * Converts the given string to a hexadecimal string, using upper-case * characters for the digits &lsquo;a&rsquo; to &lsquo;f&rsquo;, if desired. * * @param buffer * The string to convert * @param upperCase * if the digits 'a' to 'f' should be in upper-case characters * @return A hexadecimal string * @see #toHex(byte[], int, int, boolean) */ public static String toHex(String buffer, boolean upperCase) { return toHex(buffer.getBytes(), upperCase); } /** * Converts the given buffer to a hexadecimal string, using upper-case * characters for the digits &lsquo;a&rsquo; to &lsquo;f&rsquo;, if desired. * * @param buffer * The buffer to convert * @param upperCase * if the digits 'a' to 'f' should be in upper-case characters * @return A hexadecimal string * @see #toHex(byte[], int, int) */ public static String toHex(byte[] buffer, boolean upperCase) { return toHex(buffer, 0, buffer.length, upperCase); } /** * Converts <code>length</code> bytes of the given buffer starting at index * <code>start</code> to a hexadecimal string, using upper-case characters * for the digits &lsquo;a&rsquo; to &lsquo;f&rsquo;, if desired. * * @param buffer * The buffer to convert * @param start * The index to start * @param length * The length to convert * @param upperCase * if the digits 'a' to 'f' should be in upper-case characters * @return A hexadecimal string * @throws ArrayIndexOutOfBoundsException * if <code>start</code> and/or <code>start + length</code> are * outside the valid bounds of <code>buffer</code> * @see #toHex(byte[], int, int) */ public static String toHex(byte[] buffer, int start, int length, boolean upperCase) { StringBuilder hexBuffer = new StringBuilder(length * 2); for (int index = start; index < length; index++) { String hexByte = Integer.toHexString(buffer[index] & 0xff); if (upperCase) { hexByte = hexByte.toUpperCase(); } if (hexByte.length() < 2) { hexBuffer.append('0'); } hexBuffer.append(hexByte); } return hexBuffer.toString(); } /** * Formats the given byte as a 2-digit hexadecimal value. * * @param value * The byte to encode * @return The encoded 2-digit hexadecimal value */ public static String toHex(byte value) { return toHex(value, 2); } /** * Formats the given shoirt as a 4-digit hexadecimal value. * * @param value * The short to encode * @return The encoded 4-digit hexadecimal value */ public static String toHex(short value) { return toHex(value, 4); } /** * Formats the given int as a 8-digit hexadecimal value. * * @param value * The int to encode * @return The encoded 8-digit hexadecimal value */ public static String toHex(int value) { return toHex(value, 8); } /** * Formats the given int as a 16-digit hexadecimal value. * * @param value * The long to encode * @return The encoded 16-digit hexadecimal value */ public static String toHex(long value) { return toHex(value, 16); } /** * Formats the given value with as a hexadecimal number with at least the * specified number of digits. The value will be padded with zeroes if it is * shorter than <code>digits</code>. * * @param value * The value to encode * @param digits * The minimum number of digits * @return The zero-padded hexadecimal value */ public static String toHex(long value, int digits) { String hexValue = Long.toHexString(value); if (hexValue.length() > digits) { hexValue = hexValue.substring(hexValue.length() - digits, hexValue.length()); } while (hexValue.length() < digits) { hexValue = "0" + hexValue; } return hexValue; } /** * Decodes a hexadecimal string into a byte array. The given string is first * cleaned by removing all characters that are not hexadecimal digits. * * @param hexString * The hexadecimal representation to decode * @return The decoded byte array * @see Integer#parseInt(java.lang.String, int) */ public static byte[] toByte(String hexString) { /* remove all characters that are not hexadecimal digits. */ String cleanedHexString = hexString.replaceAll("[^0-9A-Fa-f]", ""); if ((cleanedHexString.length() & 0x01) == 0x01) { /* odd length, this is not correct. */ throw new IllegalArgumentException("hex string must have even length."); } byte[] dataBytes = new byte[cleanedHexString.length() / 2]; for (int stringIndex = 0; stringIndex < cleanedHexString.length(); stringIndex += 2) { String hexNumber = cleanedHexString.substring(stringIndex, stringIndex + 2); byte dataByte = (byte) Integer.parseInt(hexNumber, 16); dataBytes[stringIndex / 2] = dataByte; } return dataBytes; } }
[ "bombe@pterodactylus.net" ]
bombe@pterodactylus.net
4c86844e6c6bfc133c4c41e9a9e8b0a35278b26d
4064f32d8ccf6a140e32338aabeea003cc5b66c2
/Tic Tac Toe without AI/src/PositionProtocol.java
b29ae1cf0fdc218355d6f1074895435f9357d16f
[]
no_license
ekremerakin/TicTacToe
acc1395003d181cfd8b243d9493db5351ec0af61
24b85f9306a847be5313b9b73b682117f2c497a2
refs/heads/master
2021-01-19T12:23:59.905705
2017-08-19T09:02:24
2017-08-19T09:02:24
100,782,672
0
0
null
null
null
null
UTF-8
Java
false
false
4,375
java
import java.awt.Graphics2D; import java.awt.Point; import java.util.ArrayList; /* * PositionProtocol holds the data in an array.All the gui * components displays in order to that array. * * Also, this class includes the collision detection methods. */ public class PositionProtocol { /* * Holds static turn variable . */ private static int turn = 0; /* * Holds positions for all the users. * 1 for X * 2 for O * 0 for empty area. */ private int[][] positions = new int[][] { {0, 0, 0}, {0, 0, 0}, {0, 0, 0}, }; /* * Holds all the coordinates. When an input comes to * newPosition method in this class, this ArrayList * converts that input to a Point object. */ private ArrayList<Point> coordinates = new ArrayList<>(); /* * Constructor. */ public PositionProtocol(GamePanel gamePanel) { initializeCoordinates(); } /* * Filling the coordinates ArrayList with Point objects. */ private void initializeCoordinates() { coordinates.add(new Point(66, 66)); //1 coordinates.add(new Point(199, 66)); //2 coordinates.add(new Point(333, 66)); //3 coordinates.add(new Point(66, 199)); //4 coordinates.add(new Point(199, 199)); //5 coordinates.add(new Point(333, 199)); //6 coordinates.add(new Point(66, 333)); //7 coordinates.add(new Point(199, 333)); //8 coordinates.add(new Point(333, 333)); //9 } /* * This method takes selectedPosition as a parameter and * converts it to a Point object if the input is a valid number. */ protected Point newPosition(int selectedPosition) { if(selectedPosition<1) return null; selectedPosition--; int x = coordinates.get(selectedPosition).x; int y = coordinates.get(selectedPosition).y; if((turn+1)%2 == 1) { if(positions[x/160][y/160] == 0) { positions[x/160][y/160] = 1; turn++; } else return null; }else { if(positions[x/160][y/160] == 0) { positions[x/160][y/160] = 2; turn++; } else return null; } printPositionsArray(); return new Point(x, y); } /* * This method was written for debugging. */ private void printPositionsArray() { for(int i=0;i<3;i++) { for(int j=0;j<3;j++) { System.out.print(positions[j][i] + " "); } System.out.println(""); } System.out.println("------"); } /* * Resets the turn integer and positions array to * start a new game. */ protected void newGame() { turn = 0; positions = new int[][] { {0, 0, 0}, {0, 0, 0}, {0, 0, 0}, }; } /* * This method uses the positions array and display all the variables * inside it. */ protected void displayStoredPieces(Graphics2D graphics2d) { DrawHandler drawHandler = new DrawHandler(); int count = 0; for(int i=0;i<3;i++) { for(int j=0;j<3;j++) { if(positions[j][i] == 1) drawHandler.drawX(graphics2d, coordinates.get(count).x, coordinates.get(count).y); else if(positions[j][i] == 2) drawHandler.drawO(graphics2d, coordinates.get(count).x, coordinates.get(count).y); count++; } } } /* * Checking the collision for vertical, horizontal and cross * sections. * X_OR_O is a parameter that represents for which piece we are * checking the collision. 1 for X and 2 for O. */ protected boolean collisionDetection(int X_OR_O) { int count = 0; /* * Vertical collision */ for(int i=0;i<3;i++) { count = 0; for(int j=0;j<3;j++) { if(positions[j][i] == X_OR_O) count++; } if(count == 3) return true; } /* * Horizontal collision */ for(int i=0;i<3;i++) { count = 0; for(int j=0;j<3;j++) { if(positions[i][j] == X_OR_O) count++; } if(count == 3) return true; } /* * Cross collision */ if( positions[0][0] == X_OR_O && positions[1][1] == X_OR_O && positions[2][2] == X_OR_O) return true; if( positions[2][0] == X_OR_O && positions[1][1] == X_OR_O && positions[0][2] == X_OR_O) return true; return false; } /* * Encapsulated variables. */ protected int getTurn() { return turn; } protected int[][] getPositions() { return positions; } }
[ "noreply@github.com" ]
ekremerakin.noreply@github.com
c080b40d6fc6045a544911cb3646fea4da695a1b
de544fde781ff16fd1235b661e003ab3a97e9672
/src/main/java/br/com/b2w/apistar/models/PlanetaResponse.java
c95481e7c66dfc034967026c07ace28f93982242
[]
no_license
jessicanmoraes/provaB2W
555c849325ba2bc615f31aff4ed375a039f4f08d
b680dcd5e506b60bea2fa51054d37e7c979cbfa5
refs/heads/master
2020-05-25T18:16:34.126644
2019-05-22T00:50:23
2019-05-22T00:50:23
187,926,512
0
0
null
null
null
null
UTF-8
Java
false
false
478
java
package br.com.b2w.apistar.models; import lombok.Data; import lombok.NoArgsConstructor; @Data @NoArgsConstructor public class PlanetaResponse { private String id; private String nome; private String clima; private String terreno; private int aparicoes; public PlanetaResponse(String id, String nome, String clima, String terreno, int aparicoes) { this.id = id; this.nome = nome; this.clima = clima; this.terreno = terreno; this.aparicoes = aparicoes; } }
[ "jnm1009@gmail.com" ]
jnm1009@gmail.com
38f28c0b6843f05fd791883a64fd7f91851e321d
54f09d5fc12bc6c489010b3c090afcebbae9e1ff
/app/src/main/java/com/innoxyz/InnoXYZAndroid/ui/fragments/project/ProjectHome.java
cb01ac6126c88bc6a6affbac54c7ac48ddcfb1e7
[]
no_license
luxudong/test01
c2ad57ab1aeda05f891096a5f3363ac79e1e033f
725f2e520cff40236b68b80bdffd3fea912b37d8
refs/heads/master
2021-01-19T06:31:41.316254
2014-07-07T04:50:14
2014-07-07T04:50:14
null
0
0
null
null
null
null
UTF-8
Java
false
false
9,077
java
package com.innoxyz.InnoXYZAndroid.ui.fragments.project; import android.app.Activity; import android.app.AlertDialog; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import com.innoxyz.InnoXYZAndroid.R; import com.innoxyz.InnoXYZAndroid.data.remote.AddressURIs; import com.innoxyz.InnoXYZAndroid.data.remote.StringRequestBuilder; import com.innoxyz.InnoXYZAndroid.data.remote.response.JsonResponseHandler; import com.innoxyz.InnoXYZAndroid.data.runtime.SimpleObservedData; import com.innoxyz.InnoXYZAndroid.data.runtime.beans.ParcelableUser; import com.innoxyz.InnoXYZAndroid.data.runtime.beans.project.MembersOfProj; import com.innoxyz.InnoXYZAndroid.data.runtime.interfaces.IDataObserver; import com.innoxyz.InnoXYZAndroid.global.InnoXYZApp; import com.innoxyz.InnoXYZAndroid.ui.activities.NewActivity; import com.innoxyz.InnoXYZAndroid.ui.commands.ActivityCommand; import com.innoxyz.InnoXYZAndroid.ui.commands.FragmentCommand; import com.innoxyz.InnoXYZAndroid.ui.fragments.announcement.AnnouncementNew; import com.innoxyz.InnoXYZAndroid.ui.fragments.announcement.ProjectAnnouncementList; import com.innoxyz.InnoXYZAndroid.ui.fragments.common.BaseFragment; import com.innoxyz.InnoXYZAndroid.ui.fragments.document.DocumentList; import com.innoxyz.InnoXYZAndroid.ui.fragments.task.ProjectTaskList; import com.innoxyz.InnoXYZAndroid.ui.fragments.topic.ProjectTopicList; import java.util.ArrayList; import java.util.List; /** * Created with IntelliJ IDEA. * User: InnoXYZ * Date: 13-8-1 * Time: 上午11:59 * To change this template use File | Settings | File Templates. */ public class ProjectHome extends BaseFragment { private int projectId; SimpleObservedData<MembersOfProj> membersOfProj; List<ParcelableUser> memberList = new ArrayList<ParcelableUser>(); private int projectCreatorId; private class Item { int srcId; int textId; Class<? extends BaseFragment> linkClass; public Item(int srcId, int textId, Class<? extends BaseFragment> linkClass) { this.srcId = srcId; this.textId = textId; this.linkClass = linkClass; } public View createView(LayoutInflater inflater, int resId, ViewGroup container) { View ret = inflater.inflate(resId, container, false); ((ImageView)ret.findViewById(R.id.projhome_button_imageView)).setImageResource(srcId); ((TextView)ret.findViewById(R.id.projhome_button_textView)).setText(textId); ret.setTag(R.id.item_id, this); container.addView(ret); return ret; } } // final private Item[] hItems = new Item[]{ // new Item(R.drawable.icon_tasklist, R.string.menu_projecthome_newtask, TaskNew.class), // new Item(R.drawable.icon_discusslist, R.string.menu_projecthome_newdiscussion, TopicNew.class), // new Item(R.drawable.icon_announcementlist, R.string.menu_projecthome_newannouncement, AnnouncementNew.class), // new Item(R.drawable.icon_documentlist,R.string.menu_projecthome_newdocument,null) // }; final private Item[] vItems = new Item[]{ new Item(R.drawable.icon_tasklist, R.string.menu_projecthome_tasklist, ProjectTaskList.class), new Item(R.drawable.icon_discusslist, R.string.menu_projecthome_discussionlist, ProjectTopicList.class), new Item(R.drawable.icon_documentlist, R.string.menu_projecthome_documentlist, DocumentList.class), new Item(R.drawable.icon_announcementlist, R.string.menu_projecthome_announcementlist, ProjectAnnouncementList.class), //new Item(R.drawable.icon_date, R.string.menu_projecthome_date, null), }; @Override public void onAttach(Activity activity) { super.onAttach(activity); //To change body of overridden methods use File | Settings | File Templates. projectId = getArguments().getInt("projectId"); //getActivity().getActionBar().setTitle(R.string.title_project_home); } @Override public void onResume(){ super.onResume(); getActivity().getActionBar().setTitle(R.string.title_project_home); } @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); membersOfProj = new SimpleObservedData<MembersOfProj>(new MembersOfProj()); membersOfProj.registerObserver(new IDataObserver() { @Override public void update(Object o) { //memberList = Arrays.asList(membersOfProj.getData().members); for(int i=0;i<membersOfProj.getData().members.length;i++){ ParcelableUser parcelableUser = new ParcelableUser(); parcelableUser.setId(membersOfProj.getData().members[i].user.id); parcelableUser.setName(membersOfProj.getData().members[i].user.realname); if(membersOfProj.getData().members[i].role.name.equals("CREATOR")){ projectCreatorId = membersOfProj.getData().members[i].user.id; } memberList.add(i,parcelableUser); } // for(int i=0;i<memberList.size();i++){ // Log.e("aaaaaa",memberList.get(i).user.id+" "+memberList.get(i).user.realname); // } } }); new StringRequestBuilder(getActivity()).setRequestInfo(AddressURIs.GET_MEMBER_OF_PROJECT) .addParameter("thingId", "" + projectId) .addParameter("pageSize", "100") .setOnResponseListener(new JsonResponseHandler(membersOfProj, MembersOfProj.class, null)) .request(); } @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { super.onCreateView(inflater, container, savedInstanceState); //To change body of overridden methods use File | Settings | File Templates. View ret = inflater.inflate(R.layout.project_home, container, false); View.OnClickListener vItemsclickListener = new View.OnClickListener() { @Override public void onClick(View view) { Item item = (Item) view.getTag(R.id.item_id); if ( item.linkClass != null ) { Bundle bundle = new Bundle(); bundle.putAll(getArguments()); bundle.putInt("projectId", projectId); bundle.putInt("projectCreatorId",projectCreatorId); if(memberList != null){ ArrayList list = new ArrayList(); list.add(memberList); bundle.putParcelableArrayList("memberList",list); } new FragmentCommand(ProjectHome.class, item.linkClass, ProjectHome.this.getActivity(), bundle, null).Execute(); } } }; //open new items in new activity View.OnClickListener hItemsclickListener = new View.OnClickListener() { @Override public void onClick(View view) { Item item = (Item) view.getTag(R.id.item_id); if ( item.linkClass != null ) { Bundle bundle = new Bundle(); bundle.putAll(getArguments()); bundle.putInt("projectId", projectId); if(memberList != null){ ArrayList list = new ArrayList(); list.add(memberList); bundle.putParcelableArrayList("memberList",list); } //new FragmentCommand(ProjectHome.class, item.linkClass, ProjectHome.this.getActivity(), bundle, null).Execute(); if(item.linkClass == AnnouncementNew.class && projectCreatorId != InnoXYZApp.getApplication().getCurrentUserId()){ new AlertDialog.Builder(getActivity()) .setMessage(getString(R.string.announcement_new_warning)) .setPositiveButton(getString(R.string.OK), null) .show(); } else{ new ActivityCommand(NewActivity.class, item.linkClass, ProjectHome.this.getActivity(), bundle, null).Execute(); } } } }; // for(Item item : hItems) { // item.createView(inflater, R.layout.fragment_imagebutton_projecthome, (ViewGroup)ret.findViewById(R.id.projecthome_horizontal)).setOnClickListener(hItemsclickListener); // } for(Item item : vItems) { item.createView(inflater, R.layout.fragment_listbutton_projecthome, (ViewGroup)ret.findViewById(R.id.projecthome_vertical)).setOnClickListener(vItemsclickListener); } return ret; } }
[ "lish516@126.com" ]
lish516@126.com
4d2afd52af79532ce36206bfa3389e905840bf9b
26cd87f1294c5920b72334458e1f5cf790349262
/src/test/java/com/FreeCRM/Runner/loginRunner.java
d06822805494c100621011ee934d9e12770ece05
[]
no_license
roshanr1986/QAProjects
013884c83e94e5fa6b4338a818d28e325cf8e2e0
0b3a49fa6ac77f2b0e8b827d65192127f64947b2
refs/heads/master
2020-03-24T08:38:45.958621
2018-10-06T18:03:41
2018-10-06T18:03:41
142,602,610
0
0
null
null
null
null
UTF-8
Java
false
false
1,505
java
package com.FreeCRM.Runner; import cucumber.api.CucumberOptions; import cucumber.api.testng.AbstractTestNGCucumberTests; import cucumber.api.testng.CucumberFeatureWrapper; import cucumber.api.testng.TestNGCucumberRunner; import org.testng.annotations.AfterClass; import org.testng.annotations.BeforeClass; import org.testng.annotations.DataProvider; import org.testng.annotations.Test; @CucumberOptions(features = {"src/test/java/com/FreeCRM/Features"}, glue = {"helpers","com/FreeCRM/Steps"}, format = {"pretty","html:src/test/java/com/FreeCRM/testResults"} ) public class loginRunner extends AbstractTestNGCucumberTests { private TestNGCucumberRunner testNGCucumberRunner; @BeforeClass(alwaysRun = true) public void setUpClass() throws Exception { testNGCucumberRunner = new TestNGCucumberRunner(this.getClass()); System.out.println("======== Executing Before Class ======="); } @Test(groups = "cucumber", description = "Runs Cucumber Feature", dataProvider = "features") public void feature(CucumberFeatureWrapper cucumberFeature) { testNGCucumberRunner.runCucumber(cucumberFeature.getCucumberFeature()); } @DataProvider public Object[][] features() { return testNGCucumberRunner.provideFeatures(); } @AfterClass(alwaysRun = true) public void tearDownClass() throws Exception { System.out.println("======== Executing After class ========"); testNGCucumberRunner.finish(); } }
[ "tripalr1986@gmail.com" ]
tripalr1986@gmail.com
e5e812b333c574d7c718521c7827dc656657557c
4ec6bad37073a7b1695735045859b7030b8650c0
/src/ch02_val/OperatorTest.java
a527c27f1d42b519a1e263b6515498af0cda0d0f
[]
no_license
eliemiz/JavaPro
f9082ff1af68ea4e32dbef9a0cdcc0325d6025b2
3b2f58b5eb74ee055507d7307cf7e47e5e617e6d
refs/heads/main
2023-01-29T21:20:54.676855
2020-12-04T08:35:37
2020-12-04T08:35:37
315,515,565
0
0
null
null
null
null
UTF-8
Java
false
false
98
java
package ch02_val; public class OperatorTest { public static void main(String[] args) { } }
[ "genofreedomi@naver.com" ]
genofreedomi@naver.com
6823e43c547dbfe0ec0cba9c10f8726fd7e7e636
4627d514d6664526f58fbe3cac830a54679749cd
/results/randoop5/time-org.joda.time.chrono.GJChronology-17/RegressionTest3.java
f450b88c6e7c7081b39ebd1f0f288b5977670dd9
[]
no_license
STAMP-project/Cling-application
c624175a4aa24bb9b29b53f9b84c42a0f18631bd
0ff4d7652b434cbfd9be8d8bb38cfc8d8eaa51b5
refs/heads/master
2022-07-27T09:30:16.423362
2022-07-19T12:01:46
2022-07-19T12:01:46
254,310,667
2
2
null
2021-07-12T12:29:50
2020-04-09T08:11:35
null
UTF-8
Java
false
false
1,214,186
java
import org.junit.FixMethodOrder; import org.junit.Test; import org.junit.Ignore; import org.junit.runners.MethodSorters; @FixMethodOrder(MethodSorters.NAME_ASCENDING) public class RegressionTest3 { public static boolean debug = false; @Test public void test1501() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1501"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.Instant instant7 = gJChronology3.getGregorianCutover(); org.joda.time.DurationField durationField8 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.year(); org.joda.time.DurationField durationField10 = gJChronology3.minutes(); org.joda.time.DurationField durationField11 = gJChronology3.minutes(); org.joda.time.DurationField durationField12 = gJChronology3.minutes(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(instant7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertNotNull(durationField11); org.junit.Assert.assertNotNull(durationField12); } @Test @Ignore public void test1502() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1502"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.chrono.GJChronology gJChronology10 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone7, 1665L, (int) (short) 1); org.joda.time.Instant instant11 = gJChronology10.getGregorianCutover(); long long17 = gJChronology10.getDateTimeMillis((long) '#', 0, 1, 1, (int) ' '); org.joda.time.DurationField durationField18 = gJChronology10.days(); // The following exception was thrown during execution in test generation try { long long24 = gJChronology10.getDateTimeMillis((long) 0, 0, (int) (short) -1, (int) (byte) 100, (int) (short) 100); org.junit.Assert.fail("Expected exception of type org.joda.time.IllegalFieldValueException; message: Value -1 for minuteOfHour must be in the range [0,59]"); } catch (org.joda.time.IllegalFieldValueException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology10); org.junit.Assert.assertNotNull(instant11); org.junit.Assert.assertTrue("'" + long17 + "' != '" + 61032L + "'", long17 == 61032L); org.junit.Assert.assertNotNull(durationField18); } @Test @Ignore public void test1503() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1503"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.yearOfEra(); org.joda.time.DurationField durationField19 = gJChronology3.weeks(); org.joda.time.DurationField durationField20 = gJChronology3.days(); java.lang.Class<?> wildcardClass21 = gJChronology3.getClass(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(durationField19); org.junit.Assert.assertNotNull(durationField20); org.junit.Assert.assertNotNull(wildcardClass21); } @Test @Ignore public void test1504() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1504"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.dayOfYear(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.monthOfYear(); org.joda.time.DurationField durationField11 = gJChronology3.seconds(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.year(); org.joda.time.chrono.GJChronology gJChronology13 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField14 = gJChronology13.minuteOfHour(); org.joda.time.DurationField durationField15 = gJChronology13.months(); org.joda.time.DateTimeZone dateTimeZone16 = null; org.joda.time.ReadableInstant readableInstant17 = null; org.joda.time.chrono.GJChronology gJChronology19 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone16, readableInstant17, (int) (short) 1); org.joda.time.DateTimeField dateTimeField20 = gJChronology19.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod21 = null; long long24 = gJChronology19.add(readablePeriod21, (long) (short) 1, (int) (byte) -1); long long29 = gJChronology19.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField30 = gJChronology19.seconds(); org.joda.time.DateTimeZone dateTimeZone31 = null; org.joda.time.ReadableInstant readableInstant32 = null; org.joda.time.chrono.GJChronology gJChronology34 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone31, readableInstant32, (int) (short) 1); boolean boolean36 = gJChronology34.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField37 = gJChronology34.year(); org.joda.time.DateTimeZone dateTimeZone38 = gJChronology34.getZone(); org.joda.time.DateTimeField dateTimeField39 = gJChronology34.minuteOfDay(); org.joda.time.DateTimeZone dateTimeZone40 = gJChronology34.getZone(); org.joda.time.Chronology chronology41 = gJChronology19.withZone(dateTimeZone40); org.joda.time.Chronology chronology42 = gJChronology13.withZone(dateTimeZone40); org.joda.time.chrono.GJChronology gJChronology43 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField44 = gJChronology43.weeks(); org.joda.time.DateTimeField dateTimeField45 = gJChronology43.clockhourOfHalfday(); org.joda.time.DateTimeField dateTimeField46 = gJChronology43.hourOfDay(); org.joda.time.DateTimeZone dateTimeZone47 = gJChronology43.getZone(); org.joda.time.chrono.GJChronology gJChronology48 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone47); org.joda.time.DateTimeZone dateTimeZone49 = null; org.joda.time.ReadableInstant readableInstant50 = null; org.joda.time.chrono.GJChronology gJChronology52 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone49, readableInstant50, (int) (short) 1); boolean boolean54 = gJChronology52.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField55 = gJChronology52.year(); org.joda.time.Instant instant56 = gJChronology52.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology57 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone47, (org.joda.time.ReadableInstant) instant56); org.joda.time.chrono.GJChronology gJChronology58 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone40, (org.joda.time.ReadableInstant) instant56); org.joda.time.DateTimeZone dateTimeZone59 = null; org.joda.time.DateTimeZone dateTimeZone60 = null; org.joda.time.ReadableInstant readableInstant61 = null; org.joda.time.chrono.GJChronology gJChronology63 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone60, readableInstant61, (int) (short) 1); boolean boolean65 = gJChronology63.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField66 = gJChronology63.year(); org.joda.time.DateTimeZone dateTimeZone67 = gJChronology63.getZone(); org.joda.time.DateTimeZone dateTimeZone68 = null; org.joda.time.ReadableInstant readableInstant69 = null; org.joda.time.chrono.GJChronology gJChronology71 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone68, readableInstant69, (int) (short) 1); boolean boolean73 = gJChronology71.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField74 = gJChronology71.year(); org.joda.time.Instant instant75 = gJChronology71.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology77 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone67, (org.joda.time.ReadableInstant) instant75, (int) (byte) 1); org.joda.time.chrono.GJChronology gJChronology78 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone59, (org.joda.time.ReadableInstant) instant75); org.joda.time.chrono.GJChronology gJChronology79 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone40, (org.joda.time.ReadableInstant) instant75); org.joda.time.Chronology chronology80 = gJChronology3.withZone(dateTimeZone40); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(durationField11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(gJChronology13); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(gJChronology19); org.junit.Assert.assertNotNull(dateTimeField20); org.junit.Assert.assertTrue("'" + long24 + "' != '" + 1L + "'", long24 == 1L); org.junit.Assert.assertTrue("'" + long29 + "' != '" + (-61062076799990L) + "'", long29 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField30); org.junit.Assert.assertNotNull(gJChronology34); org.junit.Assert.assertTrue("'" + boolean36 + "' != '" + false + "'", boolean36 == false); org.junit.Assert.assertNotNull(dateTimeField37); org.junit.Assert.assertNotNull(dateTimeZone38); org.junit.Assert.assertNotNull(dateTimeField39); org.junit.Assert.assertNotNull(dateTimeZone40); org.junit.Assert.assertNotNull(chronology41); org.junit.Assert.assertNotNull(chronology42); org.junit.Assert.assertNotNull(gJChronology43); org.junit.Assert.assertNotNull(durationField44); org.junit.Assert.assertNotNull(dateTimeField45); org.junit.Assert.assertNotNull(dateTimeField46); org.junit.Assert.assertNotNull(dateTimeZone47); org.junit.Assert.assertNotNull(gJChronology48); org.junit.Assert.assertNotNull(gJChronology52); org.junit.Assert.assertTrue("'" + boolean54 + "' != '" + false + "'", boolean54 == false); org.junit.Assert.assertNotNull(dateTimeField55); org.junit.Assert.assertNotNull(instant56); org.junit.Assert.assertNotNull(gJChronology57); org.junit.Assert.assertNotNull(gJChronology58); org.junit.Assert.assertNotNull(gJChronology63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(dateTimeField66); org.junit.Assert.assertNotNull(dateTimeZone67); org.junit.Assert.assertNotNull(gJChronology71); org.junit.Assert.assertTrue("'" + boolean73 + "' != '" + false + "'", boolean73 == false); org.junit.Assert.assertNotNull(dateTimeField74); org.junit.Assert.assertNotNull(instant75); org.junit.Assert.assertNotNull(gJChronology77); org.junit.Assert.assertNotNull(gJChronology78); org.junit.Assert.assertNotNull(gJChronology79); org.junit.Assert.assertNotNull(chronology80); } @Test @Ignore public void test1505() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1505"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.weekyear(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.minuteOfHour(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.minuteOfDay(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.weekyear(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(dateTimeField19); } @Test @Ignore public void test1506() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1506"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DurationField durationField15 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.weekyear(); org.joda.time.DurationField durationField17 = gJChronology3.weekyears(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.weekyearOfCentury(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(durationField17); org.junit.Assert.assertNotNull(dateTimeField18); } @Test @Ignore public void test1507() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1507"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DateTimeField dateTimeField14 = gJChronology3.minuteOfDay(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.yearOfCentury(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.centuryOfEra(); org.joda.time.ReadablePeriod readablePeriod18 = null; // The following exception was thrown during execution in test generation try { int[] intArray21 = gJChronology3.get(readablePeriod18, (long) '4', (-51L)); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); } @Test @Ignore public void test1508() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1508"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.millisOfDay(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.secondOfMinute(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.centuryOfEra(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField20 = gJChronology3.centuries(); java.lang.String str21 = gJChronology3.toString(); org.joda.time.Chronology chronology22 = gJChronology3.withUTC(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(durationField20); org.junit.Assert.assertEquals("'" + str21 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str21, "GJChronology[Etc/UTC,mdfw=1]"); org.junit.Assert.assertNotNull(chronology22); } @Test public void test1509() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1509"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.dayOfWeek(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); org.joda.time.DateTimeField dateTimeField12 = gJChronology11.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField13 = gJChronology11.year(); org.joda.time.DurationField durationField14 = gJChronology11.centuries(); org.joda.time.DateTimeField dateTimeField15 = gJChronology11.dayOfMonth(); boolean boolean16 = gJChronology3.equals((java.lang.Object) dateTimeField15); org.joda.time.DurationField durationField17 = gJChronology3.months(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.weekyear(); org.joda.time.DateTimeField dateTimeField20 = gJChronology3.halfdayOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertNotNull(durationField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(dateTimeField20); } @Test public void test1510() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1510"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.Instant instant7 = gJChronology3.getGregorianCutover(); org.joda.time.DurationField durationField8 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.year(); org.joda.time.DurationField durationField10 = gJChronology3.seconds(); org.joda.time.ReadablePartial readablePartial11 = null; int[] intArray13 = new int[] { (byte) 0 }; // The following exception was thrown during execution in test generation try { gJChronology3.validate(readablePartial11, intArray13); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(instant7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertNotNull(intArray13); org.junit.Assert.assertEquals(java.util.Arrays.toString(intArray13), "[0]"); } @Test public void test1511() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1511"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.era(); org.joda.time.DurationField durationField6 = gJChronology3.days(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.minuteOfHour(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.monthOfYear(); org.joda.time.DurationField durationField9 = gJChronology3.weekyears(); org.joda.time.DateTimeZone dateTimeZone10 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.minuteOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(durationField9); org.junit.Assert.assertNotNull(dateTimeZone10); org.junit.Assert.assertNotNull(dateTimeField11); } @Test public void test1512() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1512"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.year(); org.joda.time.DurationField durationField6 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.dayOfMonth(); org.joda.time.DurationField durationField8 = gJChronology3.weeks(); org.joda.time.DurationField durationField9 = gJChronology3.months(); org.joda.time.ReadablePeriod readablePeriod10 = null; long long13 = gJChronology3.add(readablePeriod10, (-857467805L), (int) 'a'); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(durationField9); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-857467805L) + "'", long13 == (-857467805L)); } @Test public void test1513() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1513"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField1 = gJChronology0.weeks(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.clockhourOfHalfday(); org.joda.time.DateTimeField dateTimeField3 = gJChronology0.era(); org.joda.time.DateTimeField dateTimeField4 = gJChronology0.year(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(durationField1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertNotNull(dateTimeField3); org.junit.Assert.assertNotNull(dateTimeField4); } @Test public void test1514() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1514"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); boolean boolean13 = gJChronology11.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField14 = gJChronology11.year(); org.joda.time.Instant instant15 = gJChronology11.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology16 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone7, (org.joda.time.ReadableInstant) instant15); org.joda.time.DateTimeField dateTimeField17 = gJChronology16.hourOfDay(); org.joda.time.DurationField durationField18 = gJChronology16.months(); org.joda.time.DateTimeField dateTimeField19 = gJChronology16.dayOfMonth(); org.joda.time.DateTimeField dateTimeField20 = gJChronology16.minuteOfHour(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertTrue("'" + boolean13 + "' != '" + false + "'", boolean13 == false); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(instant15); org.junit.Assert.assertNotNull(gJChronology16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(dateTimeField20); } @Test public void test1515() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1515"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); int int7 = gJChronology3.getMinimumDaysInFirstWeek(); // The following exception was thrown during execution in test generation try { long long13 = gJChronology3.getDateTimeMillis((long) (short) 100, (int) (short) -1, 0, 0, (int) (short) 100); org.junit.Assert.fail("Expected exception of type org.joda.time.IllegalFieldValueException; message: Value -1 for hourOfDay must be in the range [0,23]"); } catch (org.joda.time.IllegalFieldValueException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertTrue("'" + int7 + "' != '" + 1 + "'", int7 == 1); } @Test @Ignore public void test1516() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1516"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.dayOfWeek(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.yearOfCentury(); java.lang.String str17 = gJChronology3.toString(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.centuryOfEra(); org.joda.time.DurationField durationField19 = gJChronology3.days(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertEquals("'" + str17 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str17, "GJChronology[Etc/UTC,mdfw=1]"); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(durationField19); } @Test @Ignore public void test1517() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1517"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DateTimeField dateTimeField14 = gJChronology3.secondOfMinute(); org.joda.time.DurationField durationField15 = gJChronology3.minutes(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.hourOfDay(); long long20 = gJChronology3.add((-49798848L), (-49798848L), 4); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertTrue("'" + long20 + "' != '" + (-248994240L) + "'", long20 == (-248994240L)); } @Test public void test1518() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1518"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.centuryOfEra(); org.joda.time.DurationField durationField7 = gJChronology3.centuries(); org.joda.time.DateTimeZone dateTimeZone8 = gJChronology3.getZone(); org.joda.time.DurationField durationField9 = gJChronology3.millis(); org.joda.time.DurationField durationField10 = gJChronology3.minutes(); long long14 = gJChronology3.add((long) '4', 0L, (int) (byte) 0); org.joda.time.DateTimeZone dateTimeZone15 = null; org.joda.time.ReadableInstant readableInstant16 = null; org.joda.time.chrono.GJChronology gJChronology18 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone15, readableInstant16, (int) (short) 1); org.joda.time.DateTimeField dateTimeField19 = gJChronology18.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod20 = null; long long23 = gJChronology18.add(readablePeriod20, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeZone dateTimeZone24 = gJChronology18.getZone(); org.joda.time.ReadableInstant readableInstant25 = null; org.joda.time.chrono.GJChronology gJChronology26 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone24, readableInstant25); org.joda.time.DateTimeZone dateTimeZone27 = null; org.joda.time.ReadableInstant readableInstant28 = null; org.joda.time.chrono.GJChronology gJChronology30 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone27, readableInstant28, (int) (short) 1); boolean boolean32 = gJChronology30.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField33 = gJChronology30.year(); org.joda.time.DateTimeZone dateTimeZone34 = gJChronology30.getZone(); org.joda.time.DateTimeZone dateTimeZone35 = null; org.joda.time.ReadableInstant readableInstant36 = null; org.joda.time.chrono.GJChronology gJChronology38 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone35, readableInstant36, (int) (short) 1); boolean boolean40 = gJChronology38.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField41 = gJChronology38.year(); org.joda.time.Instant instant42 = gJChronology38.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology43 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone34, (org.joda.time.ReadableInstant) instant42); org.joda.time.chrono.GJChronology gJChronology44 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone24, (org.joda.time.ReadableInstant) instant42); org.joda.time.Chronology chronology45 = gJChronology3.withZone(dateTimeZone24); org.joda.time.Chronology chronology46 = gJChronology3.withUTC(); org.joda.time.DateTimeField dateTimeField47 = gJChronology3.minuteOfHour(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(dateTimeZone8); org.junit.Assert.assertNotNull(durationField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertTrue("'" + long14 + "' != '" + 52L + "'", long14 == 52L); org.junit.Assert.assertNotNull(gJChronology18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertTrue("'" + long23 + "' != '" + 1L + "'", long23 == 1L); org.junit.Assert.assertNotNull(dateTimeZone24); org.junit.Assert.assertNotNull(gJChronology26); org.junit.Assert.assertNotNull(gJChronology30); org.junit.Assert.assertTrue("'" + boolean32 + "' != '" + false + "'", boolean32 == false); org.junit.Assert.assertNotNull(dateTimeField33); org.junit.Assert.assertNotNull(dateTimeZone34); org.junit.Assert.assertNotNull(gJChronology38); org.junit.Assert.assertTrue("'" + boolean40 + "' != '" + false + "'", boolean40 == false); org.junit.Assert.assertNotNull(dateTimeField41); org.junit.Assert.assertNotNull(instant42); org.junit.Assert.assertNotNull(gJChronology43); org.junit.Assert.assertNotNull(gJChronology44); org.junit.Assert.assertNotNull(chronology45); org.junit.Assert.assertNotNull(chronology46); org.junit.Assert.assertNotNull(dateTimeField47); } @Test @Ignore public void test1519() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1519"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeZone dateTimeZone9 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.hourOfDay(); java.lang.String str11 = gJChronology3.toString(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertNotNull(dateTimeZone9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertEquals("'" + str11 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str11, "GJChronology[Etc/UTC,mdfw=1]"); } @Test @Ignore public void test1520() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1520"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.minuteOfHour(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.weekyearOfCentury(); java.lang.String str3 = gJChronology0.toString(); // The following exception was thrown during execution in test generation try { long long8 = gJChronology0.getDateTimeMillis((int) (short) 1, 10, (int) (short) 100, (int) (byte) 1); org.junit.Assert.fail("Expected exception of type org.joda.time.IllegalFieldValueException; message: Value 100 for dayOfMonth must be in the range [1,31]"); } catch (org.joda.time.IllegalFieldValueException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertEquals("'" + str3 + "' != '" + "GJChronology[Etc/UTC]" + "'", str3, "GJChronology[Etc/UTC]"); } @Test public void test1521() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1521"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.year(); long long9 = gJChronology3.add((long) 10, (long) (byte) 100, (int) (short) 0); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.centuryOfEra(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.dayOfWeek(); org.joda.time.DurationField durationField12 = gJChronology3.weeks(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertTrue("'" + long9 + "' != '" + 10L + "'", long9 == 10L); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(durationField12); } @Test public void test1522() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1522"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.millisOfSecond(); org.joda.time.DurationField durationField9 = gJChronology3.seconds(); org.joda.time.Instant instant10 = gJChronology3.getGregorianCutover(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.weekyear(); long long15 = gJChronology3.add((long) (byte) 1, (long) (byte) 100, (int) (byte) 0); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod17 = null; // The following exception was thrown during execution in test generation try { int[] intArray19 = gJChronology3.get(readablePeriod17, 1L); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(durationField9); org.junit.Assert.assertNotNull(instant10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertTrue("'" + long15 + "' != '" + 1L + "'", long15 == 1L); org.junit.Assert.assertNotNull(dateTimeField16); } @Test @Ignore public void test1523() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1523"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.Instant instant7 = gJChronology3.getGregorianCutover(); org.joda.time.DurationField durationField8 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.year(); org.joda.time.DurationField durationField10 = gJChronology3.minutes(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.hourOfHalfday(); long long15 = gJChronology3.add(110L, 100L, (int) (short) 10); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.era(); org.joda.time.DateTimeZone dateTimeZone17 = null; org.joda.time.ReadableInstant readableInstant18 = null; org.joda.time.chrono.GJChronology gJChronology20 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone17, readableInstant18, (int) (short) 1); org.joda.time.DateTimeField dateTimeField21 = gJChronology20.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField22 = gJChronology20.year(); org.joda.time.DurationField durationField23 = gJChronology20.centuries(); org.joda.time.DateTimeField dateTimeField24 = gJChronology20.dayOfMonth(); org.joda.time.DateTimeField dateTimeField25 = gJChronology20.dayOfYear(); org.joda.time.DateTimeField dateTimeField26 = gJChronology20.clockhourOfDay(); org.joda.time.DateTimeZone dateTimeZone27 = gJChronology20.getZone(); org.joda.time.Chronology chronology28 = gJChronology3.withZone(dateTimeZone27); org.joda.time.chrono.GJChronology gJChronology31 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone27, 5045L, (int) (short) 1); org.joda.time.DateTimeZone dateTimeZone32 = null; org.joda.time.ReadableInstant readableInstant33 = null; org.joda.time.chrono.GJChronology gJChronology35 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone32, readableInstant33, (int) (short) 1); org.joda.time.DateTimeField dateTimeField36 = gJChronology35.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod37 = null; long long40 = gJChronology35.add(readablePeriod37, (long) (short) 1, (int) (byte) -1); org.joda.time.Instant instant41 = gJChronology35.getGregorianCutover(); org.joda.time.DateTimeField dateTimeField42 = gJChronology35.clockhourOfHalfday(); org.joda.time.DateTimeField dateTimeField43 = gJChronology35.secondOfDay(); org.joda.time.DateTimeField dateTimeField44 = gJChronology35.secondOfDay(); org.joda.time.DateTimeField dateTimeField45 = gJChronology35.dayOfMonth(); org.joda.time.DateTimeZone dateTimeZone46 = gJChronology35.getZone(); org.joda.time.DateTimeZone dateTimeZone47 = null; org.joda.time.ReadableInstant readableInstant48 = null; org.joda.time.chrono.GJChronology gJChronology50 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone47, readableInstant48, (int) (short) 1); org.joda.time.DateTimeField dateTimeField51 = gJChronology50.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod52 = null; long long55 = gJChronology50.add(readablePeriod52, (long) (short) 1, (int) (byte) -1); long long60 = gJChronology50.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField61 = gJChronology50.millis(); org.joda.time.DurationField durationField62 = gJChronology50.centuries(); org.joda.time.Instant instant63 = gJChronology50.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology65 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone46, (org.joda.time.ReadableInstant) instant63, (int) (byte) 1); // The following exception was thrown during execution in test generation try { org.joda.time.chrono.GJChronology gJChronology67 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone27, (org.joda.time.ReadableInstant) instant63, 100); org.junit.Assert.fail("Expected exception of type java.lang.IllegalArgumentException; message: Invalid min days in first week: 100"); } catch (java.lang.IllegalArgumentException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(instant7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertTrue("'" + long15 + "' != '" + 1110L + "'", long15 == 1110L); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(gJChronology20); org.junit.Assert.assertNotNull(dateTimeField21); org.junit.Assert.assertNotNull(dateTimeField22); org.junit.Assert.assertNotNull(durationField23); org.junit.Assert.assertNotNull(dateTimeField24); org.junit.Assert.assertNotNull(dateTimeField25); org.junit.Assert.assertNotNull(dateTimeField26); org.junit.Assert.assertNotNull(dateTimeZone27); org.junit.Assert.assertNotNull(chronology28); org.junit.Assert.assertNotNull(gJChronology31); org.junit.Assert.assertNotNull(gJChronology35); org.junit.Assert.assertNotNull(dateTimeField36); org.junit.Assert.assertTrue("'" + long40 + "' != '" + 1L + "'", long40 == 1L); org.junit.Assert.assertNotNull(instant41); org.junit.Assert.assertNotNull(dateTimeField42); org.junit.Assert.assertNotNull(dateTimeField43); org.junit.Assert.assertNotNull(dateTimeField44); org.junit.Assert.assertNotNull(dateTimeField45); org.junit.Assert.assertNotNull(dateTimeZone46); org.junit.Assert.assertNotNull(gJChronology50); org.junit.Assert.assertNotNull(dateTimeField51); org.junit.Assert.assertTrue("'" + long55 + "' != '" + 1L + "'", long55 == 1L); org.junit.Assert.assertTrue("'" + long60 + "' != '" + (-61062076799990L) + "'", long60 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField61); org.junit.Assert.assertNotNull(durationField62); org.junit.Assert.assertNotNull(instant63); org.junit.Assert.assertNotNull(gJChronology65); } @Test public void test1524() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1524"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField1 = gJChronology0.weeks(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.clockhourOfHalfday(); org.joda.time.DateTimeField dateTimeField3 = gJChronology0.hourOfDay(); org.joda.time.DurationField durationField4 = gJChronology0.halfdays(); org.joda.time.DateTimeField dateTimeField5 = gJChronology0.millisOfSecond(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(durationField1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertNotNull(dateTimeField3); org.junit.Assert.assertNotNull(durationField4); org.junit.Assert.assertNotNull(dateTimeField5); } @Test @Ignore public void test1525() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1525"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); java.lang.String str5 = gJChronology3.toString(); org.joda.time.ReadablePeriod readablePeriod6 = null; // The following exception was thrown during execution in test generation try { int[] intArray9 = gJChronology3.get(readablePeriod6, (long) (byte) -1, 100L); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertEquals("'" + str5 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str5, "GJChronology[Etc/UTC,mdfw=1]"); } @Test @Ignore public void test1526() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1526"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DateTimeField dateTimeField14 = gJChronology3.minuteOfDay(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.secondOfDay(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.secondOfMinute(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.minuteOfHour(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.clockhourOfHalfday(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(dateTimeField18); } @Test @Ignore public void test1527() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1527"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); org.joda.time.DateTimeField dateTimeField12 = gJChronology11.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod13 = null; long long16 = gJChronology11.add(readablePeriod13, (long) (short) 1, (int) (byte) -1); long long21 = gJChronology11.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField22 = gJChronology11.millis(); boolean boolean23 = gJChronology3.equals((java.lang.Object) gJChronology11); org.joda.time.DurationField durationField24 = gJChronology11.seconds(); org.joda.time.ReadablePeriod readablePeriod25 = null; long long28 = gJChronology11.add(readablePeriod25, 53238L, 1); org.joda.time.ReadablePartial readablePartial29 = null; // The following exception was thrown during execution in test generation try { long long31 = gJChronology11.set(readablePartial29, 604004L); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertTrue("'" + long16 + "' != '" + 1L + "'", long16 == 1L); org.junit.Assert.assertTrue("'" + long21 + "' != '" + (-61062076799990L) + "'", long21 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField22); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + true + "'", boolean23 == true); org.junit.Assert.assertNotNull(durationField24); org.junit.Assert.assertTrue("'" + long28 + "' != '" + 53238L + "'", long28 == 53238L); } @Test @Ignore public void test1528() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1528"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.weekyear(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.weekyearOfCentury(); org.joda.time.DateTimeZone dateTimeZone18 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.year(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(dateTimeZone18); org.junit.Assert.assertNotNull(dateTimeField19); } @Test public void test1529() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1529"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.dayOfWeek(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); org.joda.time.DateTimeField dateTimeField12 = gJChronology11.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField13 = gJChronology11.year(); org.joda.time.DurationField durationField14 = gJChronology11.centuries(); org.joda.time.DateTimeField dateTimeField15 = gJChronology11.dayOfMonth(); boolean boolean16 = gJChronology3.equals((java.lang.Object) dateTimeField15); org.joda.time.DurationField durationField17 = gJChronology3.months(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeZone dateTimeZone19 = null; org.joda.time.ReadableInstant readableInstant20 = null; org.joda.time.chrono.GJChronology gJChronology22 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone19, readableInstant20, (int) (short) 1); boolean boolean24 = gJChronology22.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField25 = gJChronology22.year(); org.joda.time.DateTimeZone dateTimeZone26 = gJChronology22.getZone(); org.joda.time.DateTimeZone dateTimeZone27 = null; org.joda.time.ReadableInstant readableInstant28 = null; org.joda.time.chrono.GJChronology gJChronology30 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone27, readableInstant28, (int) (short) 1); boolean boolean32 = gJChronology30.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField33 = gJChronology30.year(); org.joda.time.Instant instant34 = gJChronology30.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology36 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone26, (org.joda.time.ReadableInstant) instant34, (int) (byte) 1); org.joda.time.DateTimeZone dateTimeZone37 = null; org.joda.time.ReadableInstant readableInstant38 = null; org.joda.time.chrono.GJChronology gJChronology40 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone37, readableInstant38, (int) (short) 1); boolean boolean42 = gJChronology40.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField43 = gJChronology40.year(); org.joda.time.DateTimeZone dateTimeZone44 = gJChronology40.getZone(); org.joda.time.Chronology chronology45 = gJChronology36.withZone(dateTimeZone44); org.joda.time.DateTimeZone dateTimeZone46 = null; org.joda.time.ReadableInstant readableInstant47 = null; org.joda.time.chrono.GJChronology gJChronology49 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone46, readableInstant47, (int) (short) 1); boolean boolean51 = gJChronology49.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField52 = gJChronology49.year(); org.joda.time.Instant instant53 = gJChronology49.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology54 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone44, (org.joda.time.ReadableInstant) instant53); org.joda.time.Chronology chronology55 = gJChronology3.withZone(dateTimeZone44); // The following exception was thrown during execution in test generation try { org.joda.time.chrono.GJChronology gJChronology58 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone44, 3156L, (-1)); org.junit.Assert.fail("Expected exception of type java.lang.IllegalArgumentException; message: Invalid min days in first week: -1"); } catch (java.lang.IllegalArgumentException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertNotNull(durationField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(gJChronology22); org.junit.Assert.assertTrue("'" + boolean24 + "' != '" + false + "'", boolean24 == false); org.junit.Assert.assertNotNull(dateTimeField25); org.junit.Assert.assertNotNull(dateTimeZone26); org.junit.Assert.assertNotNull(gJChronology30); org.junit.Assert.assertTrue("'" + boolean32 + "' != '" + false + "'", boolean32 == false); org.junit.Assert.assertNotNull(dateTimeField33); org.junit.Assert.assertNotNull(instant34); org.junit.Assert.assertNotNull(gJChronology36); org.junit.Assert.assertNotNull(gJChronology40); org.junit.Assert.assertTrue("'" + boolean42 + "' != '" + false + "'", boolean42 == false); org.junit.Assert.assertNotNull(dateTimeField43); org.junit.Assert.assertNotNull(dateTimeZone44); org.junit.Assert.assertNotNull(chronology45); org.junit.Assert.assertNotNull(gJChronology49); org.junit.Assert.assertTrue("'" + boolean51 + "' != '" + false + "'", boolean51 == false); org.junit.Assert.assertNotNull(dateTimeField52); org.junit.Assert.assertNotNull(instant53); org.junit.Assert.assertNotNull(gJChronology54); org.junit.Assert.assertNotNull(chronology55); } @Test @Ignore public void test1530() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1530"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.Chronology chronology4 = gJChronology3.withUTC(); org.joda.time.DurationField durationField5 = gJChronology3.millis(); org.joda.time.DateTimeZone dateTimeZone6 = gJChronology3.getZone(); org.joda.time.chrono.GJChronology gJChronology7 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone6); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); boolean boolean13 = gJChronology11.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField14 = gJChronology11.year(); org.joda.time.DateTimeZone dateTimeZone15 = gJChronology11.getZone(); org.joda.time.DateTimeZone dateTimeZone16 = null; org.joda.time.ReadableInstant readableInstant17 = null; org.joda.time.chrono.GJChronology gJChronology19 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone16, readableInstant17, (int) (short) 1); org.joda.time.DateTimeField dateTimeField20 = gJChronology19.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod21 = null; long long24 = gJChronology19.add(readablePeriod21, (long) (short) 1, (int) (byte) -1); long long29 = gJChronology19.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField30 = gJChronology19.millis(); boolean boolean31 = gJChronology11.equals((java.lang.Object) gJChronology19); org.joda.time.Instant instant32 = gJChronology11.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology33 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone6, (org.joda.time.ReadableInstant) instant32); org.joda.time.DurationField durationField34 = gJChronology33.seconds(); // The following exception was thrown during execution in test generation try { long long39 = gJChronology33.getDateTimeMillis((int) (short) 100, (int) (byte) 10, (int) '4', 0); org.junit.Assert.fail("Expected exception of type org.joda.time.IllegalFieldValueException; message: Value 52 for dayOfMonth must be in the range [1,31]"); } catch (org.joda.time.IllegalFieldValueException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(chronology4); org.junit.Assert.assertNotNull(durationField5); org.junit.Assert.assertNotNull(dateTimeZone6); org.junit.Assert.assertNotNull(gJChronology7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertTrue("'" + boolean13 + "' != '" + false + "'", boolean13 == false); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(dateTimeZone15); org.junit.Assert.assertNotNull(gJChronology19); org.junit.Assert.assertNotNull(dateTimeField20); org.junit.Assert.assertTrue("'" + long24 + "' != '" + 1L + "'", long24 == 1L); org.junit.Assert.assertTrue("'" + long29 + "' != '" + (-61062076799990L) + "'", long29 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField30); org.junit.Assert.assertTrue("'" + boolean31 + "' != '" + true + "'", boolean31 == true); org.junit.Assert.assertNotNull(instant32); org.junit.Assert.assertNotNull(gJChronology33); org.junit.Assert.assertNotNull(durationField34); } @Test @Ignore public void test1531() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1531"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.yearOfEra(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.centuryOfEra(); org.joda.time.DurationField durationField19 = gJChronology3.days(); org.joda.time.DateTimeField dateTimeField20 = gJChronology3.hourOfDay(); org.joda.time.DateTimeField dateTimeField21 = gJChronology3.clockhourOfDay(); int int22 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DurationField durationField23 = gJChronology3.millis(); org.joda.time.DurationField durationField24 = gJChronology3.minutes(); int int25 = gJChronology3.getMinimumDaysInFirstWeek(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(durationField19); org.junit.Assert.assertNotNull(dateTimeField20); org.junit.Assert.assertNotNull(dateTimeField21); org.junit.Assert.assertTrue("'" + int22 + "' != '" + 1 + "'", int22 == 1); org.junit.Assert.assertNotNull(durationField23); org.junit.Assert.assertNotNull(durationField24); org.junit.Assert.assertTrue("'" + int25 + "' != '" + 1 + "'", int25 == 1); } @Test public void test1532() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1532"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.days(); org.joda.time.DurationField durationField8 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.yearOfCentury(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); } @Test @Ignore public void test1533() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1533"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.hourOfDay(); int int16 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.secondOfMinute(); org.joda.time.DurationField durationField18 = gJChronology3.eras(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertTrue("'" + int16 + "' != '" + 1 + "'", int16 == 1); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(durationField18); } @Test public void test1534() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1534"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.year(); org.joda.time.DurationField durationField6 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.hourOfDay(); org.joda.time.DurationField durationField8 = gJChronology3.days(); org.joda.time.DurationField durationField9 = gJChronology3.millis(); // The following exception was thrown during execution in test generation try { long long17 = gJChronology3.getDateTimeMillis((int) (byte) 1, 10, (int) ' ', (int) '4', (int) (byte) 1, (int) (short) 100, 10); org.junit.Assert.fail("Expected exception of type org.joda.time.IllegalFieldValueException; message: Value 52 for hourOfDay must be in the range [0,23]"); } catch (org.joda.time.IllegalFieldValueException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(durationField9); } @Test public void test1535() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1535"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); org.joda.time.Instant instant9 = gJChronology3.getGregorianCutover(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.clockhourOfHalfday(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.secondOfDay(); org.joda.time.DurationField durationField12 = gJChronology3.days(); org.joda.time.DateTimeZone dateTimeZone13 = null; org.joda.time.ReadableInstant readableInstant14 = null; org.joda.time.chrono.GJChronology gJChronology16 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone13, readableInstant14, (int) (short) 1); boolean boolean18 = gJChronology16.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField19 = gJChronology16.year(); org.joda.time.Instant instant20 = gJChronology16.getGregorianCutover(); org.joda.time.DurationField durationField21 = gJChronology16.millis(); org.joda.time.DateTimeField dateTimeField22 = gJChronology16.year(); org.joda.time.DurationField durationField23 = gJChronology16.minutes(); org.joda.time.DateTimeField dateTimeField24 = gJChronology16.hourOfHalfday(); long long28 = gJChronology16.add(110L, 100L, (int) (short) 10); org.joda.time.DateTimeField dateTimeField29 = gJChronology16.era(); org.joda.time.DateTimeZone dateTimeZone30 = null; org.joda.time.ReadableInstant readableInstant31 = null; org.joda.time.chrono.GJChronology gJChronology33 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone30, readableInstant31, (int) (short) 1); org.joda.time.DateTimeField dateTimeField34 = gJChronology33.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField35 = gJChronology33.year(); org.joda.time.DurationField durationField36 = gJChronology33.centuries(); org.joda.time.DateTimeField dateTimeField37 = gJChronology33.dayOfMonth(); org.joda.time.DateTimeField dateTimeField38 = gJChronology33.dayOfYear(); org.joda.time.DateTimeField dateTimeField39 = gJChronology33.clockhourOfDay(); org.joda.time.DateTimeZone dateTimeZone40 = gJChronology33.getZone(); org.joda.time.Chronology chronology41 = gJChronology16.withZone(dateTimeZone40); org.joda.time.Chronology chronology42 = gJChronology3.withZone(dateTimeZone40); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertNotNull(instant9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(durationField12); org.junit.Assert.assertNotNull(gJChronology16); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(instant20); org.junit.Assert.assertNotNull(durationField21); org.junit.Assert.assertNotNull(dateTimeField22); org.junit.Assert.assertNotNull(durationField23); org.junit.Assert.assertNotNull(dateTimeField24); org.junit.Assert.assertTrue("'" + long28 + "' != '" + 1110L + "'", long28 == 1110L); org.junit.Assert.assertNotNull(dateTimeField29); org.junit.Assert.assertNotNull(gJChronology33); org.junit.Assert.assertNotNull(dateTimeField34); org.junit.Assert.assertNotNull(dateTimeField35); org.junit.Assert.assertNotNull(durationField36); org.junit.Assert.assertNotNull(dateTimeField37); org.junit.Assert.assertNotNull(dateTimeField38); org.junit.Assert.assertNotNull(dateTimeField39); org.junit.Assert.assertNotNull(dateTimeZone40); org.junit.Assert.assertNotNull(chronology41); org.junit.Assert.assertNotNull(chronology42); } @Test public void test1536() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1536"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.chrono.GJChronology gJChronology1 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0); org.joda.time.DateTimeField dateTimeField2 = gJChronology1.hourOfDay(); org.junit.Assert.assertNotNull(gJChronology1); org.junit.Assert.assertNotNull(dateTimeField2); } @Test public void test1537() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1537"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.days(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.centuryOfEra(); org.joda.time.DurationField durationField9 = gJChronology3.years(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.secondOfMinute(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.dayOfMonth(); // The following exception was thrown during execution in test generation try { long long16 = gJChronology3.getDateTimeMillis((int) (byte) 100, (int) '4', (int) (byte) 10, (int) (byte) 100); org.junit.Assert.fail("Expected exception of type org.joda.time.IllegalFieldValueException; message: Value 52 for monthOfYear must be in the range [1,12]"); } catch (org.joda.time.IllegalFieldValueException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(durationField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeField11); } @Test public void test1538() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1538"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.days(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.centuryOfEra(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.monthOfYear(); org.joda.time.DurationField durationField10 = gJChronology3.weekyears(); org.joda.time.DurationField durationField11 = gJChronology3.minutes(); org.joda.time.DurationField durationField12 = gJChronology3.minutes(); org.joda.time.DurationField durationField13 = gJChronology3.months(); org.joda.time.ReadablePartial readablePartial14 = null; // The following exception was thrown during execution in test generation try { long long16 = gJChronology3.set(readablePartial14, (-61062076799990L)); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertNotNull(durationField11); org.junit.Assert.assertNotNull(durationField12); org.junit.Assert.assertNotNull(durationField13); } @Test @Ignore public void test1539() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1539"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DurationField durationField15 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.weekyear(); org.joda.time.DurationField durationField17 = gJChronology3.weekyears(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.weekOfWeekyear(); org.joda.time.ReadablePeriod readablePeriod19 = null; // The following exception was thrown during execution in test generation try { int[] intArray21 = gJChronology3.get(readablePeriod19, 0L); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(durationField17); org.junit.Assert.assertNotNull(dateTimeField18); } @Test public void test1540() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1540"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.centuryOfEra(); org.joda.time.DurationField durationField7 = gJChronology3.centuries(); org.joda.time.DurationField durationField8 = gJChronology3.days(); org.joda.time.DateTimeZone dateTimeZone9 = gJChronology3.getZone(); org.joda.time.DurationField durationField10 = gJChronology3.minutes(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.dayOfMonth(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.weekOfWeekyear(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeZone9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(dateTimeField12); } @Test public void test1541() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1541"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.dayOfYear(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.monthOfYear(); org.joda.time.DurationField durationField11 = gJChronology3.seconds(); org.joda.time.DurationField durationField12 = gJChronology3.weekyears(); org.joda.time.DurationField durationField13 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField14 = gJChronology3.millisOfDay(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.weekyear(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.secondOfMinute(); org.joda.time.DurationField durationField17 = gJChronology3.seconds(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(durationField11); org.junit.Assert.assertNotNull(durationField12); org.junit.Assert.assertNotNull(durationField13); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(durationField17); } @Test public void test1542() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1542"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.millisOfSecond(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.clockhourOfHalfday(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.centuryOfEra(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); } @Test @Ignore public void test1543() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1543"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DurationField durationField15 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.dayOfMonth(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.dayOfMonth(); org.joda.time.ReadablePartial readablePartial18 = null; // The following exception was thrown during execution in test generation try { int[] intArray20 = gJChronology3.get(readablePartial18, (long) (byte) -1); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); } @Test public void test1544() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1544"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); org.joda.time.Instant instant9 = gJChronology3.getGregorianCutover(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.weekyearOfCentury(); org.joda.time.DurationField durationField11 = gJChronology3.centuries(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertNotNull(instant9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(durationField11); } @Test public void test1545() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1545"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.centuryOfEra(); org.joda.time.DurationField durationField7 = gJChronology3.centuries(); org.joda.time.DurationField durationField8 = gJChronology3.days(); org.joda.time.DateTimeZone dateTimeZone9 = gJChronology3.getZone(); org.joda.time.chrono.GJChronology gJChronology10 = org.joda.time.chrono.GJChronology.getInstanceUTC(); org.joda.time.Instant instant11 = gJChronology10.getGregorianCutover(); boolean boolean12 = gJChronology3.equals((java.lang.Object) gJChronology10); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeZone9); org.junit.Assert.assertNotNull(gJChronology10); org.junit.Assert.assertNotNull(instant11); org.junit.Assert.assertTrue("'" + boolean12 + "' != '" + false + "'", boolean12 == false); } @Test @Ignore public void test1546() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1546"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.era(); java.lang.String str6 = gJChronology3.toString(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.dayOfYear(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.millisOfSecond(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.secondOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertEquals("'" + str6 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str6, "GJChronology[Etc/UTC,mdfw=1]"); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); } @Test public void test1547() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1547"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeZone dateTimeZone9 = gJChronology3.getZone(); org.joda.time.ReadableInstant readableInstant10 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone9, readableInstant10); org.joda.time.DateTimeField dateTimeField12 = gJChronology11.secondOfMinute(); boolean boolean14 = gJChronology11.equals((java.lang.Object) (byte) -1); org.joda.time.DurationField durationField15 = gJChronology11.millis(); org.joda.time.DurationField durationField16 = gJChronology11.halfdays(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertNotNull(dateTimeZone9); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertTrue("'" + boolean14 + "' != '" + false + "'", boolean14 == false); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(durationField16); } @Test public void test1548() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1548"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.era(); org.joda.time.DurationField durationField8 = gJChronology3.halfdays(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.halfdayOfDay(); // The following exception was thrown during execution in test generation try { long long15 = gJChronology3.getDateTimeMillis((long) (byte) 10, (int) (short) 0, (int) (short) 10, (int) (short) 0, (int) (short) -1); org.junit.Assert.fail("Expected exception of type org.joda.time.IllegalFieldValueException; message: Value -1 for millisOfSecond must be in the range [0,999]"); } catch (org.joda.time.IllegalFieldValueException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); } @Test public void test1549() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1549"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField1 = gJChronology0.centuries(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.minuteOfHour(); org.joda.time.DateTimeField dateTimeField3 = gJChronology0.era(); org.joda.time.DateTimeField dateTimeField4 = gJChronology0.dayOfYear(); org.joda.time.DateTimeZone dateTimeZone5 = gJChronology0.getZone(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(durationField1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertNotNull(dateTimeField3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeZone5); } @Test @Ignore public void test1550() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1550"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DurationField durationField5 = gJChronology3.years(); org.joda.time.DurationField durationField6 = gJChronology3.years(); org.joda.time.DurationField durationField7 = gJChronology3.weeks(); long long15 = gJChronology3.getDateTimeMillis((int) (short) 10, (int) (byte) 10, 10, (int) (byte) 1, (int) (byte) 10, (int) (byte) 10, 1); java.lang.String str16 = gJChronology3.toString(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(durationField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertTrue("'" + long15 + "' != '" + (-61827403789999L) + "'", long15 == (-61827403789999L)); org.junit.Assert.assertEquals("'" + str16 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str16, "GJChronology[Etc/UTC,mdfw=1]"); } @Test public void test1551() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1551"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.millisOfSecond(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.dayOfWeek(); org.joda.time.DateTimeField dateTimeField3 = gJChronology0.millisOfDay(); org.joda.time.DateTimeField dateTimeField4 = gJChronology0.secondOfDay(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertNotNull(dateTimeField3); org.junit.Assert.assertNotNull(dateTimeField4); } @Test @Ignore public void test1552() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1552"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.minuteOfHour(); org.joda.time.DateTimeZone dateTimeZone2 = null; org.joda.time.ReadableInstant readableInstant3 = null; org.joda.time.chrono.GJChronology gJChronology5 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone2, readableInstant3, (int) (short) 1); org.joda.time.DateTimeField dateTimeField6 = gJChronology5.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod7 = null; long long10 = gJChronology5.add(readablePeriod7, (long) (short) 1, (int) (byte) -1); long long15 = gJChronology5.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField16 = gJChronology5.seconds(); org.joda.time.DateTimeZone dateTimeZone17 = gJChronology5.getZone(); org.joda.time.Chronology chronology18 = gJChronology0.withZone(dateTimeZone17); org.joda.time.DateTimeField dateTimeField19 = gJChronology0.minuteOfHour(); org.joda.time.DurationField durationField20 = gJChronology0.years(); org.joda.time.ReadablePartial readablePartial21 = null; int[] intArray26 = new int[] { 100, 100, (short) 10, (short) 100 }; // The following exception was thrown during execution in test generation try { gJChronology0.validate(readablePartial21, intArray26); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(gJChronology5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertTrue("'" + long10 + "' != '" + 1L + "'", long10 == 1L); org.junit.Assert.assertTrue("'" + long15 + "' != '" + (-61062076799990L) + "'", long15 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(dateTimeZone17); org.junit.Assert.assertNotNull(chronology18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(durationField20); org.junit.Assert.assertNotNull(intArray26); org.junit.Assert.assertEquals(java.util.Arrays.toString(intArray26), "[100, 100, 10, 100]"); } @Test public void test1553() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1553"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); boolean boolean13 = gJChronology11.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField14 = gJChronology11.year(); org.joda.time.Instant instant15 = gJChronology11.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology17 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone7, (org.joda.time.ReadableInstant) instant15, (int) (byte) 1); org.joda.time.DateTimeZone dateTimeZone18 = null; org.joda.time.ReadableInstant readableInstant19 = null; org.joda.time.chrono.GJChronology gJChronology21 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone18, readableInstant19, (int) (short) 1); boolean boolean23 = gJChronology21.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField24 = gJChronology21.year(); org.joda.time.DateTimeZone dateTimeZone25 = gJChronology21.getZone(); org.joda.time.Chronology chronology26 = gJChronology17.withZone(dateTimeZone25); org.joda.time.DurationField durationField27 = gJChronology17.millis(); org.joda.time.DateTimeField dateTimeField28 = gJChronology17.weekyear(); org.joda.time.ReadablePeriod readablePeriod29 = null; // The following exception was thrown during execution in test generation try { int[] intArray31 = gJChronology17.get(readablePeriod29, 10L); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertTrue("'" + boolean13 + "' != '" + false + "'", boolean13 == false); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(instant15); org.junit.Assert.assertNotNull(gJChronology17); org.junit.Assert.assertNotNull(gJChronology21); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + false + "'", boolean23 == false); org.junit.Assert.assertNotNull(dateTimeField24); org.junit.Assert.assertNotNull(dateTimeZone25); org.junit.Assert.assertNotNull(chronology26); org.junit.Assert.assertNotNull(durationField27); org.junit.Assert.assertNotNull(dateTimeField28); } @Test @Ignore public void test1554() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1554"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DateTimeField dateTimeField14 = gJChronology3.secondOfMinute(); org.joda.time.DurationField durationField15 = gJChronology3.months(); long long21 = gJChronology3.getDateTimeMillis((-49798948L), (int) (short) 0, (int) (byte) 10, (int) '4', 1); org.joda.time.ReadablePartial readablePartial22 = null; // The following exception was thrown during execution in test generation try { int[] intArray24 = gJChronology3.get(readablePartial22, (-91L)); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertTrue("'" + long21 + "' != '" + (-85747999L) + "'", long21 == (-85747999L)); } @Test public void test1555() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1555"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.Chronology chronology4 = gJChronology3.withUTC(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.dayOfMonth(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(chronology4); org.junit.Assert.assertNotNull(dateTimeField5); } @Test public void test1556() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1556"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField1 = gJChronology0.weeks(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.clockhourOfHalfday(); org.joda.time.DateTimeField dateTimeField3 = gJChronology0.hourOfDay(); org.joda.time.DateTimeZone dateTimeZone4 = gJChronology0.getZone(); org.joda.time.chrono.GJChronology gJChronology5 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone4); org.joda.time.DateTimeZone dateTimeZone6 = null; org.joda.time.ReadableInstant readableInstant7 = null; org.joda.time.chrono.GJChronology gJChronology9 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone6, readableInstant7, (int) (short) 1); boolean boolean11 = gJChronology9.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField12 = gJChronology9.year(); org.joda.time.Instant instant13 = gJChronology9.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology14 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone4, (org.joda.time.ReadableInstant) instant13); org.joda.time.DateTimeField dateTimeField15 = gJChronology14.dayOfMonth(); org.joda.time.DateTimeField dateTimeField16 = gJChronology14.hourOfHalfday(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(durationField1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertNotNull(dateTimeField3); org.junit.Assert.assertNotNull(dateTimeZone4); org.junit.Assert.assertNotNull(gJChronology5); org.junit.Assert.assertNotNull(gJChronology9); org.junit.Assert.assertTrue("'" + boolean11 + "' != '" + false + "'", boolean11 == false); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(instant13); org.junit.Assert.assertNotNull(gJChronology14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); } @Test @Ignore public void test1557() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1557"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.centuryOfEra(); org.joda.time.DurationField durationField7 = gJChronology3.centuries(); org.joda.time.DateTimeZone dateTimeZone8 = gJChronology3.getZone(); org.joda.time.DurationField durationField9 = gJChronology3.days(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.dayOfYear(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.secondOfDay(); long long17 = gJChronology3.getDateTimeMillis((long) (byte) 0, 4, (int) (short) 10, (int) '#', (int) (byte) 0); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(dateTimeZone8); org.junit.Assert.assertNotNull(durationField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertTrue("'" + long17 + "' != '" + 15035000L + "'", long17 == 15035000L); } @Test public void test1558() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1558"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.dayOfMonth(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.secondOfDay(); org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField12 = gJChronology11.weeks(); org.joda.time.DateTimeField dateTimeField13 = gJChronology11.clockhourOfHalfday(); org.joda.time.DateTimeField dateTimeField14 = gJChronology11.hourOfDay(); org.joda.time.DateTimeZone dateTimeZone15 = gJChronology11.getZone(); org.joda.time.chrono.GJChronology gJChronology16 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone15); org.joda.time.DateTimeZone dateTimeZone17 = null; org.joda.time.ReadableInstant readableInstant18 = null; org.joda.time.chrono.GJChronology gJChronology20 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone17, readableInstant18, (int) (short) 1); org.joda.time.DateTimeField dateTimeField21 = gJChronology20.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod22 = null; long long25 = gJChronology20.add(readablePeriod22, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeZone dateTimeZone26 = gJChronology20.getZone(); org.joda.time.ReadableInstant readableInstant27 = null; org.joda.time.chrono.GJChronology gJChronology28 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone26, readableInstant27); org.joda.time.DateTimeZone dateTimeZone29 = null; org.joda.time.ReadableInstant readableInstant30 = null; org.joda.time.chrono.GJChronology gJChronology32 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone29, readableInstant30, (int) (short) 1); boolean boolean34 = gJChronology32.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField35 = gJChronology32.year(); org.joda.time.DateTimeZone dateTimeZone36 = gJChronology32.getZone(); org.joda.time.DateTimeZone dateTimeZone37 = null; org.joda.time.ReadableInstant readableInstant38 = null; org.joda.time.chrono.GJChronology gJChronology40 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone37, readableInstant38, (int) (short) 1); boolean boolean42 = gJChronology40.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField43 = gJChronology40.year(); org.joda.time.Instant instant44 = gJChronology40.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology45 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone36, (org.joda.time.ReadableInstant) instant44); org.joda.time.chrono.GJChronology gJChronology46 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone26, (org.joda.time.ReadableInstant) instant44); org.joda.time.chrono.GJChronology gJChronology47 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone26); org.joda.time.Chronology chronology48 = gJChronology16.withZone(dateTimeZone26); org.joda.time.Chronology chronology49 = gJChronology3.withZone(dateTimeZone26); org.joda.time.DurationField durationField50 = gJChronology3.seconds(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(durationField12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(dateTimeZone15); org.junit.Assert.assertNotNull(gJChronology16); org.junit.Assert.assertNotNull(gJChronology20); org.junit.Assert.assertNotNull(dateTimeField21); org.junit.Assert.assertTrue("'" + long25 + "' != '" + 1L + "'", long25 == 1L); org.junit.Assert.assertNotNull(dateTimeZone26); org.junit.Assert.assertNotNull(gJChronology28); org.junit.Assert.assertNotNull(gJChronology32); org.junit.Assert.assertTrue("'" + boolean34 + "' != '" + false + "'", boolean34 == false); org.junit.Assert.assertNotNull(dateTimeField35); org.junit.Assert.assertNotNull(dateTimeZone36); org.junit.Assert.assertNotNull(gJChronology40); org.junit.Assert.assertTrue("'" + boolean42 + "' != '" + false + "'", boolean42 == false); org.junit.Assert.assertNotNull(dateTimeField43); org.junit.Assert.assertNotNull(instant44); org.junit.Assert.assertNotNull(gJChronology45); org.junit.Assert.assertNotNull(gJChronology46); org.junit.Assert.assertNotNull(gJChronology47); org.junit.Assert.assertNotNull(chronology48); org.junit.Assert.assertNotNull(chronology49); org.junit.Assert.assertNotNull(durationField50); } @Test @Ignore public void test1559() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1559"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.minuteOfHour(); org.joda.time.DateTimeZone dateTimeZone2 = null; org.joda.time.ReadableInstant readableInstant3 = null; org.joda.time.chrono.GJChronology gJChronology5 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone2, readableInstant3, (int) (short) 1); org.joda.time.DateTimeField dateTimeField6 = gJChronology5.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod7 = null; long long10 = gJChronology5.add(readablePeriod7, (long) (short) 1, (int) (byte) -1); long long15 = gJChronology5.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField16 = gJChronology5.seconds(); org.joda.time.DateTimeZone dateTimeZone17 = gJChronology5.getZone(); org.joda.time.Chronology chronology18 = gJChronology0.withZone(dateTimeZone17); org.joda.time.DateTimeField dateTimeField19 = gJChronology0.dayOfWeek(); org.joda.time.DateTimeField dateTimeField20 = gJChronology0.minuteOfDay(); org.joda.time.DateTimeField dateTimeField21 = gJChronology0.clockhourOfHalfday(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(gJChronology5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertTrue("'" + long10 + "' != '" + 1L + "'", long10 == 1L); org.junit.Assert.assertTrue("'" + long15 + "' != '" + (-61062076799990L) + "'", long15 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(dateTimeZone17); org.junit.Assert.assertNotNull(chronology18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(dateTimeField20); org.junit.Assert.assertNotNull(dateTimeField21); } @Test @Ignore public void test1560() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1560"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DurationField durationField15 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.minuteOfDay(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.centuryOfEra(); org.joda.time.DurationField durationField18 = gJChronology3.years(); org.joda.time.DurationField durationField19 = gJChronology3.seconds(); org.joda.time.Chronology chronology20 = gJChronology3.withUTC(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(durationField19); org.junit.Assert.assertNotNull(chronology20); } @Test @Ignore public void test1561() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1561"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.weeks(); org.joda.time.DurationField durationField15 = gJChronology3.years(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.millisOfSecond(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(dateTimeField16); } @Test public void test1562() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1562"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.dayOfWeek(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); org.joda.time.DateTimeField dateTimeField12 = gJChronology11.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField13 = gJChronology11.year(); org.joda.time.DurationField durationField14 = gJChronology11.centuries(); org.joda.time.DateTimeField dateTimeField15 = gJChronology11.dayOfMonth(); boolean boolean16 = gJChronology3.equals((java.lang.Object) dateTimeField15); int int17 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DurationField durationField18 = gJChronology3.months(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.year(); org.joda.time.DurationField durationField20 = gJChronology3.hours(); int int21 = gJChronology3.getMinimumDaysInFirstWeek(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertTrue("'" + int17 + "' != '" + 1 + "'", int17 == 1); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(durationField20); org.junit.Assert.assertTrue("'" + int21 + "' != '" + 1 + "'", int21 == 1); } @Test @Ignore public void test1563() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1563"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.seconds(); org.joda.time.DateTimeZone dateTimeZone15 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.weekyearOfCentury(); org.joda.time.DurationField durationField17 = gJChronology3.hours(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeZone15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(durationField17); } @Test public void test1564() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1564"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.days(); org.joda.time.DurationField durationField8 = gJChronology3.seconds(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.minuteOfHour(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.dayOfMonth(); org.joda.time.DurationField durationField12 = gJChronology3.hours(); long long16 = gJChronology3.add(52L, 32L, (int) 'a'); // The following exception was thrown during execution in test generation try { long long21 = gJChronology3.getDateTimeMillis((int) (byte) 0, (int) (short) 100, (-1), (int) (short) 100); org.junit.Assert.fail("Expected exception of type org.joda.time.IllegalFieldValueException; message: Value 100 for monthOfYear must be in the range [1,12]"); } catch (org.joda.time.IllegalFieldValueException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(durationField12); org.junit.Assert.assertTrue("'" + long16 + "' != '" + 3156L + "'", long16 == 3156L); } @Test @Ignore public void test1565() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1565"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.minuteOfHour(); org.joda.time.DateTimeZone dateTimeZone2 = null; org.joda.time.ReadableInstant readableInstant3 = null; org.joda.time.chrono.GJChronology gJChronology5 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone2, readableInstant3, (int) (short) 1); org.joda.time.DateTimeField dateTimeField6 = gJChronology5.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod7 = null; long long10 = gJChronology5.add(readablePeriod7, (long) (short) 1, (int) (byte) -1); long long15 = gJChronology5.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField16 = gJChronology5.seconds(); org.joda.time.DateTimeZone dateTimeZone17 = gJChronology5.getZone(); org.joda.time.Chronology chronology18 = gJChronology0.withZone(dateTimeZone17); org.joda.time.DateTimeField dateTimeField19 = gJChronology0.dayOfWeek(); org.joda.time.DateTimeField dateTimeField20 = gJChronology0.weekyearOfCentury(); org.joda.time.DurationField durationField21 = gJChronology0.centuries(); // The following exception was thrown during execution in test generation try { long long29 = gJChronology0.getDateTimeMillis((int) (short) 100, 100, (int) '4', (int) (byte) 0, (int) (short) -1, 10, (int) (short) 0); org.junit.Assert.fail("Expected exception of type org.joda.time.IllegalFieldValueException; message: Value -1 for minuteOfHour must be in the range [0,59]"); } catch (org.joda.time.IllegalFieldValueException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(gJChronology5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertTrue("'" + long10 + "' != '" + 1L + "'", long10 == 1L); org.junit.Assert.assertTrue("'" + long15 + "' != '" + (-61062076799990L) + "'", long15 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(dateTimeZone17); org.junit.Assert.assertNotNull(chronology18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(dateTimeField20); org.junit.Assert.assertNotNull(durationField21); } @Test public void test1566() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1566"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.secondOfMinute(); org.joda.time.DateTimeZone dateTimeZone7 = null; org.joda.time.ReadableInstant readableInstant8 = null; org.joda.time.chrono.GJChronology gJChronology10 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone7, readableInstant8, (int) (short) 1); boolean boolean12 = gJChronology10.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField13 = gJChronology10.year(); org.joda.time.DateTimeZone dateTimeZone14 = gJChronology10.getZone(); org.joda.time.chrono.GJChronology gJChronology17 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone14, 1665L, (int) (short) 1); org.joda.time.Chronology chronology18 = gJChronology3.withZone(dateTimeZone14); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.dayOfMonth(); // The following exception was thrown during execution in test generation try { long long25 = gJChronology3.getDateTimeMillis(604004L, (int) '#', (int) (short) -1, (int) 'a', 10); org.junit.Assert.fail("Expected exception of type org.joda.time.IllegalFieldValueException; message: Value 35 for hourOfDay must be in the range [0,23]"); } catch (org.joda.time.IllegalFieldValueException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(gJChronology10); org.junit.Assert.assertTrue("'" + boolean12 + "' != '" + false + "'", boolean12 == false); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(dateTimeZone14); org.junit.Assert.assertNotNull(gJChronology17); org.junit.Assert.assertNotNull(chronology18); org.junit.Assert.assertNotNull(dateTimeField19); } @Test @Ignore public void test1567() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1567"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.dayOfWeek(); org.joda.time.DurationField durationField16 = gJChronology3.years(); org.joda.time.DurationField durationField17 = gJChronology3.halfdays(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.halfdayOfDay(); org.joda.time.DurationField durationField19 = gJChronology3.seconds(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(durationField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(durationField19); } @Test public void test1568() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1568"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.clockhourOfDay(); org.joda.time.Chronology chronology6 = gJChronology3.withUTC(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.secondOfMinute(); org.joda.time.DurationField durationField8 = gJChronology3.centuries(); org.joda.time.DateTimeZone dateTimeZone9 = null; org.joda.time.ReadableInstant readableInstant10 = null; org.joda.time.chrono.GJChronology gJChronology12 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone9, readableInstant10, (int) (short) 1); boolean boolean14 = gJChronology12.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField15 = gJChronology12.year(); org.joda.time.Instant instant16 = gJChronology12.getGregorianCutover(); org.joda.time.DurationField durationField17 = gJChronology12.millis(); org.joda.time.DateTimeField dateTimeField18 = gJChronology12.year(); org.joda.time.DurationField durationField19 = gJChronology12.halfdays(); boolean boolean20 = gJChronology3.equals((java.lang.Object) gJChronology12); org.joda.time.DurationField durationField21 = gJChronology12.centuries(); org.joda.time.DateTimeField dateTimeField22 = gJChronology12.era(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(chronology6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(gJChronology12); org.junit.Assert.assertTrue("'" + boolean14 + "' != '" + false + "'", boolean14 == false); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(instant16); org.junit.Assert.assertNotNull(durationField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(durationField19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + true + "'", boolean20 == true); org.junit.Assert.assertNotNull(durationField21); org.junit.Assert.assertNotNull(dateTimeField22); } @Test public void test1569() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1569"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); boolean boolean13 = gJChronology11.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField14 = gJChronology11.year(); org.joda.time.Instant instant15 = gJChronology11.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology17 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone7, (org.joda.time.ReadableInstant) instant15, (int) (byte) 1); org.joda.time.DateTimeZone dateTimeZone18 = null; org.joda.time.ReadableInstant readableInstant19 = null; org.joda.time.chrono.GJChronology gJChronology21 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone18, readableInstant19, (int) (short) 1); org.joda.time.DateTimeField dateTimeField22 = gJChronology21.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField23 = gJChronology21.year(); org.joda.time.DurationField durationField24 = gJChronology21.centuries(); org.joda.time.DateTimeField dateTimeField25 = gJChronology21.hourOfDay(); org.joda.time.DurationField durationField26 = gJChronology21.days(); org.joda.time.DateTimeField dateTimeField27 = gJChronology21.dayOfMonth(); org.joda.time.Instant instant28 = gJChronology21.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology30 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone7, (org.joda.time.ReadableInstant) instant28, (int) (short) 1); org.joda.time.chrono.GJChronology gJChronology33 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone7, 3156L, (int) (short) 1); org.joda.time.chrono.GJChronology gJChronology34 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertTrue("'" + boolean13 + "' != '" + false + "'", boolean13 == false); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(instant15); org.junit.Assert.assertNotNull(gJChronology17); org.junit.Assert.assertNotNull(gJChronology21); org.junit.Assert.assertNotNull(dateTimeField22); org.junit.Assert.assertNotNull(dateTimeField23); org.junit.Assert.assertNotNull(durationField24); org.junit.Assert.assertNotNull(dateTimeField25); org.junit.Assert.assertNotNull(durationField26); org.junit.Assert.assertNotNull(dateTimeField27); org.junit.Assert.assertNotNull(instant28); org.junit.Assert.assertNotNull(gJChronology30); org.junit.Assert.assertNotNull(gJChronology33); org.junit.Assert.assertNotNull(gJChronology34); } @Test @Ignore public void test1570() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1570"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.minuteOfHour(); org.joda.time.DateTimeZone dateTimeZone2 = null; org.joda.time.ReadableInstant readableInstant3 = null; org.joda.time.chrono.GJChronology gJChronology5 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone2, readableInstant3, (int) (short) 1); org.joda.time.DateTimeField dateTimeField6 = gJChronology5.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod7 = null; long long10 = gJChronology5.add(readablePeriod7, (long) (short) 1, (int) (byte) -1); long long15 = gJChronology5.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField16 = gJChronology5.seconds(); org.joda.time.DateTimeZone dateTimeZone17 = gJChronology5.getZone(); org.joda.time.Chronology chronology18 = gJChronology0.withZone(dateTimeZone17); org.joda.time.DateTimeField dateTimeField19 = gJChronology0.minuteOfHour(); org.joda.time.DurationField durationField20 = gJChronology0.hours(); org.joda.time.DurationField durationField21 = gJChronology0.millis(); org.joda.time.DurationField durationField22 = gJChronology0.hours(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(gJChronology5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertTrue("'" + long10 + "' != '" + 1L + "'", long10 == 1L); org.junit.Assert.assertTrue("'" + long15 + "' != '" + (-61062076799990L) + "'", long15 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(dateTimeZone17); org.junit.Assert.assertNotNull(chronology18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(durationField20); org.junit.Assert.assertNotNull(durationField21); org.junit.Assert.assertNotNull(durationField22); } @Test @Ignore public void test1571() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1571"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); org.joda.time.DateTimeField dateTimeField12 = gJChronology11.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod13 = null; long long16 = gJChronology11.add(readablePeriod13, (long) (short) 1, (int) (byte) -1); long long21 = gJChronology11.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField22 = gJChronology11.millis(); boolean boolean23 = gJChronology3.equals((java.lang.Object) gJChronology11); org.joda.time.DurationField durationField24 = gJChronology11.seconds(); org.joda.time.chrono.GJChronology gJChronology25 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField26 = gJChronology25.weeks(); org.joda.time.DateTimeField dateTimeField27 = gJChronology25.clockhourOfHalfday(); org.joda.time.DateTimeField dateTimeField28 = gJChronology25.hourOfDay(); org.joda.time.DateTimeZone dateTimeZone29 = gJChronology25.getZone(); org.joda.time.chrono.GJChronology gJChronology30 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone29); org.joda.time.chrono.GJChronology gJChronology31 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone29); org.joda.time.Chronology chronology32 = gJChronology11.withZone(dateTimeZone29); org.joda.time.DateTimeField dateTimeField33 = gJChronology11.hourOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertTrue("'" + long16 + "' != '" + 1L + "'", long16 == 1L); org.junit.Assert.assertTrue("'" + long21 + "' != '" + (-61062076799990L) + "'", long21 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField22); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + true + "'", boolean23 == true); org.junit.Assert.assertNotNull(durationField24); org.junit.Assert.assertNotNull(gJChronology25); org.junit.Assert.assertNotNull(durationField26); org.junit.Assert.assertNotNull(dateTimeField27); org.junit.Assert.assertNotNull(dateTimeField28); org.junit.Assert.assertNotNull(dateTimeZone29); org.junit.Assert.assertNotNull(gJChronology30); org.junit.Assert.assertNotNull(gJChronology31); org.junit.Assert.assertNotNull(chronology32); org.junit.Assert.assertNotNull(dateTimeField33); } @Test @Ignore public void test1572() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1572"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeZone dateTimeZone9 = gJChronology3.getZone(); org.joda.time.DateTimeZone dateTimeZone10 = null; org.joda.time.ReadableInstant readableInstant11 = null; org.joda.time.chrono.GJChronology gJChronology13 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone10, readableInstant11, (int) (short) 1); boolean boolean15 = gJChronology13.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField16 = gJChronology13.year(); org.joda.time.DateTimeZone dateTimeZone17 = gJChronology13.getZone(); org.joda.time.DateTimeZone dateTimeZone18 = null; org.joda.time.ReadableInstant readableInstant19 = null; org.joda.time.chrono.GJChronology gJChronology21 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone18, readableInstant19, (int) (short) 1); boolean boolean23 = gJChronology21.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField24 = gJChronology21.year(); org.joda.time.Instant instant25 = gJChronology21.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology27 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone17, (org.joda.time.ReadableInstant) instant25, (int) (byte) 1); org.joda.time.chrono.GJChronology gJChronology30 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone17, (-21852L), (int) (short) 1); org.joda.time.DateTimeZone dateTimeZone31 = null; org.joda.time.ReadableInstant readableInstant32 = null; org.joda.time.chrono.GJChronology gJChronology34 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone31, readableInstant32, (int) (short) 1); org.joda.time.DateTimeField dateTimeField35 = gJChronology34.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod36 = null; long long39 = gJChronology34.add(readablePeriod36, (long) (short) 1, (int) (byte) -1); long long44 = gJChronology34.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField45 = gJChronology34.weeks(); org.joda.time.DurationField durationField46 = gJChronology34.years(); org.joda.time.DateTimeField dateTimeField47 = gJChronology34.era(); org.joda.time.DateTimeField dateTimeField48 = gJChronology34.millisOfSecond(); org.joda.time.DurationField durationField49 = gJChronology34.centuries(); org.joda.time.Instant instant50 = gJChronology34.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology51 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone17, (org.joda.time.ReadableInstant) instant50); // The following exception was thrown during execution in test generation try { org.joda.time.chrono.GJChronology gJChronology53 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone9, (org.joda.time.ReadableInstant) instant50, 100); org.junit.Assert.fail("Expected exception of type java.lang.IllegalArgumentException; message: Invalid min days in first week: 100"); } catch (java.lang.IllegalArgumentException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertNotNull(dateTimeZone9); org.junit.Assert.assertNotNull(gJChronology13); org.junit.Assert.assertTrue("'" + boolean15 + "' != '" + false + "'", boolean15 == false); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeZone17); org.junit.Assert.assertNotNull(gJChronology21); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + false + "'", boolean23 == false); org.junit.Assert.assertNotNull(dateTimeField24); org.junit.Assert.assertNotNull(instant25); org.junit.Assert.assertNotNull(gJChronology27); org.junit.Assert.assertNotNull(gJChronology30); org.junit.Assert.assertNotNull(gJChronology34); org.junit.Assert.assertNotNull(dateTimeField35); org.junit.Assert.assertTrue("'" + long39 + "' != '" + 1L + "'", long39 == 1L); org.junit.Assert.assertTrue("'" + long44 + "' != '" + (-61062076799990L) + "'", long44 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField45); org.junit.Assert.assertNotNull(durationField46); org.junit.Assert.assertNotNull(dateTimeField47); org.junit.Assert.assertNotNull(dateTimeField48); org.junit.Assert.assertNotNull(durationField49); org.junit.Assert.assertNotNull(instant50); org.junit.Assert.assertNotNull(gJChronology51); } @Test public void test1573() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1573"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.year(); long long9 = gJChronology3.add((long) 10, (long) (byte) 100, (int) (short) 0); org.joda.time.DurationField durationField10 = gJChronology3.seconds(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertTrue("'" + long9 + "' != '" + 10L + "'", long9 == 10L); org.junit.Assert.assertNotNull(durationField10); } @Test public void test1574() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1574"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.days(); org.joda.time.DurationField durationField8 = gJChronology3.seconds(); int int9 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.clockhourOfDay(); org.joda.time.DurationField durationField11 = gJChronology3.minutes(); int int12 = gJChronology3.getMinimumDaysInFirstWeek(); // The following exception was thrown during execution in test generation try { long long20 = gJChronology3.getDateTimeMillis((int) (byte) 0, (int) '#', 1, (int) '4', 10, (int) ' ', (int) (byte) -1); org.junit.Assert.fail("Expected exception of type org.joda.time.IllegalFieldValueException; message: Value 52 for hourOfDay must be in the range [0,23]"); } catch (org.joda.time.IllegalFieldValueException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertTrue("'" + int9 + "' != '" + 1 + "'", int9 == 1); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(durationField11); org.junit.Assert.assertTrue("'" + int12 + "' != '" + 1 + "'", int12 == 1); } @Test public void test1575() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1575"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long12 = gJChronology3.add(1L, (long) '4', (int) (short) 0); org.joda.time.DurationField durationField13 = gJChronology3.years(); org.joda.time.DateTimeField dateTimeField14 = gJChronology3.minuteOfHour(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.clockhourOfHalfday(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long12 + "' != '" + 1L + "'", long12 == 1L); org.junit.Assert.assertNotNull(durationField13); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(dateTimeField15); } @Test @Ignore public void test1576() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1576"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.minuteOfHour(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.weekOfWeekyear(); org.joda.time.Chronology chronology3 = gJChronology0.withUTC(); org.joda.time.DurationField durationField4 = gJChronology0.seconds(); java.lang.String str5 = gJChronology0.toString(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertNotNull(chronology3); org.junit.Assert.assertNotNull(durationField4); org.junit.Assert.assertEquals("'" + str5 + "' != '" + "GJChronology[Etc/UTC]" + "'", str5, "GJChronology[Etc/UTC]"); } @Test public void test1577() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1577"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); boolean boolean13 = gJChronology11.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField14 = gJChronology11.year(); org.joda.time.Instant instant15 = gJChronology11.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology16 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone7, (org.joda.time.ReadableInstant) instant15); org.joda.time.DurationField durationField17 = gJChronology16.seconds(); org.joda.time.DurationField durationField18 = gJChronology16.seconds(); org.joda.time.DurationField durationField19 = gJChronology16.months(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertTrue("'" + boolean13 + "' != '" + false + "'", boolean13 == false); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(instant15); org.junit.Assert.assertNotNull(gJChronology16); org.junit.Assert.assertNotNull(durationField17); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(durationField19); } @Test @Ignore public void test1578() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1578"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.dayOfWeek(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.secondOfDay(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.dayOfMonth(); org.joda.time.DateTimeZone dateTimeZone10 = null; org.joda.time.ReadableInstant readableInstant11 = null; org.joda.time.chrono.GJChronology gJChronology13 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone10, readableInstant11, (int) (short) 1); boolean boolean15 = gJChronology13.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField16 = gJChronology13.year(); org.joda.time.DateTimeZone dateTimeZone17 = gJChronology13.getZone(); org.joda.time.DateTimeZone dateTimeZone18 = null; org.joda.time.ReadableInstant readableInstant19 = null; org.joda.time.chrono.GJChronology gJChronology21 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone18, readableInstant19, (int) (short) 1); org.joda.time.DateTimeField dateTimeField22 = gJChronology21.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod23 = null; long long26 = gJChronology21.add(readablePeriod23, (long) (short) 1, (int) (byte) -1); long long31 = gJChronology21.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField32 = gJChronology21.millis(); boolean boolean33 = gJChronology13.equals((java.lang.Object) gJChronology21); org.joda.time.DateTimeField dateTimeField34 = gJChronology13.halfdayOfDay(); org.joda.time.DurationField durationField35 = gJChronology13.hours(); org.joda.time.DateTimeField dateTimeField36 = gJChronology13.centuryOfEra(); org.joda.time.DurationField durationField37 = gJChronology13.halfdays(); org.joda.time.ReadablePeriod readablePeriod38 = null; long long41 = gJChronology13.add(readablePeriod38, (-42L), (-1)); org.joda.time.DateTimeField dateTimeField42 = gJChronology13.clockhourOfDay(); boolean boolean43 = gJChronology3.equals((java.lang.Object) gJChronology13); org.joda.time.DateTimeField dateTimeField44 = gJChronology13.hourOfHalfday(); org.joda.time.ReadablePeriod readablePeriod45 = null; // The following exception was thrown during execution in test generation try { int[] intArray47 = gJChronology13.get(readablePeriod45, 9L); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(gJChronology13); org.junit.Assert.assertTrue("'" + boolean15 + "' != '" + false + "'", boolean15 == false); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeZone17); org.junit.Assert.assertNotNull(gJChronology21); org.junit.Assert.assertNotNull(dateTimeField22); org.junit.Assert.assertTrue("'" + long26 + "' != '" + 1L + "'", long26 == 1L); org.junit.Assert.assertTrue("'" + long31 + "' != '" + (-61062076799990L) + "'", long31 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField32); org.junit.Assert.assertTrue("'" + boolean33 + "' != '" + true + "'", boolean33 == true); org.junit.Assert.assertNotNull(dateTimeField34); org.junit.Assert.assertNotNull(durationField35); org.junit.Assert.assertNotNull(dateTimeField36); org.junit.Assert.assertNotNull(durationField37); org.junit.Assert.assertTrue("'" + long41 + "' != '" + (-42L) + "'", long41 == (-42L)); org.junit.Assert.assertNotNull(dateTimeField42); org.junit.Assert.assertTrue("'" + boolean43 + "' != '" + true + "'", boolean43 == true); org.junit.Assert.assertNotNull(dateTimeField44); } @Test public void test1579() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1579"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.yearOfEra(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.weekOfWeekyear(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.centuryOfEra(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.dayOfWeek(); org.joda.time.DateTimeField dateTimeField13 = gJChronology3.weekyearOfCentury(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(dateTimeField13); } @Test public void test1580() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1580"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.weekyearOfCentury(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.clockhourOfDay(); // The following exception was thrown during execution in test generation try { long long8 = gJChronology0.getDateTimeMillis((-6106207680021852L), (int) '4', (int) (short) -1, (int) (short) 10, 0); org.junit.Assert.fail("Expected exception of type org.joda.time.IllegalFieldValueException; message: Value 52 for hourOfDay must be in the range [0,23]"); } catch (org.joda.time.IllegalFieldValueException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(dateTimeField2); } @Test @Ignore public void test1581() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1581"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); org.joda.time.DateTimeField dateTimeField12 = gJChronology11.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod13 = null; long long16 = gJChronology11.add(readablePeriod13, (long) (short) 1, (int) (byte) -1); long long21 = gJChronology11.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField22 = gJChronology11.millis(); boolean boolean23 = gJChronology3.equals((java.lang.Object) gJChronology11); org.joda.time.DateTimeField dateTimeField24 = gJChronology3.halfdayOfDay(); org.joda.time.DurationField durationField25 = gJChronology3.hours(); org.joda.time.DateTimeField dateTimeField26 = gJChronology3.centuryOfEra(); org.joda.time.DurationField durationField27 = gJChronology3.halfdays(); org.joda.time.ReadablePeriod readablePeriod28 = null; long long31 = gJChronology3.add(readablePeriod28, (-42L), (-1)); org.joda.time.DateTimeField dateTimeField32 = gJChronology3.centuryOfEra(); org.joda.time.DateTimeZone dateTimeZone33 = null; org.joda.time.ReadableInstant readableInstant34 = null; org.joda.time.chrono.GJChronology gJChronology36 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone33, readableInstant34, (int) (short) 1); boolean boolean38 = gJChronology36.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField39 = gJChronology36.year(); org.joda.time.DateTimeZone dateTimeZone40 = gJChronology36.getZone(); org.joda.time.chrono.GJChronology gJChronology43 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone40, 1665L, (int) (short) 1); org.joda.time.DurationField durationField44 = gJChronology43.months(); org.joda.time.DateTimeField dateTimeField45 = gJChronology43.yearOfEra(); org.joda.time.DateTimeField dateTimeField46 = gJChronology43.millisOfSecond(); boolean boolean47 = gJChronology3.equals((java.lang.Object) gJChronology43); org.joda.time.DateTimeField dateTimeField48 = gJChronology43.millisOfSecond(); org.joda.time.DateTimeField dateTimeField49 = gJChronology43.secondOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertTrue("'" + long16 + "' != '" + 1L + "'", long16 == 1L); org.junit.Assert.assertTrue("'" + long21 + "' != '" + (-61062076799990L) + "'", long21 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField22); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + true + "'", boolean23 == true); org.junit.Assert.assertNotNull(dateTimeField24); org.junit.Assert.assertNotNull(durationField25); org.junit.Assert.assertNotNull(dateTimeField26); org.junit.Assert.assertNotNull(durationField27); org.junit.Assert.assertTrue("'" + long31 + "' != '" + (-42L) + "'", long31 == (-42L)); org.junit.Assert.assertNotNull(dateTimeField32); org.junit.Assert.assertNotNull(gJChronology36); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(dateTimeField39); org.junit.Assert.assertNotNull(dateTimeZone40); org.junit.Assert.assertNotNull(gJChronology43); org.junit.Assert.assertNotNull(durationField44); org.junit.Assert.assertNotNull(dateTimeField45); org.junit.Assert.assertNotNull(dateTimeField46); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(dateTimeField48); org.junit.Assert.assertNotNull(dateTimeField49); } @Test @Ignore public void test1582() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1582"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.weekyear(); org.joda.time.DurationField durationField16 = gJChronology3.seconds(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.clockhourOfHalfday(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(dateTimeField17); } @Test public void test1583() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1583"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeZone dateTimeZone9 = gJChronology3.getZone(); org.joda.time.ReadableInstant readableInstant10 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone9, readableInstant10); org.joda.time.DateTimeZone dateTimeZone12 = null; org.joda.time.ReadableInstant readableInstant13 = null; org.joda.time.chrono.GJChronology gJChronology15 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone12, readableInstant13, (int) (short) 1); boolean boolean17 = gJChronology15.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField18 = gJChronology15.year(); org.joda.time.DateTimeZone dateTimeZone19 = gJChronology15.getZone(); org.joda.time.DateTimeZone dateTimeZone20 = null; org.joda.time.ReadableInstant readableInstant21 = null; org.joda.time.chrono.GJChronology gJChronology23 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone20, readableInstant21, (int) (short) 1); boolean boolean25 = gJChronology23.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField26 = gJChronology23.year(); org.joda.time.Instant instant27 = gJChronology23.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology28 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone19, (org.joda.time.ReadableInstant) instant27); org.joda.time.chrono.GJChronology gJChronology29 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone9, (org.joda.time.ReadableInstant) instant27); org.joda.time.chrono.GJChronology gJChronology30 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField31 = gJChronology30.minuteOfHour(); org.joda.time.DateTimeField dateTimeField32 = gJChronology30.weekOfWeekyear(); org.joda.time.Instant instant33 = gJChronology30.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology34 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone9, (org.joda.time.ReadableInstant) instant33); org.joda.time.DateTimeField dateTimeField35 = gJChronology34.monthOfYear(); org.joda.time.DateTimeField dateTimeField36 = gJChronology34.minuteOfDay(); org.joda.time.DurationField durationField37 = gJChronology34.minutes(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertNotNull(dateTimeZone9); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(gJChronology15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(dateTimeZone19); org.junit.Assert.assertNotNull(gJChronology23); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); org.junit.Assert.assertNotNull(dateTimeField26); org.junit.Assert.assertNotNull(instant27); org.junit.Assert.assertNotNull(gJChronology28); org.junit.Assert.assertNotNull(gJChronology29); org.junit.Assert.assertNotNull(gJChronology30); org.junit.Assert.assertNotNull(dateTimeField31); org.junit.Assert.assertNotNull(dateTimeField32); org.junit.Assert.assertNotNull(instant33); org.junit.Assert.assertNotNull(gJChronology34); org.junit.Assert.assertNotNull(dateTimeField35); org.junit.Assert.assertNotNull(dateTimeField36); org.junit.Assert.assertNotNull(durationField37); } @Test public void test1584() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1584"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.days(); org.joda.time.DurationField durationField8 = gJChronology3.seconds(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.yearOfEra(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.hourOfDay(); org.joda.time.DurationField durationField11 = gJChronology3.centuries(); org.joda.time.DurationField durationField12 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField13 = gJChronology3.weekyearOfCentury(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(durationField11); org.junit.Assert.assertNotNull(durationField12); org.junit.Assert.assertNotNull(dateTimeField13); } @Test public void test1585() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1585"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.centuryOfEra(); org.joda.time.DurationField durationField7 = gJChronology3.centuries(); org.joda.time.DateTimeZone dateTimeZone8 = gJChronology3.getZone(); org.joda.time.DurationField durationField9 = gJChronology3.days(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.dayOfYear(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.minuteOfHour(); org.joda.time.DurationField durationField12 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField13 = gJChronology3.secondOfDay(); org.joda.time.DateTimeZone dateTimeZone14 = null; org.joda.time.ReadableInstant readableInstant15 = null; org.joda.time.chrono.GJChronology gJChronology17 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone14, readableInstant15, (int) (short) 1); boolean boolean19 = gJChronology17.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField20 = gJChronology17.year(); org.joda.time.DateTimeField dateTimeField21 = gJChronology17.dayOfWeek(); org.joda.time.DateTimeZone dateTimeZone22 = null; org.joda.time.ReadableInstant readableInstant23 = null; org.joda.time.chrono.GJChronology gJChronology25 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone22, readableInstant23, (int) (short) 1); org.joda.time.DateTimeField dateTimeField26 = gJChronology25.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField27 = gJChronology25.year(); org.joda.time.DurationField durationField28 = gJChronology25.centuries(); org.joda.time.DateTimeField dateTimeField29 = gJChronology25.dayOfMonth(); boolean boolean30 = gJChronology17.equals((java.lang.Object) dateTimeField29); org.joda.time.DurationField durationField31 = gJChronology17.months(); org.joda.time.DateTimeField dateTimeField32 = gJChronology17.clockhourOfDay(); boolean boolean33 = gJChronology3.equals((java.lang.Object) dateTimeField32); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(dateTimeZone8); org.junit.Assert.assertNotNull(durationField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(durationField12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(gJChronology17); org.junit.Assert.assertTrue("'" + boolean19 + "' != '" + false + "'", boolean19 == false); org.junit.Assert.assertNotNull(dateTimeField20); org.junit.Assert.assertNotNull(dateTimeField21); org.junit.Assert.assertNotNull(gJChronology25); org.junit.Assert.assertNotNull(dateTimeField26); org.junit.Assert.assertNotNull(dateTimeField27); org.junit.Assert.assertNotNull(durationField28); org.junit.Assert.assertNotNull(dateTimeField29); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(durationField31); org.junit.Assert.assertNotNull(dateTimeField32); org.junit.Assert.assertTrue("'" + boolean33 + "' != '" + false + "'", boolean33 == false); } @Test public void test1586() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1586"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.days(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.weekyear(); int int9 = gJChronology3.getMinimumDaysInFirstWeek(); int int10 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DurationField durationField11 = gJChronology3.eras(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertTrue("'" + int9 + "' != '" + 1 + "'", int9 == 1); org.junit.Assert.assertTrue("'" + int10 + "' != '" + 1 + "'", int10 == 1); org.junit.Assert.assertNotNull(durationField11); } @Test public void test1587() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1587"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.year(); org.joda.time.DurationField durationField6 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.dayOfMonth(); org.joda.time.DurationField durationField8 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.halfdayOfDay(); org.joda.time.ReadablePeriod readablePeriod10 = null; long long13 = gJChronology3.add(readablePeriod10, (long) (byte) 0, (int) '#'); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertTrue("'" + long13 + "' != '" + 0L + "'", long13 == 0L); } @Test @Ignore public void test1588() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1588"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); org.joda.time.DateTimeField dateTimeField12 = gJChronology11.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod13 = null; long long16 = gJChronology11.add(readablePeriod13, (long) (short) 1, (int) (byte) -1); long long21 = gJChronology11.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField22 = gJChronology11.millis(); boolean boolean23 = gJChronology3.equals((java.lang.Object) gJChronology11); org.joda.time.DateTimeField dateTimeField24 = gJChronology3.halfdayOfDay(); org.joda.time.DurationField durationField25 = gJChronology3.hours(); org.joda.time.DateTimeField dateTimeField26 = gJChronology3.centuryOfEra(); org.joda.time.DateTimeField dateTimeField27 = gJChronology3.yearOfCentury(); org.joda.time.DateTimeField dateTimeField28 = gJChronology3.dayOfWeek(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertTrue("'" + long16 + "' != '" + 1L + "'", long16 == 1L); org.junit.Assert.assertTrue("'" + long21 + "' != '" + (-61062076799990L) + "'", long21 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField22); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + true + "'", boolean23 == true); org.junit.Assert.assertNotNull(dateTimeField24); org.junit.Assert.assertNotNull(durationField25); org.junit.Assert.assertNotNull(dateTimeField26); org.junit.Assert.assertNotNull(dateTimeField27); org.junit.Assert.assertNotNull(dateTimeField28); } @Test public void test1589() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1589"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField1 = gJChronology0.weeks(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.clockhourOfHalfday(); org.joda.time.DateTimeField dateTimeField3 = gJChronology0.dayOfYear(); org.joda.time.DateTimeField dateTimeField4 = gJChronology0.halfdayOfDay(); org.joda.time.Chronology chronology5 = gJChronology0.withUTC(); org.joda.time.DateTimeField dateTimeField6 = gJChronology0.halfdayOfDay(); org.joda.time.DateTimeZone dateTimeZone7 = null; org.joda.time.ReadableInstant readableInstant8 = null; org.joda.time.chrono.GJChronology gJChronology10 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone7, readableInstant8, (int) (short) 1); org.joda.time.DateTimeField dateTimeField11 = gJChronology10.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod12 = null; long long15 = gJChronology10.add(readablePeriod12, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeZone dateTimeZone16 = gJChronology10.getZone(); org.joda.time.Chronology chronology17 = gJChronology0.withZone(dateTimeZone16); org.joda.time.DurationField durationField18 = gJChronology0.centuries(); org.joda.time.DurationField durationField19 = gJChronology0.weekyears(); org.joda.time.DateTimeField dateTimeField20 = gJChronology0.weekyearOfCentury(); org.joda.time.DateTimeField dateTimeField21 = gJChronology0.era(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(durationField1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertNotNull(dateTimeField3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(chronology5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(gJChronology10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertTrue("'" + long15 + "' != '" + 1L + "'", long15 == 1L); org.junit.Assert.assertNotNull(dateTimeZone16); org.junit.Assert.assertNotNull(chronology17); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(durationField19); org.junit.Assert.assertNotNull(dateTimeField20); org.junit.Assert.assertNotNull(dateTimeField21); } @Test public void test1590() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1590"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.Instant instant7 = gJChronology3.getGregorianCutover(); org.joda.time.DurationField durationField8 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.minuteOfHour(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.monthOfYear(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.weekOfWeekyear(); // The following exception was thrown during execution in test generation try { long long17 = gJChronology3.getDateTimeMillis(0L, 100, (int) '#', (int) '4', (int) (byte) 0); org.junit.Assert.fail("Expected exception of type org.joda.time.IllegalFieldValueException; message: Value 100 for hourOfDay must be in the range [0,23]"); } catch (org.joda.time.IllegalFieldValueException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(instant7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeField11); } @Test public void test1591() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1591"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.dayOfWeek(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); org.joda.time.DateTimeField dateTimeField12 = gJChronology11.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField13 = gJChronology11.year(); org.joda.time.DurationField durationField14 = gJChronology11.centuries(); org.joda.time.DateTimeField dateTimeField15 = gJChronology11.dayOfMonth(); boolean boolean16 = gJChronology3.equals((java.lang.Object) dateTimeField15); org.joda.time.Chronology chronology17 = gJChronology3.withUTC(); org.joda.time.DurationField durationField18 = gJChronology3.halfdays(); org.joda.time.DateTimeZone dateTimeZone19 = null; org.joda.time.ReadableInstant readableInstant20 = null; org.joda.time.chrono.GJChronology gJChronology22 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone19, readableInstant20, (int) (short) 1); boolean boolean24 = gJChronology22.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField25 = gJChronology22.year(); org.joda.time.DateTimeZone dateTimeZone26 = gJChronology22.getZone(); org.joda.time.DateTimeField dateTimeField27 = gJChronology22.minuteOfDay(); org.joda.time.DateTimeZone dateTimeZone28 = gJChronology22.getZone(); org.joda.time.chrono.GJChronology gJChronology29 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone28); org.joda.time.Chronology chronology30 = gJChronology3.withZone(dateTimeZone28); org.joda.time.DateTimeField dateTimeField31 = gJChronology3.millisOfSecond(); org.joda.time.DurationField durationField32 = gJChronology3.halfdays(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertNotNull(chronology17); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(gJChronology22); org.junit.Assert.assertTrue("'" + boolean24 + "' != '" + false + "'", boolean24 == false); org.junit.Assert.assertNotNull(dateTimeField25); org.junit.Assert.assertNotNull(dateTimeZone26); org.junit.Assert.assertNotNull(dateTimeField27); org.junit.Assert.assertNotNull(dateTimeZone28); org.junit.Assert.assertNotNull(gJChronology29); org.junit.Assert.assertNotNull(chronology30); org.junit.Assert.assertNotNull(dateTimeField31); org.junit.Assert.assertNotNull(durationField32); } @Test public void test1592() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1592"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.days(); org.joda.time.DurationField durationField8 = gJChronology3.seconds(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.yearOfEra(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.hourOfDay(); org.joda.time.DurationField durationField11 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.hourOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(durationField11); org.junit.Assert.assertNotNull(dateTimeField12); } @Test @Ignore public void test1593() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1593"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.chrono.GJChronology gJChronology10 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone7, 1665L, (int) (short) 1); org.joda.time.Chronology chronology11 = gJChronology10.withUTC(); java.lang.String str12 = gJChronology10.toString(); org.joda.time.DurationField durationField13 = gJChronology10.hours(); org.joda.time.ReadablePeriod readablePeriod14 = null; // The following exception was thrown during execution in test generation try { int[] intArray17 = gJChronology10.get(readablePeriod14, (-194L), (-1631L)); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology10); org.junit.Assert.assertNotNull(chronology11); org.junit.Assert.assertEquals("'" + str12 + "' != '" + "GJChronology[Etc/UTC,cutover=1970-01-01T00:00:01.665Z,mdfw=1]" + "'", str12, "GJChronology[Etc/UTC,cutover=1970-01-01T00:00:01.665Z,mdfw=1]"); org.junit.Assert.assertNotNull(durationField13); } @Test @Ignore public void test1594() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1594"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.weekyears(); java.lang.String str15 = gJChronology3.toString(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.minuteOfHour(); org.joda.time.DurationField durationField17 = gJChronology3.weekyears(); org.joda.time.DurationField durationField18 = gJChronology3.eras(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertEquals("'" + str15 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str15, "GJChronology[Etc/UTC,mdfw=1]"); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(durationField17); org.junit.Assert.assertNotNull(durationField18); } @Test public void test1595() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1595"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField1 = gJChronology0.weeks(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.clockhourOfHalfday(); org.joda.time.DurationField durationField3 = gJChronology0.days(); org.joda.time.DateTimeField dateTimeField4 = gJChronology0.yearOfEra(); org.joda.time.DurationField durationField5 = gJChronology0.hours(); org.joda.time.ReadablePeriod readablePeriod6 = null; // The following exception was thrown during execution in test generation try { int[] intArray8 = gJChronology0.get(readablePeriod6, 1L); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(durationField1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertNotNull(durationField3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(durationField5); } @Test public void test1596() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1596"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField1 = gJChronology0.weeks(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.clockhourOfHalfday(); org.joda.time.DateTimeField dateTimeField3 = gJChronology0.dayOfYear(); org.joda.time.DateTimeField dateTimeField4 = gJChronology0.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology0.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField6 = gJChronology0.minuteOfHour(); org.joda.time.DateTimeField dateTimeField7 = gJChronology0.weekyearOfCentury(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(durationField1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertNotNull(dateTimeField3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); } @Test @Ignore public void test1597() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1597"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.millisOfDay(); org.joda.time.DateTimeZone dateTimeZone17 = null; org.joda.time.Chronology chronology18 = gJChronology3.withZone(dateTimeZone17); org.joda.time.DateTimeZone dateTimeZone19 = null; org.joda.time.Chronology chronology20 = gJChronology3.withZone(dateTimeZone19); java.lang.Class<?> wildcardClass21 = gJChronology3.getClass(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(chronology18); org.junit.Assert.assertNotNull(chronology20); org.junit.Assert.assertNotNull(wildcardClass21); } @Test public void test1598() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1598"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField1 = gJChronology0.weeks(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.clockhourOfHalfday(); org.joda.time.DurationField durationField3 = gJChronology0.days(); org.joda.time.DateTimeField dateTimeField4 = gJChronology0.secondOfDay(); org.joda.time.DateTimeZone dateTimeZone5 = null; org.joda.time.ReadableInstant readableInstant6 = null; org.joda.time.chrono.GJChronology gJChronology8 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone5, readableInstant6, (int) (short) 1); boolean boolean10 = gJChronology8.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField11 = gJChronology8.year(); org.joda.time.DateTimeZone dateTimeZone12 = gJChronology8.getZone(); org.joda.time.DurationField durationField13 = gJChronology8.centuries(); boolean boolean14 = gJChronology0.equals((java.lang.Object) gJChronology8); org.joda.time.DateTimeField dateTimeField15 = gJChronology0.minuteOfHour(); // The following exception was thrown during execution in test generation try { long long23 = gJChronology0.getDateTimeMillis((int) (short) 10, (int) (short) 100, (int) (byte) -1, (int) (byte) 1, 100, 100, (int) (short) 100); org.junit.Assert.fail("Expected exception of type org.joda.time.IllegalFieldValueException; message: Value 100 for minuteOfHour must be in the range [0,59]"); } catch (org.joda.time.IllegalFieldValueException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(durationField1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertNotNull(durationField3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(gJChronology8); org.junit.Assert.assertTrue("'" + boolean10 + "' != '" + false + "'", boolean10 == false); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(dateTimeZone12); org.junit.Assert.assertNotNull(durationField13); org.junit.Assert.assertTrue("'" + boolean14 + "' != '" + false + "'", boolean14 == false); org.junit.Assert.assertNotNull(dateTimeField15); } @Test @Ignore public void test1599() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1599"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DurationField durationField15 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.weekyear(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.yearOfCentury(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.millisOfDay(); org.joda.time.DateTimeField dateTimeField20 = gJChronology3.dayOfMonth(); org.joda.time.DateTimeField dateTimeField21 = gJChronology3.minuteOfHour(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(dateTimeField20); org.junit.Assert.assertNotNull(dateTimeField21); } @Test public void test1600() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1600"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.minuteOfHour(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.weekOfWeekyear(); org.joda.time.Chronology chronology3 = gJChronology0.withUTC(); int int4 = gJChronology0.getMinimumDaysInFirstWeek(); // The following exception was thrown during execution in test generation try { long long12 = gJChronology0.getDateTimeMillis(100, (int) (short) -1, (int) (byte) 10, (int) '#', 4, (int) (short) -1, (int) (byte) 10); org.junit.Assert.fail("Expected exception of type org.joda.time.IllegalFieldValueException; message: Value 35 for hourOfDay must be in the range [0,23]"); } catch (org.joda.time.IllegalFieldValueException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertNotNull(chronology3); org.junit.Assert.assertTrue("'" + int4 + "' != '" + 4 + "'", int4 == 4); } @Test @Ignore public void test1601() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1601"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.yearOfEra(); java.lang.String str19 = gJChronology3.toString(); org.joda.time.DateTimeZone dateTimeZone20 = null; org.joda.time.ReadableInstant readableInstant21 = null; org.joda.time.chrono.GJChronology gJChronology23 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone20, readableInstant21, (int) (short) 1); boolean boolean25 = gJChronology23.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField26 = gJChronology23.dayOfYear(); org.joda.time.DurationField durationField27 = gJChronology23.days(); org.joda.time.DateTimeField dateTimeField28 = gJChronology23.weekyear(); boolean boolean29 = gJChronology3.equals((java.lang.Object) gJChronology23); org.joda.time.DurationField durationField30 = gJChronology23.seconds(); org.joda.time.DateTimeField dateTimeField31 = gJChronology23.millisOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertEquals("'" + str19 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str19, "GJChronology[Etc/UTC,mdfw=1]"); org.junit.Assert.assertNotNull(gJChronology23); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); org.junit.Assert.assertNotNull(dateTimeField26); org.junit.Assert.assertNotNull(durationField27); org.junit.Assert.assertNotNull(dateTimeField28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + true + "'", boolean29 == true); org.junit.Assert.assertNotNull(durationField30); org.junit.Assert.assertNotNull(dateTimeField31); } @Test public void test1602() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1602"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.days(); org.joda.time.DurationField durationField8 = gJChronology3.seconds(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.minuteOfHour(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.dayOfMonth(); org.joda.time.DurationField durationField12 = gJChronology3.weeks(); org.joda.time.DurationField durationField13 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField14 = gJChronology3.dayOfMonth(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(durationField12); org.junit.Assert.assertNotNull(durationField13); org.junit.Assert.assertNotNull(dateTimeField14); } @Test public void test1603() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1603"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.chrono.GJChronology gJChronology1 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0); org.joda.time.ReadablePeriod readablePeriod2 = null; // The following exception was thrown during execution in test generation try { int[] intArray5 = gJChronology1.get(readablePeriod2, 51L, (-21852L)); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology1); } @Test public void test1604() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1604"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.era(); org.joda.time.DurationField durationField6 = gJChronology3.days(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.minuteOfHour(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.monthOfYear(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.secondOfDay(); org.joda.time.ReadablePeriod readablePeriod11 = null; // The following exception was thrown during execution in test generation try { int[] intArray14 = gJChronology3.get(readablePeriod11, 161463L, 604004L); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); } @Test @Ignore public void test1605() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1605"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.clockhourOfDay(); org.joda.time.DurationField durationField6 = gJChronology3.hours(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.centuryOfEra(); org.joda.time.Instant instant8 = gJChronology3.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology9 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField10 = gJChronology9.minuteOfHour(); org.joda.time.DurationField durationField11 = gJChronology9.months(); org.joda.time.DateTimeZone dateTimeZone12 = null; org.joda.time.ReadableInstant readableInstant13 = null; org.joda.time.chrono.GJChronology gJChronology15 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone12, readableInstant13, (int) (short) 1); org.joda.time.DateTimeField dateTimeField16 = gJChronology15.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod17 = null; long long20 = gJChronology15.add(readablePeriod17, (long) (short) 1, (int) (byte) -1); long long25 = gJChronology15.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField26 = gJChronology15.seconds(); org.joda.time.DateTimeZone dateTimeZone27 = null; org.joda.time.ReadableInstant readableInstant28 = null; org.joda.time.chrono.GJChronology gJChronology30 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone27, readableInstant28, (int) (short) 1); boolean boolean32 = gJChronology30.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField33 = gJChronology30.year(); org.joda.time.DateTimeZone dateTimeZone34 = gJChronology30.getZone(); org.joda.time.DateTimeField dateTimeField35 = gJChronology30.minuteOfDay(); org.joda.time.DateTimeZone dateTimeZone36 = gJChronology30.getZone(); org.joda.time.Chronology chronology37 = gJChronology15.withZone(dateTimeZone36); org.joda.time.Chronology chronology38 = gJChronology9.withZone(dateTimeZone36); org.joda.time.chrono.GJChronology gJChronology39 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField40 = gJChronology39.weeks(); org.joda.time.DateTimeField dateTimeField41 = gJChronology39.clockhourOfHalfday(); org.joda.time.DateTimeField dateTimeField42 = gJChronology39.hourOfDay(); org.joda.time.DateTimeZone dateTimeZone43 = gJChronology39.getZone(); org.joda.time.chrono.GJChronology gJChronology44 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone43); org.joda.time.DateTimeZone dateTimeZone45 = null; org.joda.time.ReadableInstant readableInstant46 = null; org.joda.time.chrono.GJChronology gJChronology48 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone45, readableInstant46, (int) (short) 1); boolean boolean50 = gJChronology48.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField51 = gJChronology48.year(); org.joda.time.Instant instant52 = gJChronology48.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology53 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone43, (org.joda.time.ReadableInstant) instant52); org.joda.time.chrono.GJChronology gJChronology54 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone36, (org.joda.time.ReadableInstant) instant52); org.joda.time.Chronology chronology55 = gJChronology3.withZone(dateTimeZone36); org.joda.time.ReadablePeriod readablePeriod56 = null; long long59 = gJChronology3.add(readablePeriod56, (long) (byte) 0, 100); org.joda.time.DateTimeField dateTimeField60 = gJChronology3.dayOfWeek(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(instant8); org.junit.Assert.assertNotNull(gJChronology9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(durationField11); org.junit.Assert.assertNotNull(gJChronology15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertTrue("'" + long20 + "' != '" + 1L + "'", long20 == 1L); org.junit.Assert.assertTrue("'" + long25 + "' != '" + (-61062076799990L) + "'", long25 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField26); org.junit.Assert.assertNotNull(gJChronology30); org.junit.Assert.assertTrue("'" + boolean32 + "' != '" + false + "'", boolean32 == false); org.junit.Assert.assertNotNull(dateTimeField33); org.junit.Assert.assertNotNull(dateTimeZone34); org.junit.Assert.assertNotNull(dateTimeField35); org.junit.Assert.assertNotNull(dateTimeZone36); org.junit.Assert.assertNotNull(chronology37); org.junit.Assert.assertNotNull(chronology38); org.junit.Assert.assertNotNull(gJChronology39); org.junit.Assert.assertNotNull(durationField40); org.junit.Assert.assertNotNull(dateTimeField41); org.junit.Assert.assertNotNull(dateTimeField42); org.junit.Assert.assertNotNull(dateTimeZone43); org.junit.Assert.assertNotNull(gJChronology44); org.junit.Assert.assertNotNull(gJChronology48); org.junit.Assert.assertTrue("'" + boolean50 + "' != '" + false + "'", boolean50 == false); org.junit.Assert.assertNotNull(dateTimeField51); org.junit.Assert.assertNotNull(instant52); org.junit.Assert.assertNotNull(gJChronology53); org.junit.Assert.assertNotNull(gJChronology54); org.junit.Assert.assertNotNull(chronology55); org.junit.Assert.assertTrue("'" + long59 + "' != '" + 0L + "'", long59 == 0L); org.junit.Assert.assertNotNull(dateTimeField60); } @Test @Ignore public void test1606() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1606"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DurationField durationField15 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.weekyear(); org.joda.time.DurationField durationField17 = gJChronology3.weekyears(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.weekOfWeekyear(); int int19 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DurationField durationField20 = gJChronology3.halfdays(); java.lang.String str21 = gJChronology3.toString(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(durationField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertTrue("'" + int19 + "' != '" + 1 + "'", int19 == 1); org.junit.Assert.assertNotNull(durationField20); org.junit.Assert.assertEquals("'" + str21 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str21, "GJChronology[Etc/UTC,mdfw=1]"); } @Test public void test1607() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1607"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField1 = gJChronology0.weeks(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.clockhourOfHalfday(); org.joda.time.DateTimeField dateTimeField3 = gJChronology0.hourOfDay(); org.joda.time.DateTimeField dateTimeField4 = gJChronology0.dayOfMonth(); org.joda.time.DateTimeField dateTimeField5 = gJChronology0.minuteOfHour(); org.joda.time.DateTimeZone dateTimeZone6 = null; org.joda.time.ReadableInstant readableInstant7 = null; org.joda.time.chrono.GJChronology gJChronology9 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone6, readableInstant7, (int) (short) 1); boolean boolean11 = gJChronology9.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField12 = gJChronology9.year(); org.joda.time.DateTimeField dateTimeField13 = gJChronology9.dayOfWeek(); org.joda.time.DateTimeZone dateTimeZone14 = null; org.joda.time.ReadableInstant readableInstant15 = null; org.joda.time.chrono.GJChronology gJChronology17 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone14, readableInstant15, (int) (short) 1); org.joda.time.DateTimeField dateTimeField18 = gJChronology17.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField19 = gJChronology17.year(); org.joda.time.DurationField durationField20 = gJChronology17.centuries(); org.joda.time.DateTimeField dateTimeField21 = gJChronology17.dayOfMonth(); boolean boolean22 = gJChronology9.equals((java.lang.Object) dateTimeField21); org.joda.time.Chronology chronology23 = gJChronology9.withUTC(); org.joda.time.DurationField durationField24 = gJChronology9.halfdays(); org.joda.time.DateTimeZone dateTimeZone25 = null; org.joda.time.ReadableInstant readableInstant26 = null; org.joda.time.chrono.GJChronology gJChronology28 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone25, readableInstant26, (int) (short) 1); boolean boolean30 = gJChronology28.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField31 = gJChronology28.year(); org.joda.time.DateTimeZone dateTimeZone32 = gJChronology28.getZone(); org.joda.time.DateTimeField dateTimeField33 = gJChronology28.minuteOfDay(); org.joda.time.DateTimeZone dateTimeZone34 = gJChronology28.getZone(); org.joda.time.chrono.GJChronology gJChronology35 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone34); org.joda.time.Chronology chronology36 = gJChronology9.withZone(dateTimeZone34); org.joda.time.Chronology chronology37 = gJChronology0.withZone(dateTimeZone34); org.joda.time.chrono.GJChronology gJChronology38 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone34); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(durationField1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertNotNull(dateTimeField3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(gJChronology9); org.junit.Assert.assertTrue("'" + boolean11 + "' != '" + false + "'", boolean11 == false); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(gJChronology17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(durationField20); org.junit.Assert.assertNotNull(dateTimeField21); org.junit.Assert.assertTrue("'" + boolean22 + "' != '" + false + "'", boolean22 == false); org.junit.Assert.assertNotNull(chronology23); org.junit.Assert.assertNotNull(durationField24); org.junit.Assert.assertNotNull(gJChronology28); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(dateTimeField31); org.junit.Assert.assertNotNull(dateTimeZone32); org.junit.Assert.assertNotNull(dateTimeField33); org.junit.Assert.assertNotNull(dateTimeZone34); org.junit.Assert.assertNotNull(gJChronology35); org.junit.Assert.assertNotNull(chronology36); org.junit.Assert.assertNotNull(chronology37); org.junit.Assert.assertNotNull(gJChronology38); } @Test public void test1608() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1608"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.millisOfSecond(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.clockhourOfHalfday(); org.joda.time.DurationField durationField10 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.halfdayOfDay(); org.joda.time.DurationField durationField13 = gJChronology3.minutes(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(durationField13); } @Test @Ignore public void test1609() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1609"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField1 = gJChronology0.weeks(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.clockhourOfHalfday(); org.joda.time.DurationField durationField3 = gJChronology0.days(); org.joda.time.DateTimeField dateTimeField4 = gJChronology0.yearOfEra(); java.lang.String str5 = gJChronology0.toString(); org.joda.time.DurationField durationField6 = gJChronology0.halfdays(); org.joda.time.DateTimeZone dateTimeZone7 = null; org.joda.time.Chronology chronology8 = gJChronology0.withZone(dateTimeZone7); org.joda.time.DateTimeField dateTimeField9 = gJChronology0.clockhourOfDay(); org.joda.time.DurationField durationField10 = gJChronology0.seconds(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(durationField1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertNotNull(durationField3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertEquals("'" + str5 + "' != '" + "GJChronology[Etc/UTC]" + "'", str5, "GJChronology[Etc/UTC]"); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(chronology8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(durationField10); } @Test public void test1610() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1610"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.year(); org.joda.time.DurationField durationField6 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.dayOfMonth(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.dayOfYear(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeZone dateTimeZone10 = gJChronology3.getZone(); org.joda.time.chrono.GJChronology gJChronology13 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone10, (long) (short) 100, (int) (byte) 1); org.joda.time.chrono.GJChronology gJChronology14 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone10); org.joda.time.chrono.GJChronology gJChronology15 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone10); org.joda.time.DateTimeZone dateTimeZone16 = null; org.joda.time.Chronology chronology17 = gJChronology15.withZone(dateTimeZone16); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeZone10); org.junit.Assert.assertNotNull(gJChronology13); org.junit.Assert.assertNotNull(gJChronology14); org.junit.Assert.assertNotNull(gJChronology15); org.junit.Assert.assertNotNull(chronology17); } @Test @Ignore public void test1611() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1611"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.weekyear(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.hourOfDay(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.centuryOfEra(); org.joda.time.ReadablePeriod readablePeriod18 = null; long long21 = gJChronology3.add(readablePeriod18, 61039267200010L, 1); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertTrue("'" + long21 + "' != '" + 61039267200010L + "'", long21 == 61039267200010L); } @Test @Ignore public void test1612() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1612"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.chrono.GJChronology gJChronology10 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone7, 1665L, (int) (short) 1); org.joda.time.Instant instant11 = gJChronology10.getGregorianCutover(); long long17 = gJChronology10.getDateTimeMillis((long) '#', 0, 1, 1, (int) ' '); org.joda.time.DateTimeField dateTimeField18 = gJChronology10.dayOfWeek(); org.joda.time.DateTimeZone dateTimeZone19 = null; org.joda.time.ReadableInstant readableInstant20 = null; org.joda.time.chrono.GJChronology gJChronology22 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone19, readableInstant20, (int) (short) 1); boolean boolean24 = gJChronology22.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField25 = gJChronology22.year(); org.joda.time.DateTimeZone dateTimeZone26 = gJChronology22.getZone(); org.joda.time.DateTimeZone dateTimeZone27 = null; org.joda.time.ReadableInstant readableInstant28 = null; org.joda.time.chrono.GJChronology gJChronology30 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone27, readableInstant28, (int) (short) 1); org.joda.time.DateTimeField dateTimeField31 = gJChronology30.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod32 = null; long long35 = gJChronology30.add(readablePeriod32, (long) (short) 1, (int) (byte) -1); long long40 = gJChronology30.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField41 = gJChronology30.millis(); boolean boolean42 = gJChronology22.equals((java.lang.Object) gJChronology30); long long46 = gJChronology22.add((-61062076799990L), (long) (byte) 10, (int) (short) -1); org.joda.time.DurationField durationField47 = gJChronology22.millis(); org.joda.time.DateTimeZone dateTimeZone48 = gJChronology22.getZone(); org.joda.time.Chronology chronology49 = gJChronology10.withZone(dateTimeZone48); org.joda.time.chrono.GJChronology gJChronology52 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone48, (-342991996L), (int) (byte) 1); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology10); org.junit.Assert.assertNotNull(instant11); org.junit.Assert.assertTrue("'" + long17 + "' != '" + 61032L + "'", long17 == 61032L); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(gJChronology22); org.junit.Assert.assertTrue("'" + boolean24 + "' != '" + false + "'", boolean24 == false); org.junit.Assert.assertNotNull(dateTimeField25); org.junit.Assert.assertNotNull(dateTimeZone26); org.junit.Assert.assertNotNull(gJChronology30); org.junit.Assert.assertNotNull(dateTimeField31); org.junit.Assert.assertTrue("'" + long35 + "' != '" + 1L + "'", long35 == 1L); org.junit.Assert.assertTrue("'" + long40 + "' != '" + (-61062076799990L) + "'", long40 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField41); org.junit.Assert.assertTrue("'" + boolean42 + "' != '" + true + "'", boolean42 == true); org.junit.Assert.assertTrue("'" + long46 + "' != '" + (-61062076800000L) + "'", long46 == (-61062076800000L)); org.junit.Assert.assertNotNull(durationField47); org.junit.Assert.assertNotNull(dateTimeZone48); org.junit.Assert.assertNotNull(chronology49); org.junit.Assert.assertNotNull(gJChronology52); } @Test public void test1613() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1613"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.millisOfSecond(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.clockhourOfHalfday(); org.joda.time.DurationField durationField10 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.weekyear(); org.joda.time.DateTimeField dateTimeField13 = gJChronology3.centuryOfEra(); org.joda.time.DateTimeField dateTimeField14 = gJChronology3.weekyearOfCentury(); org.joda.time.Instant instant15 = gJChronology3.getGregorianCutover(); org.joda.time.ReadablePeriod readablePeriod16 = null; // The following exception was thrown during execution in test generation try { int[] intArray19 = gJChronology3.get(readablePeriod16, (long) (short) -1, 4L); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(instant15); } @Test public void test1614() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1614"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField1 = gJChronology0.weeks(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.clockhourOfHalfday(); org.joda.time.DateTimeField dateTimeField3 = gJChronology0.dayOfYear(); org.joda.time.DateTimeField dateTimeField4 = gJChronology0.halfdayOfDay(); org.joda.time.DurationField durationField5 = gJChronology0.days(); org.joda.time.DateTimeField dateTimeField6 = gJChronology0.clockhourOfDay(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(durationField1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertNotNull(dateTimeField3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(durationField5); org.junit.Assert.assertNotNull(dateTimeField6); } @Test @Ignore public void test1615() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1615"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.weeks(); org.joda.time.DurationField durationField15 = gJChronology3.years(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.era(); org.joda.time.ReadablePeriod readablePeriod17 = null; long long20 = gJChronology3.add(readablePeriod17, (long) (short) -1, (int) (byte) 0); int int21 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DateTimeField dateTimeField22 = gJChronology3.dayOfWeek(); org.joda.time.DurationField durationField23 = gJChronology3.millis(); org.joda.time.DurationField durationField24 = gJChronology3.days(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertTrue("'" + long20 + "' != '" + (-1L) + "'", long20 == (-1L)); org.junit.Assert.assertTrue("'" + int21 + "' != '" + 1 + "'", int21 == 1); org.junit.Assert.assertNotNull(dateTimeField22); org.junit.Assert.assertNotNull(durationField23); org.junit.Assert.assertNotNull(durationField24); } @Test @Ignore public void test1616() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1616"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.weekyears(); java.lang.String str15 = gJChronology3.toString(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.hourOfDay(); org.joda.time.DurationField durationField17 = gJChronology3.months(); org.joda.time.ReadablePeriod readablePeriod18 = null; long long21 = gJChronology3.add(readablePeriod18, 10L, (int) (short) -1); org.joda.time.DateTimeField dateTimeField22 = gJChronology3.millisOfDay(); org.joda.time.DateTimeField dateTimeField23 = gJChronology3.dayOfWeek(); org.joda.time.DateTimeField dateTimeField24 = gJChronology3.weekOfWeekyear(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertEquals("'" + str15 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str15, "GJChronology[Etc/UTC,mdfw=1]"); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(durationField17); org.junit.Assert.assertTrue("'" + long21 + "' != '" + 10L + "'", long21 == 10L); org.junit.Assert.assertNotNull(dateTimeField22); org.junit.Assert.assertNotNull(dateTimeField23); org.junit.Assert.assertNotNull(dateTimeField24); } @Test public void test1617() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1617"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.dayOfWeek(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.monthOfYear(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.centuryOfEra(); org.joda.time.ReadablePartial readablePartial11 = null; int[] intArray16 = new int[] { ' ', '4', 0, 0 }; // The following exception was thrown during execution in test generation try { gJChronology3.validate(readablePartial11, intArray16); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(intArray16); org.junit.Assert.assertEquals(java.util.Arrays.toString(intArray16), "[32, 52, 0, 0]"); } @Test public void test1618() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1618"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.clockhourOfDay(); org.joda.time.DurationField durationField6 = gJChronology3.hours(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.centuryOfEra(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.yearOfCentury(); org.joda.time.DurationField durationField9 = gJChronology3.minutes(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(durationField9); } @Test @Ignore public void test1619() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1619"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DateTimeField dateTimeField14 = gJChronology3.minuteOfDay(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.secondOfMinute(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(dateTimeField15); } @Test public void test1620() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1620"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.days(); org.joda.time.DurationField durationField8 = gJChronology3.seconds(); int int9 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.clockhourOfDay(); long long14 = gJChronology3.add(110L, 100L, 0); org.joda.time.DurationField durationField15 = gJChronology3.seconds(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertTrue("'" + int9 + "' != '" + 1 + "'", int9 == 1); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertTrue("'" + long14 + "' != '" + 110L + "'", long14 == 110L); org.junit.Assert.assertNotNull(durationField15); } @Test public void test1621() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1621"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.dayOfWeek(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.secondOfDay(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.era(); org.joda.time.chrono.GJChronology gJChronology10 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField11 = gJChronology10.weeks(); org.joda.time.DateTimeField dateTimeField12 = gJChronology10.clockhourOfHalfday(); org.joda.time.DateTimeField dateTimeField13 = gJChronology10.dayOfYear(); org.joda.time.DateTimeField dateTimeField14 = gJChronology10.halfdayOfDay(); org.joda.time.Chronology chronology15 = gJChronology10.withUTC(); org.joda.time.DateTimeField dateTimeField16 = gJChronology10.halfdayOfDay(); org.joda.time.DateTimeZone dateTimeZone17 = null; org.joda.time.ReadableInstant readableInstant18 = null; org.joda.time.chrono.GJChronology gJChronology20 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone17, readableInstant18, (int) (short) 1); org.joda.time.DateTimeField dateTimeField21 = gJChronology20.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod22 = null; long long25 = gJChronology20.add(readablePeriod22, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeZone dateTimeZone26 = gJChronology20.getZone(); org.joda.time.Chronology chronology27 = gJChronology10.withZone(dateTimeZone26); boolean boolean28 = gJChronology3.equals((java.lang.Object) gJChronology10); org.joda.time.DateTimeZone dateTimeZone29 = gJChronology3.getZone(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(gJChronology10); org.junit.Assert.assertNotNull(durationField11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(chronology15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(gJChronology20); org.junit.Assert.assertNotNull(dateTimeField21); org.junit.Assert.assertTrue("'" + long25 + "' != '" + 1L + "'", long25 == 1L); org.junit.Assert.assertNotNull(dateTimeZone26); org.junit.Assert.assertNotNull(chronology27); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(dateTimeZone29); } @Test public void test1622() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1622"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.centuryOfEra(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.halfdayOfDay(); org.joda.time.DurationField durationField8 = gJChronology3.days(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.secondOfMinute(); org.joda.time.ReadablePeriod readablePeriod10 = null; // The following exception was thrown during execution in test generation try { int[] intArray13 = gJChronology3.get(readablePeriod10, (long) '#', (-85747999L)); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); } @Test public void test1623() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1623"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField1 = gJChronology0.weeks(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.clockhourOfHalfday(); org.joda.time.DurationField durationField3 = gJChronology0.days(); org.joda.time.DateTimeZone dateTimeZone4 = null; org.joda.time.ReadableInstant readableInstant5 = null; org.joda.time.chrono.GJChronology gJChronology7 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone4, readableInstant5, (int) (short) 1); org.joda.time.DateTimeField dateTimeField8 = gJChronology7.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField9 = gJChronology7.year(); org.joda.time.DurationField durationField10 = gJChronology7.centuries(); org.joda.time.DateTimeField dateTimeField11 = gJChronology7.dayOfMonth(); org.joda.time.DateTimeField dateTimeField12 = gJChronology7.dayOfYear(); org.joda.time.DateTimeField dateTimeField13 = gJChronology7.clockhourOfDay(); org.joda.time.DateTimeZone dateTimeZone14 = gJChronology7.getZone(); org.joda.time.Chronology chronology15 = gJChronology0.withZone(dateTimeZone14); org.joda.time.DurationField durationField16 = gJChronology0.seconds(); org.joda.time.DurationField durationField17 = gJChronology0.halfdays(); org.joda.time.DateTimeZone dateTimeZone18 = gJChronology0.getZone(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(durationField1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertNotNull(durationField3); org.junit.Assert.assertNotNull(gJChronology7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(dateTimeZone14); org.junit.Assert.assertNotNull(chronology15); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(durationField17); org.junit.Assert.assertNotNull(dateTimeZone18); } @Test public void test1624() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1624"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.era(); org.joda.time.DurationField durationField6 = gJChronology3.days(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.minuteOfHour(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.monthOfYear(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.secondOfDay(); org.joda.time.DateTimeZone dateTimeZone11 = gJChronology3.getZone(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeZone11); } @Test @Ignore public void test1625() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1625"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); org.joda.time.DateTimeField dateTimeField12 = gJChronology11.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod13 = null; long long16 = gJChronology11.add(readablePeriod13, (long) (short) 1, (int) (byte) -1); long long21 = gJChronology11.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField22 = gJChronology11.millis(); boolean boolean23 = gJChronology3.equals((java.lang.Object) gJChronology11); org.joda.time.DurationField durationField24 = gJChronology11.seconds(); org.joda.time.DateTimeZone dateTimeZone25 = gJChronology11.getZone(); org.joda.time.chrono.GJChronology gJChronology26 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone25); org.joda.time.chrono.GJChronology gJChronology27 = org.joda.time.chrono.GJChronology.getInstanceUTC(); org.joda.time.Instant instant28 = gJChronology27.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology30 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone25, (org.joda.time.ReadableInstant) instant28, (int) (short) 1); org.joda.time.ReadablePeriod readablePeriod31 = null; // The following exception was thrown during execution in test generation try { int[] intArray33 = gJChronology30.get(readablePeriod31, 604004L); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertTrue("'" + long16 + "' != '" + 1L + "'", long16 == 1L); org.junit.Assert.assertTrue("'" + long21 + "' != '" + (-61062076799990L) + "'", long21 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField22); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + true + "'", boolean23 == true); org.junit.Assert.assertNotNull(durationField24); org.junit.Assert.assertNotNull(dateTimeZone25); org.junit.Assert.assertNotNull(gJChronology26); org.junit.Assert.assertNotNull(gJChronology27); org.junit.Assert.assertNotNull(instant28); org.junit.Assert.assertNotNull(gJChronology30); } @Test public void test1626() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1626"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); int int7 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); org.joda.time.DateTimeField dateTimeField12 = gJChronology11.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField13 = gJChronology11.year(); org.joda.time.DurationField durationField14 = gJChronology11.centuries(); org.joda.time.DateTimeField dateTimeField15 = gJChronology11.dayOfMonth(); org.joda.time.DateTimeField dateTimeField16 = gJChronology11.dayOfYear(); org.joda.time.DateTimeField dateTimeField17 = gJChronology11.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField18 = gJChronology11.clockhourOfDay(); org.joda.time.DurationField durationField19 = gJChronology11.hours(); boolean boolean20 = gJChronology3.equals((java.lang.Object) gJChronology11); org.joda.time.DateTimeField dateTimeField21 = gJChronology11.era(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertTrue("'" + int7 + "' != '" + 1 + "'", int7 == 1); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(durationField19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + true + "'", boolean20 == true); org.junit.Assert.assertNotNull(dateTimeField21); } @Test public void test1627() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1627"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.millisOfSecond(); org.joda.time.DurationField durationField9 = gJChronology3.seconds(); org.joda.time.Instant instant10 = gJChronology3.getGregorianCutover(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.weekyear(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.millisOfSecond(); org.joda.time.DateTimeField dateTimeField13 = gJChronology3.clockhourOfHalfday(); org.joda.time.DateTimeZone dateTimeZone14 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.clockhourOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(durationField9); org.junit.Assert.assertNotNull(instant10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(dateTimeZone14); org.junit.Assert.assertNotNull(dateTimeField15); } @Test public void test1628() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1628"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.days(); org.joda.time.DurationField durationField8 = gJChronology3.seconds(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.minuteOfHour(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.dayOfMonth(); org.joda.time.DurationField durationField12 = gJChronology3.hours(); org.joda.time.DateTimeField dateTimeField13 = gJChronology3.weekyear(); org.joda.time.DateTimeField dateTimeField14 = gJChronology3.centuryOfEra(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(durationField12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(dateTimeField14); } @Test public void test1629() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1629"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.yearOfEra(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.halfdayOfDay(); org.joda.time.Instant instant8 = gJChronology3.getGregorianCutover(); org.joda.time.ReadablePeriod readablePeriod9 = null; long long12 = gJChronology3.add(readablePeriod9, 53238L, (int) (short) 10); org.joda.time.DurationField durationField13 = gJChronology3.hours(); org.joda.time.DateTimeField dateTimeField14 = gJChronology3.yearOfEra(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(instant8); org.junit.Assert.assertTrue("'" + long12 + "' != '" + 53238L + "'", long12 == 53238L); org.junit.Assert.assertNotNull(durationField13); org.junit.Assert.assertNotNull(dateTimeField14); } @Test public void test1630() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1630"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.DateTimeZone dateTimeZone1 = null; org.joda.time.ReadableInstant readableInstant2 = null; org.joda.time.chrono.GJChronology gJChronology4 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone1, readableInstant2, (int) (short) 1); boolean boolean6 = gJChronology4.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField7 = gJChronology4.year(); org.joda.time.DateTimeZone dateTimeZone8 = gJChronology4.getZone(); org.joda.time.DateTimeZone dateTimeZone9 = null; org.joda.time.ReadableInstant readableInstant10 = null; org.joda.time.chrono.GJChronology gJChronology12 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone9, readableInstant10, (int) (short) 1); boolean boolean14 = gJChronology12.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField15 = gJChronology12.year(); org.joda.time.Instant instant16 = gJChronology12.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology17 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, (org.joda.time.ReadableInstant) instant16); org.joda.time.DurationField durationField18 = gJChronology17.seconds(); org.joda.time.Instant instant19 = gJChronology17.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology20 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, (org.joda.time.ReadableInstant) instant19); org.joda.time.DurationField durationField21 = gJChronology20.weekyears(); // The following exception was thrown during execution in test generation try { long long26 = gJChronology20.getDateTimeMillis((int) '#', (int) (byte) -1, (int) (short) 10, 1); org.junit.Assert.fail("Expected exception of type org.joda.time.IllegalFieldValueException; message: Value -1 for monthOfYear must be in the range [1,12]"); } catch (org.joda.time.IllegalFieldValueException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(dateTimeZone8); org.junit.Assert.assertNotNull(gJChronology12); org.junit.Assert.assertTrue("'" + boolean14 + "' != '" + false + "'", boolean14 == false); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(instant16); org.junit.Assert.assertNotNull(gJChronology17); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(instant19); org.junit.Assert.assertNotNull(gJChronology20); org.junit.Assert.assertNotNull(durationField21); } @Test public void test1631() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1631"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.centuryOfEra(); org.joda.time.DurationField durationField7 = gJChronology3.centuries(); org.joda.time.DurationField durationField8 = gJChronology3.days(); org.joda.time.DurationField durationField9 = gJChronology3.minutes(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.dayOfWeek(); org.joda.time.DurationField durationField11 = gJChronology3.years(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(durationField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(durationField11); } @Test @Ignore public void test1632() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1632"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.days(); java.lang.String str8 = gJChronology3.toString(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone10 = null; org.joda.time.ReadableInstant readableInstant11 = null; org.joda.time.chrono.GJChronology gJChronology13 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone10, readableInstant11, (int) (short) 1); boolean boolean15 = gJChronology13.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField16 = gJChronology13.year(); org.joda.time.DateTimeZone dateTimeZone17 = gJChronology13.getZone(); boolean boolean18 = gJChronology3.equals((java.lang.Object) gJChronology13); org.joda.time.DurationField durationField19 = gJChronology3.eras(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertEquals("'" + str8 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str8, "GJChronology[Etc/UTC,mdfw=1]"); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(gJChronology13); org.junit.Assert.assertTrue("'" + boolean15 + "' != '" + false + "'", boolean15 == false); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeZone17); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + true + "'", boolean18 == true); org.junit.Assert.assertNotNull(durationField19); } @Test public void test1633() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1633"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); boolean boolean13 = gJChronology11.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField14 = gJChronology11.year(); org.joda.time.Instant instant15 = gJChronology11.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology16 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone7, (org.joda.time.ReadableInstant) instant15); long long20 = gJChronology16.add((long) (short) 10, (long) 10, (int) (short) 10); org.joda.time.DateTimeField dateTimeField21 = gJChronology16.monthOfYear(); org.joda.time.DateTimeField dateTimeField22 = gJChronology16.secondOfMinute(); org.joda.time.DateTimeZone dateTimeZone23 = gJChronology16.getZone(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertTrue("'" + boolean13 + "' != '" + false + "'", boolean13 == false); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(instant15); org.junit.Assert.assertNotNull(gJChronology16); org.junit.Assert.assertTrue("'" + long20 + "' != '" + 110L + "'", long20 == 110L); org.junit.Assert.assertNotNull(dateTimeField21); org.junit.Assert.assertNotNull(dateTimeField22); org.junit.Assert.assertNotNull(dateTimeZone23); } @Test public void test1634() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1634"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.year(); org.joda.time.DurationField durationField6 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.dayOfMonth(); long long11 = gJChronology3.add((-1L), (long) (short) 0, (int) (byte) 10); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.weekyearOfCentury(); org.joda.time.DateTimeField dateTimeField13 = gJChronology3.weekyear(); org.joda.time.DurationField durationField14 = gJChronology3.seconds(); java.lang.Class<?> wildcardClass15 = gJChronology3.getClass(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertTrue("'" + long11 + "' != '" + (-1L) + "'", long11 == (-1L)); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(wildcardClass15); } @Test public void test1635() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1635"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.dayOfWeek(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); org.joda.time.DateTimeField dateTimeField12 = gJChronology11.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField13 = gJChronology11.year(); org.joda.time.DurationField durationField14 = gJChronology11.centuries(); org.joda.time.DateTimeField dateTimeField15 = gJChronology11.dayOfMonth(); boolean boolean16 = gJChronology3.equals((java.lang.Object) dateTimeField15); int int17 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DurationField durationField18 = gJChronology3.months(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.year(); org.joda.time.DurationField durationField20 = gJChronology3.millis(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertTrue("'" + int17 + "' != '" + 1 + "'", int17 == 1); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(durationField20); } @Test public void test1636() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1636"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.millisOfSecond(); org.joda.time.ReadablePeriod readablePeriod9 = null; long long12 = gJChronology3.add(readablePeriod9, (-61062076799990L), (int) (byte) -1); org.joda.time.DurationField durationField13 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField14 = gJChronology3.hourOfHalfday(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertTrue("'" + long12 + "' != '" + (-61062076799990L) + "'", long12 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField13); org.junit.Assert.assertNotNull(dateTimeField14); } @Test @Ignore public void test1637() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1637"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DurationField durationField15 = gJChronology3.centuries(); org.joda.time.DurationField durationField16 = gJChronology3.halfdays(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.minuteOfDay(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.centuryOfEra(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.weekOfWeekyear(); org.joda.time.DateTimeField dateTimeField20 = gJChronology3.monthOfYear(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(dateTimeField20); } @Test public void test1638() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1638"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); boolean boolean13 = gJChronology11.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField14 = gJChronology11.year(); org.joda.time.Instant instant15 = gJChronology11.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology16 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone7, (org.joda.time.ReadableInstant) instant15); org.joda.time.DurationField durationField17 = gJChronology16.seconds(); org.joda.time.Instant instant18 = gJChronology16.getGregorianCutover(); org.joda.time.DateTimeField dateTimeField19 = gJChronology16.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField20 = gJChronology16.weekyear(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertTrue("'" + boolean13 + "' != '" + false + "'", boolean13 == false); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(instant15); org.junit.Assert.assertNotNull(gJChronology16); org.junit.Assert.assertNotNull(durationField17); org.junit.Assert.assertNotNull(instant18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(dateTimeField20); } @Test public void test1639() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1639"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.dayOfWeek(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); org.joda.time.DateTimeField dateTimeField12 = gJChronology11.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField13 = gJChronology11.year(); org.joda.time.DurationField durationField14 = gJChronology11.centuries(); org.joda.time.DateTimeField dateTimeField15 = gJChronology11.dayOfMonth(); boolean boolean16 = gJChronology3.equals((java.lang.Object) dateTimeField15); int int17 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DurationField durationField18 = gJChronology3.months(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.weekyear(); org.joda.time.DateTimeField dateTimeField20 = gJChronology3.minuteOfDay(); org.joda.time.ReadablePartial readablePartial21 = null; // The following exception was thrown during execution in test generation try { int[] intArray23 = gJChronology3.get(readablePartial21, 1921010L); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertTrue("'" + int17 + "' != '" + 1 + "'", int17 == 1); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(dateTimeField20); } @Test @Ignore public void test1640() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1640"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DurationField durationField15 = gJChronology3.months(); org.joda.time.DurationField durationField16 = gJChronology3.seconds(); org.joda.time.DurationField durationField17 = gJChronology3.weeks(); org.joda.time.DateTimeZone dateTimeZone18 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.centuryOfEra(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(durationField17); org.junit.Assert.assertNotNull(dateTimeZone18); org.junit.Assert.assertNotNull(dateTimeField19); } @Test @Ignore public void test1641() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1641"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.year(); long long9 = gJChronology3.add((long) 10, (long) (byte) 100, (int) (short) 0); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.centuryOfEra(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.dayOfWeek(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField13 = gJChronology3.weekyearOfCentury(); long long18 = gJChronology3.getDateTimeMillis((int) ' ', (int) (short) 10, (int) (byte) 10, 1); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertTrue("'" + long9 + "' != '" + 10L + "'", long9 == 10L); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertTrue("'" + long18 + "' != '" + (-61133097599999L) + "'", long18 == (-61133097599999L)); } @Test public void test1642() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1642"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); boolean boolean13 = gJChronology11.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField14 = gJChronology11.year(); org.joda.time.Instant instant15 = gJChronology11.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology17 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone7, (org.joda.time.ReadableInstant) instant15, (int) (byte) 1); org.joda.time.DateTimeZone dateTimeZone18 = null; org.joda.time.ReadableInstant readableInstant19 = null; org.joda.time.chrono.GJChronology gJChronology21 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone18, readableInstant19, (int) (short) 1); boolean boolean23 = gJChronology21.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField24 = gJChronology21.year(); org.joda.time.DateTimeZone dateTimeZone25 = gJChronology21.getZone(); org.joda.time.DateTimeZone dateTimeZone26 = null; org.joda.time.ReadableInstant readableInstant27 = null; org.joda.time.chrono.GJChronology gJChronology29 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone26, readableInstant27, (int) (short) 1); boolean boolean31 = gJChronology29.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField32 = gJChronology29.year(); org.joda.time.Instant instant33 = gJChronology29.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology35 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone25, (org.joda.time.ReadableInstant) instant33, (int) (byte) 1); org.joda.time.DateTimeZone dateTimeZone36 = null; org.joda.time.ReadableInstant readableInstant37 = null; org.joda.time.chrono.GJChronology gJChronology39 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone36, readableInstant37, (int) (short) 1); org.joda.time.DateTimeField dateTimeField40 = gJChronology39.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField41 = gJChronology39.year(); org.joda.time.DurationField durationField42 = gJChronology39.centuries(); org.joda.time.DateTimeField dateTimeField43 = gJChronology39.hourOfDay(); org.joda.time.DurationField durationField44 = gJChronology39.days(); org.joda.time.DateTimeField dateTimeField45 = gJChronology39.dayOfMonth(); org.joda.time.Instant instant46 = gJChronology39.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology48 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone25, (org.joda.time.ReadableInstant) instant46, (int) (short) 1); org.joda.time.chrono.GJChronology gJChronology49 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone7, (org.joda.time.ReadableInstant) instant46); org.joda.time.DurationField durationField50 = gJChronology49.months(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertTrue("'" + boolean13 + "' != '" + false + "'", boolean13 == false); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(instant15); org.junit.Assert.assertNotNull(gJChronology17); org.junit.Assert.assertNotNull(gJChronology21); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + false + "'", boolean23 == false); org.junit.Assert.assertNotNull(dateTimeField24); org.junit.Assert.assertNotNull(dateTimeZone25); org.junit.Assert.assertNotNull(gJChronology29); org.junit.Assert.assertTrue("'" + boolean31 + "' != '" + false + "'", boolean31 == false); org.junit.Assert.assertNotNull(dateTimeField32); org.junit.Assert.assertNotNull(instant33); org.junit.Assert.assertNotNull(gJChronology35); org.junit.Assert.assertNotNull(gJChronology39); org.junit.Assert.assertNotNull(dateTimeField40); org.junit.Assert.assertNotNull(dateTimeField41); org.junit.Assert.assertNotNull(durationField42); org.junit.Assert.assertNotNull(dateTimeField43); org.junit.Assert.assertNotNull(durationField44); org.junit.Assert.assertNotNull(dateTimeField45); org.junit.Assert.assertNotNull(instant46); org.junit.Assert.assertNotNull(gJChronology48); org.junit.Assert.assertNotNull(gJChronology49); org.junit.Assert.assertNotNull(durationField50); } @Test public void test1643() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1643"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DurationField durationField4 = gJChronology3.days(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.minuteOfDay(); org.joda.time.DurationField durationField6 = gJChronology3.millis(); int int7 = gJChronology3.getMinimumDaysInFirstWeek(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(durationField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertTrue("'" + int7 + "' != '" + 1 + "'", int7 == 1); } @Test @Ignore public void test1644() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1644"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.minuteOfHour(); org.joda.time.DateTimeZone dateTimeZone2 = null; org.joda.time.ReadableInstant readableInstant3 = null; org.joda.time.chrono.GJChronology gJChronology5 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone2, readableInstant3, (int) (short) 1); org.joda.time.DateTimeField dateTimeField6 = gJChronology5.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod7 = null; long long10 = gJChronology5.add(readablePeriod7, (long) (short) 1, (int) (byte) -1); long long15 = gJChronology5.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField16 = gJChronology5.seconds(); org.joda.time.DateTimeZone dateTimeZone17 = gJChronology5.getZone(); org.joda.time.Chronology chronology18 = gJChronology0.withZone(dateTimeZone17); org.joda.time.chrono.GJChronology gJChronology19 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone17); org.joda.time.DurationField durationField20 = gJChronology19.days(); org.joda.time.Chronology chronology21 = gJChronology19.withUTC(); // The following exception was thrown during execution in test generation try { long long26 = gJChronology19.getDateTimeMillis((int) 'a', (int) (short) 100, (int) (short) 100, (int) (short) 10); org.junit.Assert.fail("Expected exception of type org.joda.time.IllegalFieldValueException; message: Value 100 for monthOfYear must be in the range [1,12]"); } catch (org.joda.time.IllegalFieldValueException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(gJChronology5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertTrue("'" + long10 + "' != '" + 1L + "'", long10 == 1L); org.junit.Assert.assertTrue("'" + long15 + "' != '" + (-61062076799990L) + "'", long15 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(dateTimeZone17); org.junit.Assert.assertNotNull(chronology18); org.junit.Assert.assertNotNull(gJChronology19); org.junit.Assert.assertNotNull(durationField20); org.junit.Assert.assertNotNull(chronology21); } @Test @Ignore public void test1645() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1645"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.minuteOfHour(); org.joda.time.DateTimeZone dateTimeZone2 = null; org.joda.time.ReadableInstant readableInstant3 = null; org.joda.time.chrono.GJChronology gJChronology5 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone2, readableInstant3, (int) (short) 1); org.joda.time.DateTimeField dateTimeField6 = gJChronology5.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod7 = null; long long10 = gJChronology5.add(readablePeriod7, (long) (short) 1, (int) (byte) -1); long long15 = gJChronology5.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField16 = gJChronology5.seconds(); org.joda.time.DateTimeZone dateTimeZone17 = gJChronology5.getZone(); org.joda.time.Chronology chronology18 = gJChronology0.withZone(dateTimeZone17); org.joda.time.DateTimeField dateTimeField19 = gJChronology0.dayOfWeek(); org.joda.time.DateTimeField dateTimeField20 = gJChronology0.weekyearOfCentury(); org.joda.time.DurationField durationField21 = gJChronology0.centuries(); org.joda.time.DateTimeField dateTimeField22 = gJChronology0.minuteOfDay(); org.joda.time.DateTimeField dateTimeField23 = gJChronology0.yearOfEra(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(gJChronology5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertTrue("'" + long10 + "' != '" + 1L + "'", long10 == 1L); org.junit.Assert.assertTrue("'" + long15 + "' != '" + (-61062076799990L) + "'", long15 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(dateTimeZone17); org.junit.Assert.assertNotNull(chronology18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(dateTimeField20); org.junit.Assert.assertNotNull(durationField21); org.junit.Assert.assertNotNull(dateTimeField22); org.junit.Assert.assertNotNull(dateTimeField23); } @Test public void test1646() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1646"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.DateTimeZone dateTimeZone1 = null; org.joda.time.ReadableInstant readableInstant2 = null; org.joda.time.chrono.GJChronology gJChronology4 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone1, readableInstant2, (int) (short) 1); boolean boolean6 = gJChronology4.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField7 = gJChronology4.year(); org.joda.time.DateTimeZone dateTimeZone8 = gJChronology4.getZone(); org.joda.time.DateTimeZone dateTimeZone9 = null; org.joda.time.ReadableInstant readableInstant10 = null; org.joda.time.chrono.GJChronology gJChronology12 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone9, readableInstant10, (int) (short) 1); boolean boolean14 = gJChronology12.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField15 = gJChronology12.year(); org.joda.time.Instant instant16 = gJChronology12.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology17 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, (org.joda.time.ReadableInstant) instant16); // The following exception was thrown during execution in test generation try { org.joda.time.chrono.GJChronology gJChronology19 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, (org.joda.time.ReadableInstant) instant16, (int) (short) 0); org.junit.Assert.fail("Expected exception of type java.lang.IllegalArgumentException; message: Invalid min days in first week: 0"); } catch (java.lang.IllegalArgumentException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology4); org.junit.Assert.assertTrue("'" + boolean6 + "' != '" + false + "'", boolean6 == false); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(dateTimeZone8); org.junit.Assert.assertNotNull(gJChronology12); org.junit.Assert.assertTrue("'" + boolean14 + "' != '" + false + "'", boolean14 == false); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(instant16); org.junit.Assert.assertNotNull(gJChronology17); } @Test public void test1647() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1647"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.secondOfMinute(); org.joda.time.DurationField durationField7 = gJChronology3.seconds(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeZone dateTimeZone9 = null; org.joda.time.ReadableInstant readableInstant10 = null; org.joda.time.chrono.GJChronology gJChronology12 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone9, readableInstant10, (int) (short) 1); org.joda.time.DateTimeField dateTimeField13 = gJChronology12.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField14 = gJChronology12.year(); org.joda.time.DurationField durationField15 = gJChronology12.centuries(); org.joda.time.DateTimeField dateTimeField16 = gJChronology12.dayOfMonth(); long long20 = gJChronology12.add((-1L), (long) (short) 0, (int) (byte) 10); boolean boolean21 = gJChronology3.equals((java.lang.Object) gJChronology12); org.joda.time.ReadablePeriod readablePeriod22 = null; // The following exception was thrown during execution in test generation try { int[] intArray24 = gJChronology3.get(readablePeriod22, 110L); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(gJChronology12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertTrue("'" + long20 + "' != '" + (-1L) + "'", long20 == (-1L)); org.junit.Assert.assertTrue("'" + boolean21 + "' != '" + true + "'", boolean21 == true); } @Test @Ignore public void test1648() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1648"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.minuteOfHour(); org.joda.time.DateTimeZone dateTimeZone2 = null; org.joda.time.ReadableInstant readableInstant3 = null; org.joda.time.chrono.GJChronology gJChronology5 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone2, readableInstant3, (int) (short) 1); org.joda.time.DateTimeField dateTimeField6 = gJChronology5.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod7 = null; long long10 = gJChronology5.add(readablePeriod7, (long) (short) 1, (int) (byte) -1); long long15 = gJChronology5.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField16 = gJChronology5.seconds(); org.joda.time.DateTimeZone dateTimeZone17 = gJChronology5.getZone(); org.joda.time.Chronology chronology18 = gJChronology0.withZone(dateTimeZone17); org.joda.time.DateTimeField dateTimeField19 = gJChronology0.secondOfDay(); java.lang.String str20 = gJChronology0.toString(); org.joda.time.DateTimeField dateTimeField21 = gJChronology0.centuryOfEra(); org.joda.time.DateTimeField dateTimeField22 = gJChronology0.secondOfDay(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(gJChronology5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertTrue("'" + long10 + "' != '" + 1L + "'", long10 == 1L); org.junit.Assert.assertTrue("'" + long15 + "' != '" + (-61062076799990L) + "'", long15 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(dateTimeZone17); org.junit.Assert.assertNotNull(chronology18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertEquals("'" + str20 + "' != '" + "GJChronology[Etc/UTC]" + "'", str20, "GJChronology[Etc/UTC]"); org.junit.Assert.assertNotNull(dateTimeField21); org.junit.Assert.assertNotNull(dateTimeField22); } @Test @Ignore public void test1649() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1649"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.days(); java.lang.String str8 = gJChronology3.toString(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.dayOfYear(); org.joda.time.DateTimeZone dateTimeZone10 = null; org.joda.time.ReadableInstant readableInstant11 = null; org.joda.time.chrono.GJChronology gJChronology13 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone10, readableInstant11, (int) (short) 1); org.joda.time.DateTimeField dateTimeField14 = gJChronology13.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod15 = null; long long18 = gJChronology13.add(readablePeriod15, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeField dateTimeField19 = gJChronology13.dayOfMonth(); org.joda.time.DateTimeField dateTimeField20 = gJChronology13.secondOfDay(); boolean boolean21 = gJChronology3.equals((java.lang.Object) dateTimeField20); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertEquals("'" + str8 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str8, "GJChronology[Etc/UTC,mdfw=1]"); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(gJChronology13); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertTrue("'" + long18 + "' != '" + 1L + "'", long18 == 1L); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(dateTimeField20); org.junit.Assert.assertTrue("'" + boolean21 + "' != '" + false + "'", boolean21 == false); } @Test @Ignore public void test1650() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1650"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DateTimeField dateTimeField14 = gJChronology3.secondOfMinute(); org.joda.time.DurationField durationField15 = gJChronology3.minutes(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.dayOfWeek(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(dateTimeField16); } @Test @Ignore public void test1651() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1651"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.centuryOfEra(); org.joda.time.DurationField durationField7 = gJChronology3.centuries(); org.joda.time.DurationField durationField8 = gJChronology3.days(); org.joda.time.DateTimeZone dateTimeZone9 = gJChronology3.getZone(); org.joda.time.chrono.GJChronology gJChronology10 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField11 = gJChronology10.minuteOfHour(); org.joda.time.DurationField durationField12 = gJChronology10.months(); org.joda.time.DateTimeZone dateTimeZone13 = null; org.joda.time.ReadableInstant readableInstant14 = null; org.joda.time.chrono.GJChronology gJChronology16 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone13, readableInstant14, (int) (short) 1); org.joda.time.DateTimeField dateTimeField17 = gJChronology16.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod18 = null; long long21 = gJChronology16.add(readablePeriod18, (long) (short) 1, (int) (byte) -1); long long26 = gJChronology16.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField27 = gJChronology16.seconds(); org.joda.time.DateTimeZone dateTimeZone28 = null; org.joda.time.ReadableInstant readableInstant29 = null; org.joda.time.chrono.GJChronology gJChronology31 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone28, readableInstant29, (int) (short) 1); boolean boolean33 = gJChronology31.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField34 = gJChronology31.year(); org.joda.time.DateTimeZone dateTimeZone35 = gJChronology31.getZone(); org.joda.time.DateTimeField dateTimeField36 = gJChronology31.minuteOfDay(); org.joda.time.DateTimeZone dateTimeZone37 = gJChronology31.getZone(); org.joda.time.Chronology chronology38 = gJChronology16.withZone(dateTimeZone37); org.joda.time.Chronology chronology39 = gJChronology10.withZone(dateTimeZone37); org.joda.time.chrono.GJChronology gJChronology40 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField41 = gJChronology40.weeks(); org.joda.time.DateTimeField dateTimeField42 = gJChronology40.clockhourOfHalfday(); org.joda.time.DateTimeField dateTimeField43 = gJChronology40.hourOfDay(); org.joda.time.DateTimeZone dateTimeZone44 = gJChronology40.getZone(); org.joda.time.chrono.GJChronology gJChronology45 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone44); org.joda.time.DateTimeZone dateTimeZone46 = null; org.joda.time.ReadableInstant readableInstant47 = null; org.joda.time.chrono.GJChronology gJChronology49 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone46, readableInstant47, (int) (short) 1); boolean boolean51 = gJChronology49.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField52 = gJChronology49.year(); org.joda.time.Instant instant53 = gJChronology49.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology54 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone44, (org.joda.time.ReadableInstant) instant53); org.joda.time.chrono.GJChronology gJChronology55 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone37, (org.joda.time.ReadableInstant) instant53); org.joda.time.chrono.GJChronology gJChronology56 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone9, (org.joda.time.ReadableInstant) instant53); org.joda.time.DurationField durationField57 = gJChronology56.months(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeZone9); org.junit.Assert.assertNotNull(gJChronology10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(durationField12); org.junit.Assert.assertNotNull(gJChronology16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertTrue("'" + long21 + "' != '" + 1L + "'", long21 == 1L); org.junit.Assert.assertTrue("'" + long26 + "' != '" + (-61062076799990L) + "'", long26 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField27); org.junit.Assert.assertNotNull(gJChronology31); org.junit.Assert.assertTrue("'" + boolean33 + "' != '" + false + "'", boolean33 == false); org.junit.Assert.assertNotNull(dateTimeField34); org.junit.Assert.assertNotNull(dateTimeZone35); org.junit.Assert.assertNotNull(dateTimeField36); org.junit.Assert.assertNotNull(dateTimeZone37); org.junit.Assert.assertNotNull(chronology38); org.junit.Assert.assertNotNull(chronology39); org.junit.Assert.assertNotNull(gJChronology40); org.junit.Assert.assertNotNull(durationField41); org.junit.Assert.assertNotNull(dateTimeField42); org.junit.Assert.assertNotNull(dateTimeField43); org.junit.Assert.assertNotNull(dateTimeZone44); org.junit.Assert.assertNotNull(gJChronology45); org.junit.Assert.assertNotNull(gJChronology49); org.junit.Assert.assertTrue("'" + boolean51 + "' != '" + false + "'", boolean51 == false); org.junit.Assert.assertNotNull(dateTimeField52); org.junit.Assert.assertNotNull(instant53); org.junit.Assert.assertNotNull(gJChronology54); org.junit.Assert.assertNotNull(gJChronology55); org.junit.Assert.assertNotNull(gJChronology56); org.junit.Assert.assertNotNull(durationField57); } @Test @Ignore public void test1652() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1652"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DateTimeField dateTimeField14 = gJChronology3.minuteOfDay(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.secondOfDay(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.secondOfMinute(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.minuteOfHour(); org.joda.time.Chronology chronology18 = gJChronology3.withUTC(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(chronology18); } @Test public void test1653() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1653"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.days(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.centuryOfEra(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.minuteOfDay(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.year(); org.joda.time.DurationField durationField12 = gJChronology3.millis(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(durationField12); } @Test @Ignore public void test1654() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1654"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DateTimeField dateTimeField14 = gJChronology3.minuteOfDay(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.dayOfWeek(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.era(); org.joda.time.ReadablePartial readablePartial17 = null; // The following exception was thrown during execution in test generation try { int[] intArray19 = gJChronology3.get(readablePartial17, (-194L)); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); } @Test public void test1655() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1655"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField1 = gJChronology0.minutes(); org.joda.time.DurationField durationField2 = gJChronology0.years(); // The following exception was thrown during execution in test generation try { long long8 = gJChronology0.getDateTimeMillis(3156L, (int) (short) 10, (int) '#', (int) '#', (int) (short) -1); org.junit.Assert.fail("Expected exception of type org.joda.time.IllegalFieldValueException; message: Value -1 for millisOfSecond must be in the range [0,999]"); } catch (org.joda.time.IllegalFieldValueException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(durationField1); org.junit.Assert.assertNotNull(durationField2); } @Test @Ignore public void test1656() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1656"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.yearOfEra(); java.lang.String str19 = gJChronology3.toString(); org.joda.time.DateTimeZone dateTimeZone20 = null; org.joda.time.ReadableInstant readableInstant21 = null; org.joda.time.chrono.GJChronology gJChronology23 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone20, readableInstant21, (int) (short) 1); boolean boolean25 = gJChronology23.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField26 = gJChronology23.dayOfYear(); org.joda.time.DurationField durationField27 = gJChronology23.days(); org.joda.time.DateTimeField dateTimeField28 = gJChronology23.weekyear(); boolean boolean29 = gJChronology3.equals((java.lang.Object) gJChronology23); org.joda.time.DateTimeField dateTimeField30 = gJChronology3.millisOfDay(); org.joda.time.DateTimeField dateTimeField31 = gJChronology3.dayOfWeek(); org.joda.time.DurationField durationField32 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField33 = gJChronology3.millisOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertEquals("'" + str19 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str19, "GJChronology[Etc/UTC,mdfw=1]"); org.junit.Assert.assertNotNull(gJChronology23); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); org.junit.Assert.assertNotNull(dateTimeField26); org.junit.Assert.assertNotNull(durationField27); org.junit.Assert.assertNotNull(dateTimeField28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + true + "'", boolean29 == true); org.junit.Assert.assertNotNull(dateTimeField30); org.junit.Assert.assertNotNull(dateTimeField31); org.junit.Assert.assertNotNull(durationField32); org.junit.Assert.assertNotNull(dateTimeField33); } @Test @Ignore public void test1657() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1657"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); org.joda.time.DateTimeField dateTimeField12 = gJChronology11.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod13 = null; long long16 = gJChronology11.add(readablePeriod13, (long) (short) 1, (int) (byte) -1); long long21 = gJChronology11.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField22 = gJChronology11.millis(); boolean boolean23 = gJChronology3.equals((java.lang.Object) gJChronology11); org.joda.time.DurationField durationField24 = gJChronology11.seconds(); org.joda.time.DurationField durationField25 = gJChronology11.months(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertTrue("'" + long16 + "' != '" + 1L + "'", long16 == 1L); org.junit.Assert.assertTrue("'" + long21 + "' != '" + (-61062076799990L) + "'", long21 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField22); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + true + "'", boolean23 == true); org.junit.Assert.assertNotNull(durationField24); org.junit.Assert.assertNotNull(durationField25); } @Test @Ignore public void test1658() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1658"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.weeks(); org.joda.time.DurationField durationField15 = gJChronology3.years(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.era(); org.joda.time.ReadablePeriod readablePeriod17 = null; long long20 = gJChronology3.add(readablePeriod17, (long) (short) -1, (int) (byte) 0); int int21 = gJChronology3.getMinimumDaysInFirstWeek(); int int22 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DateTimeField dateTimeField23 = gJChronology3.weekyearOfCentury(); org.joda.time.DateTimeField dateTimeField24 = gJChronology3.millisOfSecond(); org.joda.time.DurationField durationField25 = gJChronology3.months(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertTrue("'" + long20 + "' != '" + (-1L) + "'", long20 == (-1L)); org.junit.Assert.assertTrue("'" + int21 + "' != '" + 1 + "'", int21 == 1); org.junit.Assert.assertTrue("'" + int22 + "' != '" + 1 + "'", int22 == 1); org.junit.Assert.assertNotNull(dateTimeField23); org.junit.Assert.assertNotNull(dateTimeField24); org.junit.Assert.assertNotNull(durationField25); } @Test @Ignore public void test1659() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1659"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.millisOfSecond(); org.joda.time.DurationField durationField9 = gJChronology3.seconds(); org.joda.time.Instant instant10 = gJChronology3.getGregorianCutover(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.weekyear(); java.lang.String str12 = gJChronology3.toString(); org.joda.time.DateTimeField dateTimeField13 = gJChronology3.hourOfDay(); org.joda.time.DurationField durationField14 = gJChronology3.months(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.monthOfYear(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(durationField9); org.junit.Assert.assertNotNull(instant10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertEquals("'" + str12 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str12, "GJChronology[Etc/UTC,mdfw=1]"); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); } @Test @Ignore public void test1660() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1660"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.days(); org.joda.time.DurationField durationField8 = gJChronology3.seconds(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.minuteOfHour(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.clockhourOfDay(); java.lang.String str11 = gJChronology3.toString(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.weekyear(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertEquals("'" + str11 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str11, "GJChronology[Etc/UTC,mdfw=1]"); org.junit.Assert.assertNotNull(dateTimeField12); } @Test public void test1661() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1661"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.hourOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); } @Test @Ignore public void test1662() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1662"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.weeks(); org.joda.time.DurationField durationField15 = gJChronology3.years(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.era(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.millisOfSecond(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.secondOfMinute(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(dateTimeField18); } @Test public void test1663() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1663"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.millisOfSecond(); org.joda.time.DurationField durationField9 = gJChronology3.seconds(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.centuryOfEra(); org.joda.time.DurationField durationField11 = gJChronology3.seconds(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.millisOfSecond(); org.joda.time.Instant instant13 = gJChronology3.getGregorianCutover(); org.joda.time.DateTimeField dateTimeField14 = gJChronology3.secondOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(durationField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(durationField11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(instant13); org.junit.Assert.assertNotNull(dateTimeField14); } @Test @Ignore public void test1664() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1664"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DurationField durationField15 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.weekyear(); org.joda.time.DurationField durationField17 = gJChronology3.weekyears(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.weekOfWeekyear(); int int19 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DurationField durationField20 = gJChronology3.halfdays(); org.joda.time.DurationField durationField21 = gJChronology3.days(); int int22 = gJChronology3.getMinimumDaysInFirstWeek(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(durationField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertTrue("'" + int19 + "' != '" + 1 + "'", int19 == 1); org.junit.Assert.assertNotNull(durationField20); org.junit.Assert.assertNotNull(durationField21); org.junit.Assert.assertTrue("'" + int22 + "' != '" + 1 + "'", int22 == 1); } @Test public void test1665() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1665"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); org.joda.time.Instant instant9 = gJChronology3.getGregorianCutover(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.weekyearOfCentury(); org.joda.time.DurationField durationField11 = gJChronology3.days(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertNotNull(instant9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(durationField11); } @Test @Ignore public void test1666() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1666"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.millisOfSecond(); org.joda.time.DurationField durationField9 = gJChronology3.seconds(); org.joda.time.Instant instant10 = gJChronology3.getGregorianCutover(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.weekyear(); org.joda.time.DurationField durationField12 = gJChronology3.halfdays(); org.joda.time.DateTimeField dateTimeField13 = gJChronology3.hourOfHalfday(); org.joda.time.DurationField durationField14 = gJChronology3.halfdays(); org.joda.time.DurationField durationField15 = gJChronology3.months(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.minuteOfDay(); org.joda.time.chrono.GJChronology gJChronology17 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField18 = gJChronology17.weeks(); org.joda.time.DateTimeField dateTimeField19 = gJChronology17.clockhourOfHalfday(); org.joda.time.DurationField durationField20 = gJChronology17.days(); org.joda.time.DateTimeZone dateTimeZone21 = gJChronology17.getZone(); org.joda.time.chrono.GJChronology gJChronology22 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone21); org.joda.time.chrono.GJChronology gJChronology23 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField24 = gJChronology23.minuteOfHour(); org.joda.time.DateTimeZone dateTimeZone25 = null; org.joda.time.ReadableInstant readableInstant26 = null; org.joda.time.chrono.GJChronology gJChronology28 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone25, readableInstant26, (int) (short) 1); org.joda.time.DateTimeField dateTimeField29 = gJChronology28.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod30 = null; long long33 = gJChronology28.add(readablePeriod30, (long) (short) 1, (int) (byte) -1); long long38 = gJChronology28.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField39 = gJChronology28.seconds(); org.joda.time.DateTimeZone dateTimeZone40 = gJChronology28.getZone(); org.joda.time.Chronology chronology41 = gJChronology23.withZone(dateTimeZone40); org.joda.time.chrono.GJChronology gJChronology42 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField43 = gJChronology42.minuteOfHour(); long long49 = gJChronology42.getDateTimeMillis(9L, 10, 0, (int) (byte) 0, (int) (short) 10); org.joda.time.Instant instant50 = gJChronology42.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology51 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone40, (org.joda.time.ReadableInstant) instant50); org.joda.time.chrono.GJChronology gJChronology52 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone21, (org.joda.time.ReadableInstant) instant50); org.joda.time.DateTimeZone dateTimeZone53 = null; org.joda.time.DateTimeZone dateTimeZone54 = null; org.joda.time.ReadableInstant readableInstant55 = null; org.joda.time.chrono.GJChronology gJChronology57 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone54, readableInstant55, (int) (short) 1); boolean boolean59 = gJChronology57.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField60 = gJChronology57.year(); org.joda.time.DateTimeZone dateTimeZone61 = gJChronology57.getZone(); org.joda.time.DateTimeZone dateTimeZone62 = null; org.joda.time.ReadableInstant readableInstant63 = null; org.joda.time.chrono.GJChronology gJChronology65 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone62, readableInstant63, (int) (short) 1); boolean boolean67 = gJChronology65.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField68 = gJChronology65.year(); org.joda.time.Instant instant69 = gJChronology65.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology71 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone61, (org.joda.time.ReadableInstant) instant69, (int) (byte) 1); org.joda.time.chrono.GJChronology gJChronology72 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone53, (org.joda.time.ReadableInstant) instant69); org.joda.time.chrono.GJChronology gJChronology73 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone21, (org.joda.time.ReadableInstant) instant69); boolean boolean74 = gJChronology3.equals((java.lang.Object) dateTimeZone21); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(durationField9); org.junit.Assert.assertNotNull(instant10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(durationField12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(gJChronology17); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(durationField20); org.junit.Assert.assertNotNull(dateTimeZone21); org.junit.Assert.assertNotNull(gJChronology22); org.junit.Assert.assertNotNull(gJChronology23); org.junit.Assert.assertNotNull(dateTimeField24); org.junit.Assert.assertNotNull(gJChronology28); org.junit.Assert.assertNotNull(dateTimeField29); org.junit.Assert.assertTrue("'" + long33 + "' != '" + 1L + "'", long33 == 1L); org.junit.Assert.assertTrue("'" + long38 + "' != '" + (-61062076799990L) + "'", long38 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField39); org.junit.Assert.assertNotNull(dateTimeZone40); org.junit.Assert.assertNotNull(chronology41); org.junit.Assert.assertNotNull(gJChronology42); org.junit.Assert.assertNotNull(dateTimeField43); org.junit.Assert.assertTrue("'" + long49 + "' != '" + 36000010L + "'", long49 == 36000010L); org.junit.Assert.assertNotNull(instant50); org.junit.Assert.assertNotNull(gJChronology51); org.junit.Assert.assertNotNull(gJChronology52); org.junit.Assert.assertNotNull(gJChronology57); org.junit.Assert.assertTrue("'" + boolean59 + "' != '" + false + "'", boolean59 == false); org.junit.Assert.assertNotNull(dateTimeField60); org.junit.Assert.assertNotNull(dateTimeZone61); org.junit.Assert.assertNotNull(gJChronology65); org.junit.Assert.assertTrue("'" + boolean67 + "' != '" + false + "'", boolean67 == false); org.junit.Assert.assertNotNull(dateTimeField68); org.junit.Assert.assertNotNull(instant69); org.junit.Assert.assertNotNull(gJChronology71); org.junit.Assert.assertNotNull(gJChronology72); org.junit.Assert.assertNotNull(gJChronology73); org.junit.Assert.assertTrue("'" + boolean74 + "' != '" + false + "'", boolean74 == false); } @Test public void test1667() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1667"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeZone dateTimeZone9 = gJChronology3.getZone(); org.joda.time.ReadableInstant readableInstant10 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone9, readableInstant10); org.joda.time.DateTimeField dateTimeField12 = gJChronology11.secondOfMinute(); boolean boolean14 = gJChronology11.equals((java.lang.Object) (byte) -1); org.joda.time.DateTimeField dateTimeField15 = gJChronology11.year(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertNotNull(dateTimeZone9); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertTrue("'" + boolean14 + "' != '" + false + "'", boolean14 == false); org.junit.Assert.assertNotNull(dateTimeField15); } @Test public void test1668() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1668"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.days(); org.joda.time.DurationField durationField8 = gJChronology3.seconds(); org.joda.time.DurationField durationField9 = gJChronology3.hours(); org.joda.time.DateTimeZone dateTimeZone10 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.dayOfWeek(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.weekOfWeekyear(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(durationField9); org.junit.Assert.assertNotNull(dateTimeZone10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(dateTimeField12); } @Test public void test1669() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1669"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.weekyears(); org.joda.time.DurationField durationField8 = gJChronology3.years(); org.joda.time.ReadablePeriod readablePeriod9 = null; // The following exception was thrown during execution in test generation try { int[] intArray12 = gJChronology3.get(readablePeriod9, 32L, 0L); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(durationField8); } @Test @Ignore public void test1670() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1670"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.minuteOfHour(); org.joda.time.DateTimeZone dateTimeZone2 = null; org.joda.time.ReadableInstant readableInstant3 = null; org.joda.time.chrono.GJChronology gJChronology5 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone2, readableInstant3, (int) (short) 1); org.joda.time.DateTimeField dateTimeField6 = gJChronology5.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod7 = null; long long10 = gJChronology5.add(readablePeriod7, (long) (short) 1, (int) (byte) -1); long long15 = gJChronology5.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField16 = gJChronology5.seconds(); org.joda.time.DateTimeZone dateTimeZone17 = gJChronology5.getZone(); org.joda.time.Chronology chronology18 = gJChronology0.withZone(dateTimeZone17); org.joda.time.chrono.GJChronology gJChronology19 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone17); org.joda.time.DateTimeField dateTimeField20 = gJChronology19.centuryOfEra(); org.joda.time.DateTimeField dateTimeField21 = gJChronology19.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField22 = gJChronology19.dayOfYear(); org.joda.time.DateTimeField dateTimeField23 = gJChronology19.hourOfHalfday(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(gJChronology5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertTrue("'" + long10 + "' != '" + 1L + "'", long10 == 1L); org.junit.Assert.assertTrue("'" + long15 + "' != '" + (-61062076799990L) + "'", long15 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(dateTimeZone17); org.junit.Assert.assertNotNull(chronology18); org.junit.Assert.assertNotNull(gJChronology19); org.junit.Assert.assertNotNull(dateTimeField20); org.junit.Assert.assertNotNull(dateTimeField21); org.junit.Assert.assertNotNull(dateTimeField22); org.junit.Assert.assertNotNull(dateTimeField23); } @Test @Ignore public void test1671() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1671"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DateTimeField dateTimeField14 = gJChronology3.minuteOfDay(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.dayOfWeek(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.dayOfMonth(); org.joda.time.DateTimeZone dateTimeZone17 = null; org.joda.time.ReadableInstant readableInstant18 = null; org.joda.time.chrono.GJChronology gJChronology20 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone17, readableInstant18, (int) (short) 1); boolean boolean22 = gJChronology20.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField23 = gJChronology20.centuryOfEra(); org.joda.time.DurationField durationField24 = gJChronology20.centuries(); org.joda.time.DateTimeZone dateTimeZone25 = gJChronology20.getZone(); org.joda.time.DurationField durationField26 = gJChronology20.centuries(); org.joda.time.DateTimeField dateTimeField27 = gJChronology20.secondOfDay(); boolean boolean28 = gJChronology3.equals((java.lang.Object) dateTimeField27); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(gJChronology20); org.junit.Assert.assertTrue("'" + boolean22 + "' != '" + false + "'", boolean22 == false); org.junit.Assert.assertNotNull(dateTimeField23); org.junit.Assert.assertNotNull(durationField24); org.junit.Assert.assertNotNull(dateTimeZone25); org.junit.Assert.assertNotNull(durationField26); org.junit.Assert.assertNotNull(dateTimeField27); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); } @Test @Ignore public void test1672() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1672"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.seconds(); org.joda.time.DateTimeZone dateTimeZone15 = null; org.joda.time.ReadableInstant readableInstant16 = null; org.joda.time.chrono.GJChronology gJChronology18 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone15, readableInstant16, (int) (short) 1); boolean boolean20 = gJChronology18.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField21 = gJChronology18.year(); org.joda.time.DateTimeZone dateTimeZone22 = gJChronology18.getZone(); org.joda.time.DateTimeField dateTimeField23 = gJChronology18.minuteOfDay(); org.joda.time.DateTimeZone dateTimeZone24 = gJChronology18.getZone(); org.joda.time.Chronology chronology25 = gJChronology3.withZone(dateTimeZone24); org.joda.time.chrono.GJChronology gJChronology26 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone24); org.joda.time.DateTimeZone dateTimeZone27 = null; org.joda.time.ReadableInstant readableInstant28 = null; org.joda.time.chrono.GJChronology gJChronology30 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone27, readableInstant28, (int) (short) 1); boolean boolean32 = gJChronology30.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField33 = gJChronology30.year(); org.joda.time.DateTimeField dateTimeField34 = gJChronology30.dayOfWeek(); org.joda.time.DateTimeZone dateTimeZone35 = null; org.joda.time.ReadableInstant readableInstant36 = null; org.joda.time.chrono.GJChronology gJChronology38 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone35, readableInstant36, (int) (short) 1); org.joda.time.DateTimeField dateTimeField39 = gJChronology38.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField40 = gJChronology38.year(); org.joda.time.DurationField durationField41 = gJChronology38.centuries(); org.joda.time.DateTimeField dateTimeField42 = gJChronology38.dayOfMonth(); boolean boolean43 = gJChronology30.equals((java.lang.Object) dateTimeField42); int int44 = gJChronology30.getMinimumDaysInFirstWeek(); org.joda.time.DurationField durationField45 = gJChronology30.months(); org.joda.time.DateTimeField dateTimeField46 = gJChronology30.year(); org.joda.time.DurationField durationField47 = gJChronology30.hours(); org.joda.time.DateTimeField dateTimeField48 = gJChronology30.halfdayOfDay(); org.joda.time.Instant instant49 = gJChronology30.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology50 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone24, (org.joda.time.ReadableInstant) instant49); org.joda.time.chrono.GJChronology gJChronology51 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone24); org.joda.time.DateTimeField dateTimeField52 = gJChronology51.millisOfSecond(); org.joda.time.DateTimeField dateTimeField53 = gJChronology51.secondOfMinute(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(gJChronology18); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(dateTimeField21); org.junit.Assert.assertNotNull(dateTimeZone22); org.junit.Assert.assertNotNull(dateTimeField23); org.junit.Assert.assertNotNull(dateTimeZone24); org.junit.Assert.assertNotNull(chronology25); org.junit.Assert.assertNotNull(gJChronology26); org.junit.Assert.assertNotNull(gJChronology30); org.junit.Assert.assertTrue("'" + boolean32 + "' != '" + false + "'", boolean32 == false); org.junit.Assert.assertNotNull(dateTimeField33); org.junit.Assert.assertNotNull(dateTimeField34); org.junit.Assert.assertNotNull(gJChronology38); org.junit.Assert.assertNotNull(dateTimeField39); org.junit.Assert.assertNotNull(dateTimeField40); org.junit.Assert.assertNotNull(durationField41); org.junit.Assert.assertNotNull(dateTimeField42); org.junit.Assert.assertTrue("'" + boolean43 + "' != '" + false + "'", boolean43 == false); org.junit.Assert.assertTrue("'" + int44 + "' != '" + 1 + "'", int44 == 1); org.junit.Assert.assertNotNull(durationField45); org.junit.Assert.assertNotNull(dateTimeField46); org.junit.Assert.assertNotNull(durationField47); org.junit.Assert.assertNotNull(dateTimeField48); org.junit.Assert.assertNotNull(instant49); org.junit.Assert.assertNotNull(gJChronology50); org.junit.Assert.assertNotNull(gJChronology51); org.junit.Assert.assertNotNull(dateTimeField52); org.junit.Assert.assertNotNull(dateTimeField53); } @Test @Ignore public void test1673() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1673"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.yearOfEra(); java.lang.String str19 = gJChronology3.toString(); org.joda.time.DateTimeZone dateTimeZone20 = null; org.joda.time.ReadableInstant readableInstant21 = null; org.joda.time.chrono.GJChronology gJChronology23 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone20, readableInstant21, (int) (short) 1); boolean boolean25 = gJChronology23.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField26 = gJChronology23.dayOfYear(); org.joda.time.DurationField durationField27 = gJChronology23.days(); org.joda.time.DateTimeField dateTimeField28 = gJChronology23.weekyear(); boolean boolean29 = gJChronology3.equals((java.lang.Object) gJChronology23); org.joda.time.DurationField durationField30 = gJChronology23.days(); org.joda.time.DateTimeField dateTimeField31 = gJChronology23.dayOfWeek(); org.joda.time.DurationField durationField32 = gJChronology23.seconds(); org.joda.time.DateTimeField dateTimeField33 = gJChronology23.centuryOfEra(); // The following exception was thrown during execution in test generation try { long long39 = gJChronology23.getDateTimeMillis((long) (short) -1, (int) (short) -1, (-1), 0, 4); org.junit.Assert.fail("Expected exception of type org.joda.time.IllegalFieldValueException; message: Value -1 for hourOfDay must be in the range [0,23]"); } catch (org.joda.time.IllegalFieldValueException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertEquals("'" + str19 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str19, "GJChronology[Etc/UTC,mdfw=1]"); org.junit.Assert.assertNotNull(gJChronology23); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); org.junit.Assert.assertNotNull(dateTimeField26); org.junit.Assert.assertNotNull(durationField27); org.junit.Assert.assertNotNull(dateTimeField28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + true + "'", boolean29 == true); org.junit.Assert.assertNotNull(durationField30); org.junit.Assert.assertNotNull(dateTimeField31); org.junit.Assert.assertNotNull(durationField32); org.junit.Assert.assertNotNull(dateTimeField33); } @Test @Ignore public void test1674() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1674"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DurationField durationField15 = gJChronology3.months(); org.joda.time.DurationField durationField16 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.millisOfSecond(); org.joda.time.DurationField durationField18 = gJChronology3.millis(); org.joda.time.DurationField durationField19 = gJChronology3.halfdays(); // The following exception was thrown during execution in test generation try { long long25 = gJChronology3.getDateTimeMillis(15035000L, (int) (short) 10, (int) (short) -1, (int) (short) 1, (int) (byte) 1); org.junit.Assert.fail("Expected exception of type org.joda.time.IllegalFieldValueException; message: Value -1 for minuteOfHour must be in the range [0,59]"); } catch (org.joda.time.IllegalFieldValueException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(durationField19); } @Test @Ignore public void test1675() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1675"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.minuteOfHour(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.weekOfWeekyear(); org.joda.time.DurationField durationField17 = gJChronology3.days(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.year(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(durationField17); org.junit.Assert.assertNotNull(dateTimeField18); } @Test public void test1676() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1676"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.days(); org.joda.time.DurationField durationField8 = gJChronology3.seconds(); int int9 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DurationField durationField10 = gJChronology3.seconds(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone12 = null; org.joda.time.ReadableInstant readableInstant13 = null; org.joda.time.chrono.GJChronology gJChronology15 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone12, readableInstant13, (int) (short) 1); boolean boolean17 = gJChronology15.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField18 = gJChronology15.centuryOfEra(); org.joda.time.DurationField durationField19 = gJChronology15.centuries(); org.joda.time.DateTimeZone dateTimeZone20 = gJChronology15.getZone(); org.joda.time.DurationField durationField21 = gJChronology15.millis(); org.joda.time.DurationField durationField22 = gJChronology15.minutes(); long long26 = gJChronology15.add((long) '4', 0L, (int) (byte) 0); org.joda.time.DateTimeZone dateTimeZone27 = null; org.joda.time.ReadableInstant readableInstant28 = null; org.joda.time.chrono.GJChronology gJChronology30 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone27, readableInstant28, (int) (short) 1); org.joda.time.DateTimeField dateTimeField31 = gJChronology30.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod32 = null; long long35 = gJChronology30.add(readablePeriod32, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeZone dateTimeZone36 = gJChronology30.getZone(); org.joda.time.ReadableInstant readableInstant37 = null; org.joda.time.chrono.GJChronology gJChronology38 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone36, readableInstant37); org.joda.time.DateTimeZone dateTimeZone39 = null; org.joda.time.ReadableInstant readableInstant40 = null; org.joda.time.chrono.GJChronology gJChronology42 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone39, readableInstant40, (int) (short) 1); boolean boolean44 = gJChronology42.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField45 = gJChronology42.year(); org.joda.time.DateTimeZone dateTimeZone46 = gJChronology42.getZone(); org.joda.time.DateTimeZone dateTimeZone47 = null; org.joda.time.ReadableInstant readableInstant48 = null; org.joda.time.chrono.GJChronology gJChronology50 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone47, readableInstant48, (int) (short) 1); boolean boolean52 = gJChronology50.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField53 = gJChronology50.year(); org.joda.time.Instant instant54 = gJChronology50.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology55 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone46, (org.joda.time.ReadableInstant) instant54); org.joda.time.chrono.GJChronology gJChronology56 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone36, (org.joda.time.ReadableInstant) instant54); org.joda.time.Chronology chronology57 = gJChronology15.withZone(dateTimeZone36); org.joda.time.DateTimeZone dateTimeZone58 = null; org.joda.time.ReadableInstant readableInstant59 = null; org.joda.time.chrono.GJChronology gJChronology61 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone58, readableInstant59, (int) (short) 1); org.joda.time.Chronology chronology62 = gJChronology61.withUTC(); org.joda.time.DateTimeField dateTimeField63 = gJChronology61.yearOfEra(); org.joda.time.Instant instant64 = gJChronology61.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology65 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone36, (org.joda.time.ReadableInstant) instant64); org.joda.time.Chronology chronology66 = gJChronology3.withZone(dateTimeZone36); org.joda.time.DurationField durationField67 = gJChronology3.weekyears(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertTrue("'" + int9 + "' != '" + 1 + "'", int9 == 1); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(gJChronology15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(durationField19); org.junit.Assert.assertNotNull(dateTimeZone20); org.junit.Assert.assertNotNull(durationField21); org.junit.Assert.assertNotNull(durationField22); org.junit.Assert.assertTrue("'" + long26 + "' != '" + 52L + "'", long26 == 52L); org.junit.Assert.assertNotNull(gJChronology30); org.junit.Assert.assertNotNull(dateTimeField31); org.junit.Assert.assertTrue("'" + long35 + "' != '" + 1L + "'", long35 == 1L); org.junit.Assert.assertNotNull(dateTimeZone36); org.junit.Assert.assertNotNull(gJChronology38); org.junit.Assert.assertNotNull(gJChronology42); org.junit.Assert.assertTrue("'" + boolean44 + "' != '" + false + "'", boolean44 == false); org.junit.Assert.assertNotNull(dateTimeField45); org.junit.Assert.assertNotNull(dateTimeZone46); org.junit.Assert.assertNotNull(gJChronology50); org.junit.Assert.assertTrue("'" + boolean52 + "' != '" + false + "'", boolean52 == false); org.junit.Assert.assertNotNull(dateTimeField53); org.junit.Assert.assertNotNull(instant54); org.junit.Assert.assertNotNull(gJChronology55); org.junit.Assert.assertNotNull(gJChronology56); org.junit.Assert.assertNotNull(chronology57); org.junit.Assert.assertNotNull(gJChronology61); org.junit.Assert.assertNotNull(chronology62); org.junit.Assert.assertNotNull(dateTimeField63); org.junit.Assert.assertNotNull(instant64); org.junit.Assert.assertNotNull(gJChronology65); org.junit.Assert.assertNotNull(chronology66); org.junit.Assert.assertNotNull(durationField67); } @Test public void test1677() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1677"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.centuryOfEra(); org.joda.time.DurationField durationField7 = gJChronology3.centuries(); org.joda.time.DateTimeZone dateTimeZone8 = gJChronology3.getZone(); org.joda.time.DurationField durationField9 = gJChronology3.millis(); org.joda.time.DurationField durationField10 = gJChronology3.minutes(); long long14 = gJChronology3.add((long) '4', 0L, (int) (byte) 0); org.joda.time.DateTimeZone dateTimeZone15 = null; org.joda.time.ReadableInstant readableInstant16 = null; org.joda.time.chrono.GJChronology gJChronology18 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone15, readableInstant16, (int) (short) 1); org.joda.time.DateTimeField dateTimeField19 = gJChronology18.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod20 = null; long long23 = gJChronology18.add(readablePeriod20, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeZone dateTimeZone24 = gJChronology18.getZone(); org.joda.time.ReadableInstant readableInstant25 = null; org.joda.time.chrono.GJChronology gJChronology26 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone24, readableInstant25); org.joda.time.DateTimeZone dateTimeZone27 = null; org.joda.time.ReadableInstant readableInstant28 = null; org.joda.time.chrono.GJChronology gJChronology30 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone27, readableInstant28, (int) (short) 1); boolean boolean32 = gJChronology30.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField33 = gJChronology30.year(); org.joda.time.DateTimeZone dateTimeZone34 = gJChronology30.getZone(); org.joda.time.DateTimeZone dateTimeZone35 = null; org.joda.time.ReadableInstant readableInstant36 = null; org.joda.time.chrono.GJChronology gJChronology38 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone35, readableInstant36, (int) (short) 1); boolean boolean40 = gJChronology38.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField41 = gJChronology38.year(); org.joda.time.Instant instant42 = gJChronology38.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology43 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone34, (org.joda.time.ReadableInstant) instant42); org.joda.time.chrono.GJChronology gJChronology44 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone24, (org.joda.time.ReadableInstant) instant42); org.joda.time.Chronology chronology45 = gJChronology3.withZone(dateTimeZone24); org.joda.time.DateTimeZone dateTimeZone46 = null; org.joda.time.ReadableInstant readableInstant47 = null; org.joda.time.chrono.GJChronology gJChronology49 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone46, readableInstant47, (int) (short) 1); org.joda.time.Chronology chronology50 = gJChronology49.withUTC(); org.joda.time.DateTimeField dateTimeField51 = gJChronology49.yearOfEra(); org.joda.time.Instant instant52 = gJChronology49.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology53 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone24, (org.joda.time.ReadableInstant) instant52); org.joda.time.DateTimeZone dateTimeZone54 = null; org.joda.time.ReadableInstant readableInstant55 = null; org.joda.time.chrono.GJChronology gJChronology57 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone54, readableInstant55, (int) (short) 1); boolean boolean59 = gJChronology57.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField60 = gJChronology57.dayOfYear(); org.joda.time.DurationField durationField61 = gJChronology57.days(); org.joda.time.DateTimeField dateTimeField62 = gJChronology57.centuryOfEra(); org.joda.time.DurationField durationField63 = gJChronology57.years(); org.joda.time.Instant instant64 = gJChronology57.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology65 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone24, (org.joda.time.ReadableInstant) instant64); org.joda.time.DateTimeField dateTimeField66 = gJChronology65.minuteOfHour(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(dateTimeZone8); org.junit.Assert.assertNotNull(durationField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertTrue("'" + long14 + "' != '" + 52L + "'", long14 == 52L); org.junit.Assert.assertNotNull(gJChronology18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertTrue("'" + long23 + "' != '" + 1L + "'", long23 == 1L); org.junit.Assert.assertNotNull(dateTimeZone24); org.junit.Assert.assertNotNull(gJChronology26); org.junit.Assert.assertNotNull(gJChronology30); org.junit.Assert.assertTrue("'" + boolean32 + "' != '" + false + "'", boolean32 == false); org.junit.Assert.assertNotNull(dateTimeField33); org.junit.Assert.assertNotNull(dateTimeZone34); org.junit.Assert.assertNotNull(gJChronology38); org.junit.Assert.assertTrue("'" + boolean40 + "' != '" + false + "'", boolean40 == false); org.junit.Assert.assertNotNull(dateTimeField41); org.junit.Assert.assertNotNull(instant42); org.junit.Assert.assertNotNull(gJChronology43); org.junit.Assert.assertNotNull(gJChronology44); org.junit.Assert.assertNotNull(chronology45); org.junit.Assert.assertNotNull(gJChronology49); org.junit.Assert.assertNotNull(chronology50); org.junit.Assert.assertNotNull(dateTimeField51); org.junit.Assert.assertNotNull(instant52); org.junit.Assert.assertNotNull(gJChronology53); org.junit.Assert.assertNotNull(gJChronology57); org.junit.Assert.assertTrue("'" + boolean59 + "' != '" + false + "'", boolean59 == false); org.junit.Assert.assertNotNull(dateTimeField60); org.junit.Assert.assertNotNull(durationField61); org.junit.Assert.assertNotNull(dateTimeField62); org.junit.Assert.assertNotNull(durationField63); org.junit.Assert.assertNotNull(instant64); org.junit.Assert.assertNotNull(gJChronology65); org.junit.Assert.assertNotNull(dateTimeField66); } @Test @Ignore public void test1678() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1678"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DurationField durationField15 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.dayOfMonth(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.yearOfEra(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.dayOfWeek(); org.joda.time.Chronology chronology19 = gJChronology3.withUTC(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(chronology19); } @Test @Ignore public void test1679() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1679"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DurationField durationField15 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.weekyear(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.yearOfCentury(); org.joda.time.DurationField durationField18 = gJChronology3.hours(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.dayOfMonth(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(dateTimeField19); } @Test @Ignore public void test1680() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1680"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.year(); org.joda.time.DurationField durationField6 = gJChronology3.centuries(); org.joda.time.DurationField durationField7 = gJChronology3.weekyears(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.weekOfWeekyear(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.era(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.centuryOfEra(); org.joda.time.DateTimeZone dateTimeZone11 = gJChronology3.getZone(); org.joda.time.DateTimeZone dateTimeZone12 = null; org.joda.time.ReadableInstant readableInstant13 = null; org.joda.time.chrono.GJChronology gJChronology15 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone12, readableInstant13, (int) (short) 1); org.joda.time.DateTimeField dateTimeField16 = gJChronology15.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod17 = null; long long20 = gJChronology15.add(readablePeriod17, (long) (short) 1, (int) (byte) -1); long long25 = gJChronology15.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DateTimeField dateTimeField26 = gJChronology15.minuteOfDay(); org.joda.time.DateTimeField dateTimeField27 = gJChronology15.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField28 = gJChronology15.year(); org.joda.time.Instant instant29 = gJChronology15.getGregorianCutover(); // The following exception was thrown during execution in test generation try { org.joda.time.chrono.GJChronology gJChronology31 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone11, (org.joda.time.ReadableInstant) instant29, (int) (short) -1); org.junit.Assert.fail("Expected exception of type java.lang.IllegalArgumentException; message: Invalid min days in first week: -1"); } catch (java.lang.IllegalArgumentException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeZone11); org.junit.Assert.assertNotNull(gJChronology15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertTrue("'" + long20 + "' != '" + 1L + "'", long20 == 1L); org.junit.Assert.assertTrue("'" + long25 + "' != '" + (-61062076799990L) + "'", long25 == (-61062076799990L)); org.junit.Assert.assertNotNull(dateTimeField26); org.junit.Assert.assertNotNull(dateTimeField27); org.junit.Assert.assertNotNull(dateTimeField28); org.junit.Assert.assertNotNull(instant29); } @Test public void test1681() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1681"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField1 = gJChronology0.weeks(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.clockhourOfHalfday(); org.joda.time.DurationField durationField3 = gJChronology0.days(); long long7 = gJChronology0.add((long) (short) 1, (long) '#', 1); org.joda.time.DateTimeField dateTimeField8 = gJChronology0.minuteOfHour(); org.joda.time.DurationField durationField9 = gJChronology0.hours(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(durationField1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertNotNull(durationField3); org.junit.Assert.assertTrue("'" + long7 + "' != '" + 36L + "'", long7 == 36L); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(durationField9); } @Test @Ignore public void test1682() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1682"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.chrono.GJChronology gJChronology10 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone7, 1665L, (int) (short) 1); org.joda.time.Instant instant11 = gJChronology10.getGregorianCutover(); long long17 = gJChronology10.getDateTimeMillis((long) '#', 0, 1, 1, (int) ' '); org.joda.time.DateTimeField dateTimeField18 = gJChronology10.dayOfWeek(); java.lang.String str19 = gJChronology10.toString(); org.joda.time.DateTimeField dateTimeField20 = gJChronology10.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField21 = gJChronology10.yearOfEra(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology10); org.junit.Assert.assertNotNull(instant11); org.junit.Assert.assertTrue("'" + long17 + "' != '" + 61032L + "'", long17 == 61032L); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertEquals("'" + str19 + "' != '" + "GJChronology[Etc/UTC,cutover=1970-01-01T00:00:01.665Z,mdfw=1]" + "'", str19, "GJChronology[Etc/UTC,cutover=1970-01-01T00:00:01.665Z,mdfw=1]"); org.junit.Assert.assertNotNull(dateTimeField20); org.junit.Assert.assertNotNull(dateTimeField21); } @Test public void test1683() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1683"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.dayOfYear(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.yearOfCentury(); org.joda.time.DurationField durationField6 = gJChronology3.weekyears(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.weekyearOfCentury(); org.joda.time.DurationField durationField8 = gJChronology3.halfdays(); int int9 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.secondOfDay(); int int11 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DurationField durationField12 = gJChronology3.millis(); org.joda.time.ReadablePeriod readablePeriod13 = null; // The following exception was thrown during execution in test generation try { int[] intArray16 = gJChronology3.get(readablePeriod13, (-1631L), (-61062076799990L)); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertTrue("'" + int9 + "' != '" + 1 + "'", int9 == 1); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertTrue("'" + int11 + "' != '" + 1 + "'", int11 == 1); org.junit.Assert.assertNotNull(durationField12); } @Test public void test1684() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1684"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeZone dateTimeZone9 = gJChronology3.getZone(); org.joda.time.ReadableInstant readableInstant10 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone9, readableInstant10); org.joda.time.DateTimeZone dateTimeZone12 = null; org.joda.time.ReadableInstant readableInstant13 = null; org.joda.time.chrono.GJChronology gJChronology15 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone12, readableInstant13, (int) (short) 1); boolean boolean17 = gJChronology15.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField18 = gJChronology15.year(); org.joda.time.DateTimeZone dateTimeZone19 = gJChronology15.getZone(); org.joda.time.DateTimeZone dateTimeZone20 = null; org.joda.time.ReadableInstant readableInstant21 = null; org.joda.time.chrono.GJChronology gJChronology23 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone20, readableInstant21, (int) (short) 1); boolean boolean25 = gJChronology23.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField26 = gJChronology23.year(); org.joda.time.Instant instant27 = gJChronology23.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology28 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone19, (org.joda.time.ReadableInstant) instant27); org.joda.time.chrono.GJChronology gJChronology29 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone9, (org.joda.time.ReadableInstant) instant27); org.joda.time.DateTimeField dateTimeField30 = gJChronology29.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField31 = gJChronology29.weekyearOfCentury(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertNotNull(dateTimeZone9); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(gJChronology15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(dateTimeZone19); org.junit.Assert.assertNotNull(gJChronology23); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); org.junit.Assert.assertNotNull(dateTimeField26); org.junit.Assert.assertNotNull(instant27); org.junit.Assert.assertNotNull(gJChronology28); org.junit.Assert.assertNotNull(gJChronology29); org.junit.Assert.assertNotNull(dateTimeField30); org.junit.Assert.assertNotNull(dateTimeField31); } @Test @Ignore public void test1685() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1685"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.yearOfEra(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.halfdayOfDay(); long long23 = gJChronology3.add(10L, (-51L), 4); org.joda.time.DateTimeField dateTimeField24 = gJChronology3.year(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertTrue("'" + long23 + "' != '" + (-194L) + "'", long23 == (-194L)); org.junit.Assert.assertNotNull(dateTimeField24); } @Test public void test1686() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1686"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.days(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.centuryOfEra(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.monthOfYear(); org.joda.time.DurationField durationField10 = gJChronology3.weekyears(); // The following exception was thrown during execution in test generation try { long long18 = gJChronology3.getDateTimeMillis(100, 10, 0, 100, 0, (int) (short) -1, (int) (short) -1); org.junit.Assert.fail("Expected exception of type org.joda.time.IllegalFieldValueException; message: Value 100 for hourOfDay must be in the range [0,23]"); } catch (org.joda.time.IllegalFieldValueException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(durationField10); } @Test @Ignore public void test1687() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1687"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); org.joda.time.DateTimeField dateTimeField12 = gJChronology11.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod13 = null; long long16 = gJChronology11.add(readablePeriod13, (long) (short) 1, (int) (byte) -1); long long21 = gJChronology11.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField22 = gJChronology11.millis(); boolean boolean23 = gJChronology3.equals((java.lang.Object) gJChronology11); org.joda.time.DateTimeField dateTimeField24 = gJChronology3.halfdayOfDay(); org.joda.time.DurationField durationField25 = gJChronology3.hours(); org.joda.time.DateTimeField dateTimeField26 = gJChronology3.centuryOfEra(); org.joda.time.DurationField durationField27 = gJChronology3.halfdays(); org.joda.time.ReadablePeriod readablePeriod28 = null; long long31 = gJChronology3.add(readablePeriod28, (-42L), (-1)); org.joda.time.DateTimeField dateTimeField32 = gJChronology3.centuryOfEra(); org.joda.time.DateTimeZone dateTimeZone33 = null; org.joda.time.ReadableInstant readableInstant34 = null; org.joda.time.chrono.GJChronology gJChronology36 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone33, readableInstant34, (int) (short) 1); boolean boolean38 = gJChronology36.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField39 = gJChronology36.year(); org.joda.time.DateTimeZone dateTimeZone40 = gJChronology36.getZone(); org.joda.time.chrono.GJChronology gJChronology43 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone40, 1665L, (int) (short) 1); org.joda.time.DurationField durationField44 = gJChronology43.months(); org.joda.time.DateTimeField dateTimeField45 = gJChronology43.yearOfEra(); org.joda.time.DateTimeField dateTimeField46 = gJChronology43.millisOfSecond(); boolean boolean47 = gJChronology3.equals((java.lang.Object) gJChronology43); org.joda.time.DateTimeField dateTimeField48 = gJChronology43.secondOfMinute(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertTrue("'" + long16 + "' != '" + 1L + "'", long16 == 1L); org.junit.Assert.assertTrue("'" + long21 + "' != '" + (-61062076799990L) + "'", long21 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField22); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + true + "'", boolean23 == true); org.junit.Assert.assertNotNull(dateTimeField24); org.junit.Assert.assertNotNull(durationField25); org.junit.Assert.assertNotNull(dateTimeField26); org.junit.Assert.assertNotNull(durationField27); org.junit.Assert.assertTrue("'" + long31 + "' != '" + (-42L) + "'", long31 == (-42L)); org.junit.Assert.assertNotNull(dateTimeField32); org.junit.Assert.assertNotNull(gJChronology36); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + false + "'", boolean38 == false); org.junit.Assert.assertNotNull(dateTimeField39); org.junit.Assert.assertNotNull(dateTimeZone40); org.junit.Assert.assertNotNull(gJChronology43); org.junit.Assert.assertNotNull(durationField44); org.junit.Assert.assertNotNull(dateTimeField45); org.junit.Assert.assertNotNull(dateTimeField46); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(dateTimeField48); } @Test public void test1688() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1688"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.dayOfWeek(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); org.joda.time.DateTimeField dateTimeField12 = gJChronology11.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField13 = gJChronology11.year(); org.joda.time.DurationField durationField14 = gJChronology11.centuries(); org.joda.time.DateTimeField dateTimeField15 = gJChronology11.dayOfMonth(); boolean boolean16 = gJChronology3.equals((java.lang.Object) dateTimeField15); org.joda.time.Chronology chronology17 = gJChronology3.withUTC(); org.joda.time.DurationField durationField18 = gJChronology3.years(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.era(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertNotNull(chronology17); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(dateTimeField19); } @Test @Ignore public void test1689() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1689"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.yearOfEra(); org.joda.time.DurationField durationField19 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField20 = gJChronology3.era(); org.joda.time.DateTimeField dateTimeField21 = gJChronology3.clockhourOfHalfday(); org.joda.time.ReadablePartial readablePartial22 = null; // The following exception was thrown during execution in test generation try { long long24 = gJChronology3.set(readablePartial22, 532371L); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(durationField19); org.junit.Assert.assertNotNull(dateTimeField20); org.junit.Assert.assertNotNull(dateTimeField21); } @Test public void test1690() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1690"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DurationField durationField5 = gJChronology3.years(); org.joda.time.Instant instant6 = gJChronology3.getGregorianCutover(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.weekyearOfCentury(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(durationField5); org.junit.Assert.assertNotNull(instant6); org.junit.Assert.assertNotNull(dateTimeField7); } @Test @Ignore public void test1691() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1691"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DurationField durationField15 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.minuteOfDay(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.secondOfMinute(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.dayOfMonth(); org.joda.time.DurationField durationField19 = gJChronology3.months(); int int20 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.ReadablePartial readablePartial21 = null; // The following exception was thrown during execution in test generation try { long long23 = gJChronology3.set(readablePartial21, 32L); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(durationField19); org.junit.Assert.assertTrue("'" + int20 + "' != '" + 1 + "'", int20 == 1); } @Test @Ignore public void test1692() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1692"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.millisOfDay(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.weekyearOfCentury(); org.joda.time.DurationField durationField18 = gJChronology3.weekyears(); org.joda.time.ReadablePeriod readablePeriod19 = null; long long22 = gJChronology3.add(readablePeriod19, (-42L), 1); org.joda.time.DateTimeField dateTimeField23 = gJChronology3.dayOfYear(); org.joda.time.DateTimeZone dateTimeZone24 = null; org.joda.time.ReadableInstant readableInstant25 = null; org.joda.time.chrono.GJChronology gJChronology27 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone24, readableInstant25, (int) (short) 1); boolean boolean29 = gJChronology27.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField30 = gJChronology27.year(); org.joda.time.DateTimeZone dateTimeZone31 = gJChronology27.getZone(); org.joda.time.chrono.GJChronology gJChronology32 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone31); org.joda.time.Chronology chronology33 = gJChronology3.withZone(dateTimeZone31); // The following exception was thrown during execution in test generation try { org.joda.time.chrono.GJChronology gJChronology36 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone31, (-49798848L), (int) (byte) -1); org.junit.Assert.fail("Expected exception of type java.lang.IllegalArgumentException; message: Invalid min days in first week: -1"); } catch (java.lang.IllegalArgumentException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertTrue("'" + long22 + "' != '" + (-42L) + "'", long22 == (-42L)); org.junit.Assert.assertNotNull(dateTimeField23); org.junit.Assert.assertNotNull(gJChronology27); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + false + "'", boolean29 == false); org.junit.Assert.assertNotNull(dateTimeField30); org.junit.Assert.assertNotNull(dateTimeZone31); org.junit.Assert.assertNotNull(gJChronology32); org.junit.Assert.assertNotNull(chronology33); } @Test public void test1693() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1693"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeZone dateTimeZone9 = gJChronology3.getZone(); org.joda.time.ReadableInstant readableInstant10 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone9, readableInstant10); org.joda.time.DateTimeZone dateTimeZone12 = null; org.joda.time.ReadableInstant readableInstant13 = null; org.joda.time.chrono.GJChronology gJChronology15 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone12, readableInstant13, (int) (short) 1); boolean boolean17 = gJChronology15.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField18 = gJChronology15.year(); org.joda.time.DateTimeZone dateTimeZone19 = gJChronology15.getZone(); org.joda.time.DateTimeZone dateTimeZone20 = null; org.joda.time.ReadableInstant readableInstant21 = null; org.joda.time.chrono.GJChronology gJChronology23 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone20, readableInstant21, (int) (short) 1); boolean boolean25 = gJChronology23.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField26 = gJChronology23.year(); org.joda.time.Instant instant27 = gJChronology23.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology28 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone19, (org.joda.time.ReadableInstant) instant27); org.joda.time.chrono.GJChronology gJChronology29 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone9, (org.joda.time.ReadableInstant) instant27); org.joda.time.DateTimeField dateTimeField30 = gJChronology29.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod31 = null; long long34 = gJChronology29.add(readablePeriod31, (long) 4, (int) (byte) -1); org.joda.time.DurationField durationField35 = gJChronology29.centuries(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertNotNull(dateTimeZone9); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(gJChronology15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(dateTimeZone19); org.junit.Assert.assertNotNull(gJChronology23); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); org.junit.Assert.assertNotNull(dateTimeField26); org.junit.Assert.assertNotNull(instant27); org.junit.Assert.assertNotNull(gJChronology28); org.junit.Assert.assertNotNull(gJChronology29); org.junit.Assert.assertNotNull(dateTimeField30); org.junit.Assert.assertTrue("'" + long34 + "' != '" + 4L + "'", long34 == 4L); org.junit.Assert.assertNotNull(durationField35); } @Test public void test1694() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1694"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.days(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.weekyear(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.year(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); } @Test public void test1695() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1695"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.Instant instant7 = gJChronology3.getGregorianCutover(); org.joda.time.DurationField durationField8 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.year(); org.joda.time.DurationField durationField10 = gJChronology3.minutes(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.yearOfCentury(); org.joda.time.DurationField durationField13 = gJChronology3.days(); org.joda.time.Instant instant14 = gJChronology3.getGregorianCutover(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.dayOfYear(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.hourOfDay(); org.joda.time.Instant instant17 = gJChronology3.getGregorianCutover(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(instant7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(durationField13); org.junit.Assert.assertNotNull(instant14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(instant17); } @Test public void test1696() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1696"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.Instant instant7 = gJChronology3.getGregorianCutover(); org.joda.time.DurationField durationField8 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.year(); org.joda.time.DurationField durationField10 = gJChronology3.halfdays(); org.joda.time.DateTimeZone dateTimeZone11 = gJChronology3.getZone(); org.joda.time.chrono.GJChronology gJChronology12 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField13 = gJChronology12.minuteOfHour(); org.joda.time.DateTimeField dateTimeField14 = gJChronology12.weekOfWeekyear(); org.joda.time.Instant instant15 = gJChronology12.getGregorianCutover(); // The following exception was thrown during execution in test generation try { org.joda.time.chrono.GJChronology gJChronology17 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone11, (org.joda.time.ReadableInstant) instant15, 0); org.junit.Assert.fail("Expected exception of type java.lang.IllegalArgumentException; message: Invalid min days in first week: 0"); } catch (java.lang.IllegalArgumentException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(instant7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertNotNull(dateTimeZone11); org.junit.Assert.assertNotNull(gJChronology12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(instant15); } @Test @Ignore public void test1697() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1697"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.minuteOfHour(); org.joda.time.DateTimeZone dateTimeZone2 = null; org.joda.time.ReadableInstant readableInstant3 = null; org.joda.time.chrono.GJChronology gJChronology5 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone2, readableInstant3, (int) (short) 1); org.joda.time.DateTimeField dateTimeField6 = gJChronology5.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod7 = null; long long10 = gJChronology5.add(readablePeriod7, (long) (short) 1, (int) (byte) -1); long long15 = gJChronology5.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField16 = gJChronology5.seconds(); org.joda.time.DateTimeZone dateTimeZone17 = gJChronology5.getZone(); org.joda.time.Chronology chronology18 = gJChronology0.withZone(dateTimeZone17); org.joda.time.chrono.GJChronology gJChronology19 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone17); org.joda.time.DateTimeZone dateTimeZone20 = null; org.joda.time.ReadableInstant readableInstant21 = null; org.joda.time.chrono.GJChronology gJChronology23 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone20, readableInstant21, (int) (short) 1); org.joda.time.DateTimeField dateTimeField24 = gJChronology23.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod25 = null; long long28 = gJChronology23.add(readablePeriod25, (long) (short) 1, (int) (byte) -1); long long33 = gJChronology23.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField34 = gJChronology23.millis(); org.joda.time.Instant instant35 = gJChronology23.getGregorianCutover(); // The following exception was thrown during execution in test generation try { org.joda.time.chrono.GJChronology gJChronology37 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone17, (org.joda.time.ReadableInstant) instant35, 10); org.junit.Assert.fail("Expected exception of type java.lang.IllegalArgumentException; message: Invalid min days in first week: 10"); } catch (java.lang.IllegalArgumentException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(gJChronology5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertTrue("'" + long10 + "' != '" + 1L + "'", long10 == 1L); org.junit.Assert.assertTrue("'" + long15 + "' != '" + (-61062076799990L) + "'", long15 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(dateTimeZone17); org.junit.Assert.assertNotNull(chronology18); org.junit.Assert.assertNotNull(gJChronology19); org.junit.Assert.assertNotNull(gJChronology23); org.junit.Assert.assertNotNull(dateTimeField24); org.junit.Assert.assertTrue("'" + long28 + "' != '" + 1L + "'", long28 == 1L); org.junit.Assert.assertTrue("'" + long33 + "' != '" + (-61062076799990L) + "'", long33 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField34); org.junit.Assert.assertNotNull(instant35); } @Test public void test1698() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1698"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.days(); org.joda.time.DurationField durationField8 = gJChronology3.seconds(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.minuteOfHour(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.dayOfMonth(); org.joda.time.DurationField durationField12 = gJChronology3.weeks(); org.joda.time.DurationField durationField13 = gJChronology3.months(); org.joda.time.DateTimeField dateTimeField14 = gJChronology3.weekyear(); java.lang.Class<?> wildcardClass15 = gJChronology3.getClass(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(durationField12); org.junit.Assert.assertNotNull(durationField13); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(wildcardClass15); } @Test public void test1699() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1699"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField1 = gJChronology0.weeks(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.clockhourOfHalfday(); org.joda.time.DateTimeField dateTimeField3 = gJChronology0.dayOfYear(); org.joda.time.DateTimeField dateTimeField4 = gJChronology0.dayOfYear(); org.joda.time.DateTimeField dateTimeField5 = gJChronology0.hourOfHalfday(); org.joda.time.DurationField durationField6 = gJChronology0.seconds(); org.joda.time.DateTimeField dateTimeField7 = gJChronology0.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField8 = gJChronology0.dayOfMonth(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(durationField1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertNotNull(dateTimeField3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(dateTimeField8); } @Test @Ignore public void test1700() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1700"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); boolean boolean13 = gJChronology11.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField14 = gJChronology11.year(); org.joda.time.Instant instant15 = gJChronology11.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology17 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone7, (org.joda.time.ReadableInstant) instant15, (int) (byte) 1); org.joda.time.DateTimeZone dateTimeZone18 = null; org.joda.time.ReadableInstant readableInstant19 = null; org.joda.time.chrono.GJChronology gJChronology21 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone18, readableInstant19, (int) (short) 1); boolean boolean23 = gJChronology21.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField24 = gJChronology21.year(); org.joda.time.DateTimeZone dateTimeZone25 = gJChronology21.getZone(); org.joda.time.Chronology chronology26 = gJChronology17.withZone(dateTimeZone25); org.joda.time.ReadableInstant readableInstant27 = null; org.joda.time.chrono.GJChronology gJChronology28 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone25, readableInstant27); org.joda.time.DateTimeZone dateTimeZone29 = null; org.joda.time.ReadableInstant readableInstant30 = null; org.joda.time.chrono.GJChronology gJChronology32 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone29, readableInstant30, (int) (short) 1); org.joda.time.DateTimeField dateTimeField33 = gJChronology32.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod34 = null; long long37 = gJChronology32.add(readablePeriod34, (long) (short) 1, (int) (byte) -1); long long42 = gJChronology32.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField43 = gJChronology32.millis(); org.joda.time.DurationField durationField44 = gJChronology32.centuries(); org.joda.time.Instant instant45 = gJChronology32.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology46 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone25, (org.joda.time.ReadableInstant) instant45); org.joda.time.DateTimeZone dateTimeZone47 = null; org.joda.time.ReadableInstant readableInstant48 = null; org.joda.time.chrono.GJChronology gJChronology50 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone47, readableInstant48, (int) (short) 1); boolean boolean52 = gJChronology50.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField53 = gJChronology50.centuryOfEra(); org.joda.time.DurationField durationField54 = gJChronology50.centuries(); org.joda.time.DateTimeZone dateTimeZone55 = gJChronology50.getZone(); org.joda.time.chrono.GJChronology gJChronology56 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone55); org.joda.time.Chronology chronology57 = gJChronology46.withZone(dateTimeZone55); org.joda.time.DateTimeZone dateTimeZone58 = null; org.joda.time.ReadableInstant readableInstant59 = null; org.joda.time.chrono.GJChronology gJChronology61 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone58, readableInstant59, (int) (short) 1); org.joda.time.Chronology chronology62 = gJChronology61.withUTC(); org.joda.time.DateTimeField dateTimeField63 = gJChronology61.yearOfEra(); org.joda.time.Instant instant64 = gJChronology61.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology65 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone55, (org.joda.time.ReadableInstant) instant64); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertTrue("'" + boolean13 + "' != '" + false + "'", boolean13 == false); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(instant15); org.junit.Assert.assertNotNull(gJChronology17); org.junit.Assert.assertNotNull(gJChronology21); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + false + "'", boolean23 == false); org.junit.Assert.assertNotNull(dateTimeField24); org.junit.Assert.assertNotNull(dateTimeZone25); org.junit.Assert.assertNotNull(chronology26); org.junit.Assert.assertNotNull(gJChronology28); org.junit.Assert.assertNotNull(gJChronology32); org.junit.Assert.assertNotNull(dateTimeField33); org.junit.Assert.assertTrue("'" + long37 + "' != '" + 1L + "'", long37 == 1L); org.junit.Assert.assertTrue("'" + long42 + "' != '" + (-61062076799990L) + "'", long42 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField43); org.junit.Assert.assertNotNull(durationField44); org.junit.Assert.assertNotNull(instant45); org.junit.Assert.assertNotNull(gJChronology46); org.junit.Assert.assertNotNull(gJChronology50); org.junit.Assert.assertTrue("'" + boolean52 + "' != '" + false + "'", boolean52 == false); org.junit.Assert.assertNotNull(dateTimeField53); org.junit.Assert.assertNotNull(durationField54); org.junit.Assert.assertNotNull(dateTimeZone55); org.junit.Assert.assertNotNull(gJChronology56); org.junit.Assert.assertNotNull(chronology57); org.junit.Assert.assertNotNull(gJChronology61); org.junit.Assert.assertNotNull(chronology62); org.junit.Assert.assertNotNull(dateTimeField63); org.junit.Assert.assertNotNull(instant64); org.junit.Assert.assertNotNull(gJChronology65); } @Test @Ignore public void test1701() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1701"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DateTimeField dateTimeField14 = gJChronology3.minuteOfDay(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.dayOfWeek(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.yearOfCentury(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); } @Test public void test1702() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1702"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.era(); org.joda.time.DurationField durationField6 = gJChronology3.days(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); // The following exception was thrown during execution in test generation try { org.joda.time.chrono.GJChronology gJChronology10 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone7, (-342991996L), (int) '#'); org.junit.Assert.fail("Expected exception of type java.lang.IllegalArgumentException; message: Invalid min days in first week: 35"); } catch (java.lang.IllegalArgumentException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(dateTimeZone7); } @Test @Ignore public void test1703() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1703"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.weekyear(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.hourOfDay(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.centuryOfEra(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.millisOfSecond(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.secondOfMinute(); org.joda.time.DateTimeField dateTimeField20 = gJChronology3.millisOfDay(); org.joda.time.DateTimeField dateTimeField21 = gJChronology3.minuteOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(dateTimeField20); org.junit.Assert.assertNotNull(dateTimeField21); } @Test @Ignore public void test1704() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1704"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.minuteOfHour(); long long7 = gJChronology0.getDateTimeMillis(9L, 10, 0, (int) (byte) 0, (int) (short) 10); org.joda.time.DurationField durationField8 = gJChronology0.minutes(); org.joda.time.DateTimeField dateTimeField9 = gJChronology0.hourOfDay(); org.joda.time.DateTimeField dateTimeField10 = gJChronology0.weekyear(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertTrue("'" + long7 + "' != '" + 36000010L + "'", long7 == 36000010L); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); } @Test public void test1705() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1705"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.minuteOfHour(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.weekOfWeekyear(); org.joda.time.Chronology chronology3 = gJChronology0.withUTC(); org.joda.time.DateTimeField dateTimeField4 = gJChronology0.weekyear(); org.joda.time.DurationField durationField5 = gJChronology0.minutes(); org.joda.time.DateTimeField dateTimeField6 = gJChronology0.millisOfDay(); org.joda.time.DateTimeField dateTimeField7 = gJChronology0.secondOfDay(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertNotNull(chronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(durationField5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); } @Test @Ignore public void test1706() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1706"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.hourOfHalfday(); org.joda.time.DurationField durationField17 = gJChronology3.weeks(); org.joda.time.DurationField durationField18 = gJChronology3.seconds(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.weekyear(); org.joda.time.DateTimeField dateTimeField20 = gJChronology3.secondOfDay(); org.joda.time.DateTimeField dateTimeField21 = gJChronology3.dayOfWeek(); org.joda.time.DateTimeField dateTimeField22 = gJChronology3.dayOfWeek(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(durationField17); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(dateTimeField20); org.junit.Assert.assertNotNull(dateTimeField21); org.junit.Assert.assertNotNull(dateTimeField22); } @Test public void test1707() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1707"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeZone dateTimeZone9 = gJChronology3.getZone(); org.joda.time.ReadableInstant readableInstant10 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone9, readableInstant10); org.joda.time.chrono.GJChronology gJChronology14 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone9, 1110L, (int) (short) 1); org.joda.time.DateTimeField dateTimeField15 = gJChronology14.millisOfSecond(); org.joda.time.DateTimeZone dateTimeZone16 = gJChronology14.getZone(); org.joda.time.DateTimeZone dateTimeZone17 = gJChronology14.getZone(); org.joda.time.DateTimeZone dateTimeZone18 = null; org.joda.time.ReadableInstant readableInstant19 = null; org.joda.time.chrono.GJChronology gJChronology21 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone18, readableInstant19, (int) (short) 1); org.joda.time.DateTimeField dateTimeField22 = gJChronology21.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod23 = null; long long26 = gJChronology21.add(readablePeriod23, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeZone dateTimeZone27 = gJChronology21.getZone(); org.joda.time.ReadableInstant readableInstant28 = null; org.joda.time.chrono.GJChronology gJChronology29 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone27, readableInstant28); org.joda.time.DateTimeZone dateTimeZone30 = null; org.joda.time.ReadableInstant readableInstant31 = null; org.joda.time.chrono.GJChronology gJChronology33 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone30, readableInstant31, (int) (short) 1); boolean boolean35 = gJChronology33.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField36 = gJChronology33.year(); org.joda.time.DateTimeZone dateTimeZone37 = gJChronology33.getZone(); org.joda.time.DateTimeZone dateTimeZone38 = null; org.joda.time.ReadableInstant readableInstant39 = null; org.joda.time.chrono.GJChronology gJChronology41 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone38, readableInstant39, (int) (short) 1); boolean boolean43 = gJChronology41.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField44 = gJChronology41.year(); org.joda.time.Instant instant45 = gJChronology41.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology46 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone37, (org.joda.time.ReadableInstant) instant45); org.joda.time.chrono.GJChronology gJChronology47 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone27, (org.joda.time.ReadableInstant) instant45); org.joda.time.chrono.GJChronology gJChronology48 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField49 = gJChronology48.minuteOfHour(); org.joda.time.DateTimeField dateTimeField50 = gJChronology48.weekOfWeekyear(); org.joda.time.Instant instant51 = gJChronology48.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology52 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone27, (org.joda.time.ReadableInstant) instant51); org.joda.time.chrono.GJChronology gJChronology53 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone27); boolean boolean54 = gJChronology14.equals((java.lang.Object) gJChronology53); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertNotNull(dateTimeZone9); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(gJChronology14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeZone16); org.junit.Assert.assertNotNull(dateTimeZone17); org.junit.Assert.assertNotNull(gJChronology21); org.junit.Assert.assertNotNull(dateTimeField22); org.junit.Assert.assertTrue("'" + long26 + "' != '" + 1L + "'", long26 == 1L); org.junit.Assert.assertNotNull(dateTimeZone27); org.junit.Assert.assertNotNull(gJChronology29); org.junit.Assert.assertNotNull(gJChronology33); org.junit.Assert.assertTrue("'" + boolean35 + "' != '" + false + "'", boolean35 == false); org.junit.Assert.assertNotNull(dateTimeField36); org.junit.Assert.assertNotNull(dateTimeZone37); org.junit.Assert.assertNotNull(gJChronology41); org.junit.Assert.assertTrue("'" + boolean43 + "' != '" + false + "'", boolean43 == false); org.junit.Assert.assertNotNull(dateTimeField44); org.junit.Assert.assertNotNull(instant45); org.junit.Assert.assertNotNull(gJChronology46); org.junit.Assert.assertNotNull(gJChronology47); org.junit.Assert.assertNotNull(gJChronology48); org.junit.Assert.assertNotNull(dateTimeField49); org.junit.Assert.assertNotNull(dateTimeField50); org.junit.Assert.assertNotNull(instant51); org.junit.Assert.assertNotNull(gJChronology52); org.junit.Assert.assertNotNull(gJChronology53); org.junit.Assert.assertTrue("'" + boolean54 + "' != '" + false + "'", boolean54 == false); } @Test @Ignore public void test1708() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1708"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.minuteOfHour(); org.joda.time.DateTimeZone dateTimeZone2 = null; org.joda.time.ReadableInstant readableInstant3 = null; org.joda.time.chrono.GJChronology gJChronology5 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone2, readableInstant3, (int) (short) 1); org.joda.time.DateTimeField dateTimeField6 = gJChronology5.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod7 = null; long long10 = gJChronology5.add(readablePeriod7, (long) (short) 1, (int) (byte) -1); long long15 = gJChronology5.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField16 = gJChronology5.seconds(); org.joda.time.DateTimeZone dateTimeZone17 = gJChronology5.getZone(); org.joda.time.Chronology chronology18 = gJChronology0.withZone(dateTimeZone17); org.joda.time.DateTimeField dateTimeField19 = gJChronology0.dayOfWeek(); org.joda.time.DateTimeField dateTimeField20 = gJChronology0.weekyearOfCentury(); org.joda.time.DurationField durationField21 = gJChronology0.centuries(); org.joda.time.DateTimeField dateTimeField22 = gJChronology0.weekOfWeekyear(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(gJChronology5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertTrue("'" + long10 + "' != '" + 1L + "'", long10 == 1L); org.junit.Assert.assertTrue("'" + long15 + "' != '" + (-61062076799990L) + "'", long15 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(dateTimeZone17); org.junit.Assert.assertNotNull(chronology18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(dateTimeField20); org.junit.Assert.assertNotNull(durationField21); org.junit.Assert.assertNotNull(dateTimeField22); } @Test public void test1709() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1709"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.secondOfMinute(); org.joda.time.DurationField durationField7 = gJChronology3.seconds(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.yearOfCentury(); org.joda.time.DurationField durationField10 = gJChronology3.centuries(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(durationField10); } @Test @Ignore public void test1710() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1710"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.era(); org.joda.time.DurationField durationField18 = gJChronology3.weeks(); org.joda.time.DurationField durationField19 = gJChronology3.weeks(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(durationField19); } @Test public void test1711() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1711"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.millisOfSecond(); org.joda.time.DurationField durationField9 = gJChronology3.seconds(); // The following exception was thrown during execution in test generation try { long long15 = gJChronology3.getDateTimeMillis((long) 'a', 0, 100, (int) (byte) 1, (int) (byte) 100); org.junit.Assert.fail("Expected exception of type org.joda.time.IllegalFieldValueException; message: Value 100 for minuteOfHour must be in the range [0,59]"); } catch (org.joda.time.IllegalFieldValueException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(durationField9); } @Test @Ignore public void test1712() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1712"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.weeks(); org.joda.time.DurationField durationField15 = gJChronology3.years(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.era(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.secondOfDay(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.minuteOfDay(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.year(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(dateTimeField19); } @Test public void test1713() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1713"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.millisOfSecond(); org.joda.time.DurationField durationField9 = gJChronology3.minutes(); org.joda.time.ReadablePeriod readablePeriod10 = null; // The following exception was thrown during execution in test generation try { int[] intArray12 = gJChronology3.get(readablePeriod10, (-42L)); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(durationField9); } @Test public void test1714() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1714"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.minuteOfDay(); org.joda.time.DateTimeZone dateTimeZone9 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.era(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeZone9); org.junit.Assert.assertNotNull(dateTimeField10); } @Test public void test1715() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1715"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.year(); org.joda.time.DurationField durationField6 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.dayOfMonth(); long long11 = gJChronology3.add((-1L), (long) (short) 0, (int) (byte) 10); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.millisOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertTrue("'" + long11 + "' != '" + (-1L) + "'", long11 == (-1L)); org.junit.Assert.assertNotNull(dateTimeField12); } @Test @Ignore public void test1716() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1716"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField1 = gJChronology0.weeks(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.clockhourOfHalfday(); org.joda.time.DateTimeField dateTimeField3 = gJChronology0.secondOfDay(); org.joda.time.chrono.GJChronology gJChronology4 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField5 = gJChronology4.minuteOfHour(); org.joda.time.DateTimeZone dateTimeZone6 = null; org.joda.time.ReadableInstant readableInstant7 = null; org.joda.time.chrono.GJChronology gJChronology9 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone6, readableInstant7, (int) (short) 1); org.joda.time.DateTimeField dateTimeField10 = gJChronology9.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod11 = null; long long14 = gJChronology9.add(readablePeriod11, (long) (short) 1, (int) (byte) -1); long long19 = gJChronology9.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField20 = gJChronology9.seconds(); org.joda.time.DateTimeZone dateTimeZone21 = gJChronology9.getZone(); org.joda.time.Chronology chronology22 = gJChronology4.withZone(dateTimeZone21); org.joda.time.chrono.GJChronology gJChronology23 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone21); org.joda.time.Chronology chronology24 = gJChronology0.withZone(dateTimeZone21); org.joda.time.DateTimeField dateTimeField25 = gJChronology0.dayOfWeek(); org.joda.time.DateTimeField dateTimeField26 = gJChronology0.dayOfMonth(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(durationField1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertNotNull(dateTimeField3); org.junit.Assert.assertNotNull(gJChronology4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(gJChronology9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertTrue("'" + long14 + "' != '" + 1L + "'", long14 == 1L); org.junit.Assert.assertTrue("'" + long19 + "' != '" + (-61062076799990L) + "'", long19 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField20); org.junit.Assert.assertNotNull(dateTimeZone21); org.junit.Assert.assertNotNull(chronology22); org.junit.Assert.assertNotNull(gJChronology23); org.junit.Assert.assertNotNull(chronology24); org.junit.Assert.assertNotNull(dateTimeField25); org.junit.Assert.assertNotNull(dateTimeField26); } @Test public void test1717() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1717"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.days(); org.joda.time.DurationField durationField8 = gJChronology3.seconds(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.monthOfYear(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.secondOfMinute(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); } @Test public void test1718() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1718"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); org.joda.time.Instant instant9 = gJChronology3.getGregorianCutover(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.clockhourOfHalfday(); org.joda.time.DurationField durationField11 = gJChronology3.eras(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.minuteOfHour(); // The following exception was thrown during execution in test generation try { long long17 = gJChronology3.getDateTimeMillis(1, (int) (short) 100, 1, 100); org.junit.Assert.fail("Expected exception of type org.joda.time.IllegalFieldValueException; message: Value 100 for monthOfYear must be in the range [1,12]"); } catch (org.joda.time.IllegalFieldValueException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertNotNull(instant9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(durationField11); org.junit.Assert.assertNotNull(dateTimeField12); } @Test @Ignore public void test1719() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1719"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DurationField durationField15 = gJChronology3.centuries(); org.joda.time.DateTimeZone dateTimeZone16 = null; org.joda.time.ReadableInstant readableInstant17 = null; org.joda.time.chrono.GJChronology gJChronology19 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone16, readableInstant17, (int) (short) 1); org.joda.time.DateTimeField dateTimeField20 = gJChronology19.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod21 = null; long long24 = gJChronology19.add(readablePeriod21, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeZone dateTimeZone25 = gJChronology19.getZone(); org.joda.time.ReadableInstant readableInstant26 = null; org.joda.time.chrono.GJChronology gJChronology27 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone25, readableInstant26); org.joda.time.DateTimeZone dateTimeZone28 = null; org.joda.time.ReadableInstant readableInstant29 = null; org.joda.time.chrono.GJChronology gJChronology31 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone28, readableInstant29, (int) (short) 1); org.joda.time.DateTimeField dateTimeField32 = gJChronology31.dayOfYear(); org.joda.time.DateTimeField dateTimeField33 = gJChronology31.yearOfCentury(); org.joda.time.Instant instant34 = gJChronology31.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology35 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone25, (org.joda.time.ReadableInstant) instant34); org.joda.time.Chronology chronology36 = gJChronology3.withZone(dateTimeZone25); org.joda.time.DateTimeZone dateTimeZone37 = gJChronology3.getZone(); org.joda.time.DurationField durationField38 = gJChronology3.halfdays(); org.joda.time.DateTimeField dateTimeField39 = gJChronology3.centuryOfEra(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(gJChronology19); org.junit.Assert.assertNotNull(dateTimeField20); org.junit.Assert.assertTrue("'" + long24 + "' != '" + 1L + "'", long24 == 1L); org.junit.Assert.assertNotNull(dateTimeZone25); org.junit.Assert.assertNotNull(gJChronology27); org.junit.Assert.assertNotNull(gJChronology31); org.junit.Assert.assertNotNull(dateTimeField32); org.junit.Assert.assertNotNull(dateTimeField33); org.junit.Assert.assertNotNull(instant34); org.junit.Assert.assertNotNull(gJChronology35); org.junit.Assert.assertNotNull(chronology36); org.junit.Assert.assertNotNull(dateTimeZone37); org.junit.Assert.assertNotNull(durationField38); org.junit.Assert.assertNotNull(dateTimeField39); } @Test public void test1720() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1720"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); boolean boolean13 = gJChronology11.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField14 = gJChronology11.year(); org.joda.time.Instant instant15 = gJChronology11.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology16 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone7, (org.joda.time.ReadableInstant) instant15); org.joda.time.DurationField durationField17 = gJChronology16.seconds(); org.joda.time.DurationField durationField18 = gJChronology16.seconds(); org.joda.time.ReadablePeriod readablePeriod19 = null; // The following exception was thrown during execution in test generation try { int[] intArray22 = gJChronology16.get(readablePeriod19, (long) (short) 0, (-61062076800000L)); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertTrue("'" + boolean13 + "' != '" + false + "'", boolean13 == false); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(instant15); org.junit.Assert.assertNotNull(gJChronology16); org.junit.Assert.assertNotNull(durationField17); org.junit.Assert.assertNotNull(durationField18); } @Test public void test1721() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1721"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.millisOfSecond(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.clockhourOfHalfday(); org.joda.time.DurationField durationField10 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.weekyear(); org.joda.time.DurationField durationField13 = gJChronology3.halfdays(); org.joda.time.DateTimeField dateTimeField14 = gJChronology3.hourOfDay(); org.joda.time.DateTimeZone dateTimeZone15 = gJChronology3.getZone(); org.joda.time.chrono.GJChronology gJChronology16 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone15); org.joda.time.chrono.GJChronology gJChronology17 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone15); // The following exception was thrown during execution in test generation try { org.joda.time.chrono.GJChronology gJChronology20 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone15, (-248994240L), (int) (byte) 10); org.junit.Assert.fail("Expected exception of type java.lang.IllegalArgumentException; message: Invalid min days in first week: 10"); } catch (java.lang.IllegalArgumentException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(durationField13); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(dateTimeZone15); org.junit.Assert.assertNotNull(gJChronology16); org.junit.Assert.assertNotNull(gJChronology17); } @Test @Ignore public void test1722() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1722"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.dayOfMonth(); org.joda.time.DurationField durationField10 = gJChronology3.halfdays(); org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField12 = gJChronology11.minuteOfHour(); org.joda.time.DurationField durationField13 = gJChronology11.months(); org.joda.time.DateTimeZone dateTimeZone14 = null; org.joda.time.ReadableInstant readableInstant15 = null; org.joda.time.chrono.GJChronology gJChronology17 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone14, readableInstant15, (int) (short) 1); org.joda.time.DateTimeField dateTimeField18 = gJChronology17.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod19 = null; long long22 = gJChronology17.add(readablePeriod19, (long) (short) 1, (int) (byte) -1); long long27 = gJChronology17.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField28 = gJChronology17.seconds(); org.joda.time.DateTimeZone dateTimeZone29 = null; org.joda.time.ReadableInstant readableInstant30 = null; org.joda.time.chrono.GJChronology gJChronology32 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone29, readableInstant30, (int) (short) 1); boolean boolean34 = gJChronology32.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField35 = gJChronology32.year(); org.joda.time.DateTimeZone dateTimeZone36 = gJChronology32.getZone(); org.joda.time.DateTimeField dateTimeField37 = gJChronology32.minuteOfDay(); org.joda.time.DateTimeZone dateTimeZone38 = gJChronology32.getZone(); org.joda.time.Chronology chronology39 = gJChronology17.withZone(dateTimeZone38); org.joda.time.Chronology chronology40 = gJChronology11.withZone(dateTimeZone38); boolean boolean41 = gJChronology3.equals((java.lang.Object) chronology40); org.joda.time.chrono.GJChronology gJChronology42 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField43 = gJChronology42.minuteOfHour(); org.joda.time.DurationField durationField44 = gJChronology42.months(); org.joda.time.DateTimeZone dateTimeZone45 = null; org.joda.time.ReadableInstant readableInstant46 = null; org.joda.time.chrono.GJChronology gJChronology48 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone45, readableInstant46, (int) (short) 1); org.joda.time.DateTimeField dateTimeField49 = gJChronology48.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod50 = null; long long53 = gJChronology48.add(readablePeriod50, (long) (short) 1, (int) (byte) -1); long long58 = gJChronology48.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField59 = gJChronology48.seconds(); org.joda.time.DateTimeZone dateTimeZone60 = null; org.joda.time.ReadableInstant readableInstant61 = null; org.joda.time.chrono.GJChronology gJChronology63 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone60, readableInstant61, (int) (short) 1); boolean boolean65 = gJChronology63.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField66 = gJChronology63.year(); org.joda.time.DateTimeZone dateTimeZone67 = gJChronology63.getZone(); org.joda.time.DateTimeField dateTimeField68 = gJChronology63.minuteOfDay(); org.joda.time.DateTimeZone dateTimeZone69 = gJChronology63.getZone(); org.joda.time.Chronology chronology70 = gJChronology48.withZone(dateTimeZone69); org.joda.time.Chronology chronology71 = gJChronology42.withZone(dateTimeZone69); org.joda.time.chrono.GJChronology gJChronology72 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField73 = gJChronology72.weeks(); org.joda.time.DateTimeField dateTimeField74 = gJChronology72.clockhourOfHalfday(); org.joda.time.DateTimeField dateTimeField75 = gJChronology72.hourOfDay(); org.joda.time.DateTimeZone dateTimeZone76 = gJChronology72.getZone(); org.joda.time.chrono.GJChronology gJChronology77 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone76); org.joda.time.DateTimeZone dateTimeZone78 = null; org.joda.time.ReadableInstant readableInstant79 = null; org.joda.time.chrono.GJChronology gJChronology81 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone78, readableInstant79, (int) (short) 1); boolean boolean83 = gJChronology81.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField84 = gJChronology81.year(); org.joda.time.Instant instant85 = gJChronology81.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology86 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone76, (org.joda.time.ReadableInstant) instant85); org.joda.time.chrono.GJChronology gJChronology87 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone69, (org.joda.time.ReadableInstant) instant85); org.joda.time.Chronology chronology88 = gJChronology3.withZone(dateTimeZone69); org.joda.time.chrono.GJChronology gJChronology89 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone69); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(durationField13); org.junit.Assert.assertNotNull(gJChronology17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertTrue("'" + long22 + "' != '" + 1L + "'", long22 == 1L); org.junit.Assert.assertTrue("'" + long27 + "' != '" + (-61062076799990L) + "'", long27 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField28); org.junit.Assert.assertNotNull(gJChronology32); org.junit.Assert.assertTrue("'" + boolean34 + "' != '" + false + "'", boolean34 == false); org.junit.Assert.assertNotNull(dateTimeField35); org.junit.Assert.assertNotNull(dateTimeZone36); org.junit.Assert.assertNotNull(dateTimeField37); org.junit.Assert.assertNotNull(dateTimeZone38); org.junit.Assert.assertNotNull(chronology39); org.junit.Assert.assertNotNull(chronology40); org.junit.Assert.assertTrue("'" + boolean41 + "' != '" + false + "'", boolean41 == false); org.junit.Assert.assertNotNull(gJChronology42); org.junit.Assert.assertNotNull(dateTimeField43); org.junit.Assert.assertNotNull(durationField44); org.junit.Assert.assertNotNull(gJChronology48); org.junit.Assert.assertNotNull(dateTimeField49); org.junit.Assert.assertTrue("'" + long53 + "' != '" + 1L + "'", long53 == 1L); org.junit.Assert.assertTrue("'" + long58 + "' != '" + (-61062076799990L) + "'", long58 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField59); org.junit.Assert.assertNotNull(gJChronology63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(dateTimeField66); org.junit.Assert.assertNotNull(dateTimeZone67); org.junit.Assert.assertNotNull(dateTimeField68); org.junit.Assert.assertNotNull(dateTimeZone69); org.junit.Assert.assertNotNull(chronology70); org.junit.Assert.assertNotNull(chronology71); org.junit.Assert.assertNotNull(gJChronology72); org.junit.Assert.assertNotNull(durationField73); org.junit.Assert.assertNotNull(dateTimeField74); org.junit.Assert.assertNotNull(dateTimeField75); org.junit.Assert.assertNotNull(dateTimeZone76); org.junit.Assert.assertNotNull(gJChronology77); org.junit.Assert.assertNotNull(gJChronology81); org.junit.Assert.assertTrue("'" + boolean83 + "' != '" + false + "'", boolean83 == false); org.junit.Assert.assertNotNull(dateTimeField84); org.junit.Assert.assertNotNull(instant85); org.junit.Assert.assertNotNull(gJChronology86); org.junit.Assert.assertNotNull(gJChronology87); org.junit.Assert.assertNotNull(chronology88); org.junit.Assert.assertNotNull(gJChronology89); } @Test @Ignore public void test1723() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1723"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DateTimeField dateTimeField14 = gJChronology3.minuteOfDay(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.dayOfWeek(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.dayOfMonth(); org.joda.time.DurationField durationField17 = gJChronology3.years(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(durationField17); } @Test public void test1724() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1724"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField1 = gJChronology0.weeks(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.clockhourOfHalfday(); org.joda.time.DateTimeField dateTimeField3 = gJChronology0.hourOfDay(); org.joda.time.DateTimeField dateTimeField4 = gJChronology0.dayOfMonth(); org.joda.time.DateTimeField dateTimeField5 = gJChronology0.secondOfDay(); org.joda.time.Instant instant6 = gJChronology0.getGregorianCutover(); org.joda.time.DurationField durationField7 = gJChronology0.centuries(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(durationField1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertNotNull(dateTimeField3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(instant6); org.junit.Assert.assertNotNull(durationField7); } @Test public void test1725() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1725"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.Chronology chronology4 = gJChronology3.withUTC(); org.joda.time.DurationField durationField5 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.halfdayOfDay(); org.joda.time.Chronology chronology7 = gJChronology3.withUTC(); org.joda.time.DateTimeZone dateTimeZone8 = gJChronology3.getZone(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(chronology4); org.junit.Assert.assertNotNull(durationField5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(chronology7); org.junit.Assert.assertNotNull(dateTimeZone8); } @Test public void test1726() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1726"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.clockhourOfDay(); org.joda.time.Chronology chronology6 = gJChronology3.withUTC(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.secondOfMinute(); int int8 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.millisOfDay(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.weekyear(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(chronology6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertTrue("'" + int8 + "' != '" + 1 + "'", int8 == 1); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); } @Test @Ignore public void test1727() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1727"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.millisOfDay(); org.joda.time.DurationField durationField17 = gJChronology3.hours(); org.joda.time.DateTimeZone dateTimeZone18 = null; org.joda.time.ReadableInstant readableInstant19 = null; org.joda.time.chrono.GJChronology gJChronology21 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone18, readableInstant19, (int) (short) 1); boolean boolean23 = gJChronology21.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField24 = gJChronology21.year(); org.joda.time.DateTimeField dateTimeField25 = gJChronology21.dayOfWeek(); org.joda.time.DateTimeZone dateTimeZone26 = null; org.joda.time.ReadableInstant readableInstant27 = null; org.joda.time.chrono.GJChronology gJChronology29 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone26, readableInstant27, (int) (short) 1); org.joda.time.DateTimeField dateTimeField30 = gJChronology29.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField31 = gJChronology29.year(); org.joda.time.DurationField durationField32 = gJChronology29.centuries(); org.joda.time.DateTimeField dateTimeField33 = gJChronology29.dayOfMonth(); boolean boolean34 = gJChronology21.equals((java.lang.Object) dateTimeField33); int int35 = gJChronology21.getMinimumDaysInFirstWeek(); org.joda.time.DurationField durationField36 = gJChronology21.months(); org.joda.time.DateTimeField dateTimeField37 = gJChronology21.secondOfMinute(); boolean boolean38 = gJChronology3.equals((java.lang.Object) gJChronology21); org.joda.time.DateTimeField dateTimeField39 = gJChronology21.dayOfYear(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(durationField17); org.junit.Assert.assertNotNull(gJChronology21); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + false + "'", boolean23 == false); org.junit.Assert.assertNotNull(dateTimeField24); org.junit.Assert.assertNotNull(dateTimeField25); org.junit.Assert.assertNotNull(gJChronology29); org.junit.Assert.assertNotNull(dateTimeField30); org.junit.Assert.assertNotNull(dateTimeField31); org.junit.Assert.assertNotNull(durationField32); org.junit.Assert.assertNotNull(dateTimeField33); org.junit.Assert.assertTrue("'" + boolean34 + "' != '" + false + "'", boolean34 == false); org.junit.Assert.assertTrue("'" + int35 + "' != '" + 1 + "'", int35 == 1); org.junit.Assert.assertNotNull(durationField36); org.junit.Assert.assertNotNull(dateTimeField37); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + true + "'", boolean38 == true); org.junit.Assert.assertNotNull(dateTimeField39); } @Test public void test1728() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1728"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.centuryOfEra(); org.joda.time.DurationField durationField7 = gJChronology3.centuries(); org.joda.time.DateTimeZone dateTimeZone8 = gJChronology3.getZone(); org.joda.time.DurationField durationField9 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.hourOfHalfday(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(dateTimeZone8); org.junit.Assert.assertNotNull(durationField9); org.junit.Assert.assertNotNull(dateTimeField10); } @Test public void test1729() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1729"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.secondOfMinute(); org.joda.time.DurationField durationField7 = gJChronology3.seconds(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.hourOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(dateTimeField8); } @Test public void test1730() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1730"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.days(); org.joda.time.DurationField durationField8 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.secondOfMinute(); org.joda.time.ReadablePartial readablePartial10 = null; // The following exception was thrown during execution in test generation try { long long12 = gJChronology3.set(readablePartial10, 1L); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); } @Test @Ignore public void test1731() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1731"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.millisOfSecond(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.millisOfDay(); org.joda.time.DateTimeField dateTimeField3 = gJChronology0.era(); org.joda.time.DateTimeZone dateTimeZone4 = null; org.joda.time.ReadableInstant readableInstant5 = null; org.joda.time.chrono.GJChronology gJChronology7 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone4, readableInstant5, (int) (short) 1); org.joda.time.DateTimeField dateTimeField8 = gJChronology7.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod9 = null; long long12 = gJChronology7.add(readablePeriod9, (long) (short) 1, (int) (byte) -1); long long17 = gJChronology7.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField18 = gJChronology7.weeks(); org.joda.time.DateTimeField dateTimeField19 = gJChronology7.centuryOfEra(); org.joda.time.DurationField durationField20 = gJChronology7.centuries(); boolean boolean21 = gJChronology0.equals((java.lang.Object) gJChronology7); org.joda.time.DateTimeField dateTimeField22 = gJChronology0.minuteOfDay(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertNotNull(dateTimeField3); org.junit.Assert.assertNotNull(gJChronology7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertTrue("'" + long12 + "' != '" + 1L + "'", long12 == 1L); org.junit.Assert.assertTrue("'" + long17 + "' != '" + (-61062076799990L) + "'", long17 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(durationField20); org.junit.Assert.assertTrue("'" + boolean21 + "' != '" + false + "'", boolean21 == false); org.junit.Assert.assertNotNull(dateTimeField22); } @Test public void test1732() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1732"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField5 = gJChronology3.weeks(); // The following exception was thrown during execution in test generation try { long long11 = gJChronology3.getDateTimeMillis(32L, 4, (int) (short) 100, 1, 10); org.junit.Assert.fail("Expected exception of type org.joda.time.IllegalFieldValueException; message: Value 100 for minuteOfHour must be in the range [0,59]"); } catch (org.joda.time.IllegalFieldValueException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(durationField5); } @Test public void test1733() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1733"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.year(); org.joda.time.DurationField durationField6 = gJChronology3.centuries(); org.joda.time.DurationField durationField7 = gJChronology3.weekyears(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.weekOfWeekyear(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.dayOfYear(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.hourOfHalfday(); org.joda.time.DurationField durationField11 = gJChronology3.seconds(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField13 = gJChronology3.millisOfSecond(); org.joda.time.DurationField durationField14 = gJChronology3.centuries(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(durationField11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(durationField14); } @Test @Ignore public void test1734() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1734"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.centuryOfEra(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.weekyear(); org.joda.time.Instant instant8 = gJChronology3.getGregorianCutover(); long long14 = gJChronology3.getDateTimeMillis(32L, 4, 0, 10, (int) '#'); org.joda.time.ReadablePeriod readablePeriod15 = null; // The following exception was thrown during execution in test generation try { int[] intArray18 = gJChronology3.get(readablePeriod15, (-1631L), 15035000L); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(instant8); org.junit.Assert.assertTrue("'" + long14 + "' != '" + 14410035L + "'", long14 == 14410035L); } @Test public void test1735() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1735"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.days(); org.joda.time.DurationField durationField8 = gJChronology3.seconds(); int int9 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.clockhourOfDay(); long long14 = gJChronology3.add(110L, 100L, 0); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.dayOfYear(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertTrue("'" + int9 + "' != '" + 1 + "'", int9 == 1); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertTrue("'" + long14 + "' != '" + 110L + "'", long14 == 110L); org.junit.Assert.assertNotNull(dateTimeField15); } @Test public void test1736() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1736"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.secondOfMinute(); org.joda.time.DurationField durationField7 = gJChronology3.millis(); org.joda.time.Instant instant8 = gJChronology3.getGregorianCutover(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.year(); org.joda.time.DurationField durationField10 = gJChronology3.months(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(instant8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(durationField10); } @Test public void test1737() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1737"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.dayOfYear(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.yearOfCentury(); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.secondOfDay(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.yearOfEra(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); } @Test @Ignore public void test1738() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1738"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.weekyears(); java.lang.String str15 = gJChronology3.toString(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.minuteOfHour(); org.joda.time.DurationField durationField17 = gJChronology3.weekyears(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.monthOfYear(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertEquals("'" + str15 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str15, "GJChronology[Etc/UTC,mdfw=1]"); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(durationField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(dateTimeField19); } @Test public void test1739() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1739"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DurationField durationField7 = gJChronology3.days(); org.joda.time.DurationField durationField8 = gJChronology3.halfdays(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(durationField8); } @Test public void test1740() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1740"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.year(); org.joda.time.DurationField durationField6 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.dayOfMonth(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.dayOfYear(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeZone dateTimeZone10 = gJChronology3.getZone(); org.joda.time.chrono.GJChronology gJChronology13 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone10, (long) (short) 100, (int) (byte) 1); org.joda.time.DateTimeField dateTimeField14 = gJChronology13.clockhourOfHalfday(); org.joda.time.DateTimeField dateTimeField15 = gJChronology13.millisOfSecond(); org.joda.time.DateTimeField dateTimeField16 = gJChronology13.weekOfWeekyear(); org.joda.time.DateTimeField dateTimeField17 = gJChronology13.millisOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeZone10); org.junit.Assert.assertNotNull(gJChronology13); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); } @Test public void test1741() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1741"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.year(); org.joda.time.DurationField durationField6 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.dayOfMonth(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.dayOfYear(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.hourOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); } @Test @Ignore public void test1742() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1742"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); java.lang.String str6 = gJChronology3.toString(); org.joda.time.DateTimeZone dateTimeZone7 = null; org.joda.time.ReadableInstant readableInstant8 = null; org.joda.time.chrono.GJChronology gJChronology10 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone7, readableInstant8, (int) (short) 1); boolean boolean12 = gJChronology10.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField13 = gJChronology10.year(); org.joda.time.DateTimeZone dateTimeZone14 = gJChronology10.getZone(); org.joda.time.DateTimeZone dateTimeZone15 = null; org.joda.time.ReadableInstant readableInstant16 = null; org.joda.time.chrono.GJChronology gJChronology18 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone15, readableInstant16, (int) (short) 1); boolean boolean20 = gJChronology18.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField21 = gJChronology18.year(); org.joda.time.Instant instant22 = gJChronology18.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology24 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone14, (org.joda.time.ReadableInstant) instant22, (int) (byte) 1); org.joda.time.DateTimeZone dateTimeZone25 = null; org.joda.time.ReadableInstant readableInstant26 = null; org.joda.time.chrono.GJChronology gJChronology28 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone25, readableInstant26, (int) (short) 1); boolean boolean30 = gJChronology28.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField31 = gJChronology28.year(); org.joda.time.DateTimeZone dateTimeZone32 = gJChronology28.getZone(); org.joda.time.Chronology chronology33 = gJChronology24.withZone(dateTimeZone32); org.joda.time.Chronology chronology34 = gJChronology3.withZone(dateTimeZone32); org.joda.time.chrono.GJChronology gJChronology37 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone32, (long) (short) -1, (int) (short) 1); org.joda.time.DateTimeZone dateTimeZone38 = null; org.joda.time.ReadableInstant readableInstant39 = null; org.joda.time.chrono.GJChronology gJChronology41 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone38, readableInstant39, (int) (short) 1); boolean boolean43 = gJChronology41.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField44 = gJChronology41.year(); org.joda.time.DateTimeZone dateTimeZone45 = gJChronology41.getZone(); org.joda.time.DateTimeField dateTimeField46 = gJChronology41.minuteOfDay(); int int47 = gJChronology41.getMinimumDaysInFirstWeek(); boolean boolean48 = gJChronology37.equals((java.lang.Object) int47); org.joda.time.DateTimeField dateTimeField49 = gJChronology37.dayOfMonth(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertEquals("'" + str6 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str6, "GJChronology[Etc/UTC,mdfw=1]"); org.junit.Assert.assertNotNull(gJChronology10); org.junit.Assert.assertTrue("'" + boolean12 + "' != '" + false + "'", boolean12 == false); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(dateTimeZone14); org.junit.Assert.assertNotNull(gJChronology18); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(dateTimeField21); org.junit.Assert.assertNotNull(instant22); org.junit.Assert.assertNotNull(gJChronology24); org.junit.Assert.assertNotNull(gJChronology28); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(dateTimeField31); org.junit.Assert.assertNotNull(dateTimeZone32); org.junit.Assert.assertNotNull(chronology33); org.junit.Assert.assertNotNull(chronology34); org.junit.Assert.assertNotNull(gJChronology37); org.junit.Assert.assertNotNull(gJChronology41); org.junit.Assert.assertTrue("'" + boolean43 + "' != '" + false + "'", boolean43 == false); org.junit.Assert.assertNotNull(dateTimeField44); org.junit.Assert.assertNotNull(dateTimeZone45); org.junit.Assert.assertNotNull(dateTimeField46); org.junit.Assert.assertTrue("'" + int47 + "' != '" + 1 + "'", int47 == 1); org.junit.Assert.assertTrue("'" + boolean48 + "' != '" + false + "'", boolean48 == false); org.junit.Assert.assertNotNull(dateTimeField49); } @Test @Ignore public void test1743() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1743"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.monthOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.years(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.millisOfSecond(); org.joda.time.DateTimeZone dateTimeZone9 = null; org.joda.time.ReadableInstant readableInstant10 = null; org.joda.time.chrono.GJChronology gJChronology12 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone9, readableInstant10, (int) (short) 1); boolean boolean14 = gJChronology12.equals((java.lang.Object) (byte) 0); java.lang.String str15 = gJChronology12.toString(); org.joda.time.DateTimeField dateTimeField16 = gJChronology12.era(); boolean boolean17 = gJChronology3.equals((java.lang.Object) gJChronology12); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.year(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(gJChronology12); org.junit.Assert.assertTrue("'" + boolean14 + "' != '" + false + "'", boolean14 == false); org.junit.Assert.assertEquals("'" + str15 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str15, "GJChronology[Etc/UTC,mdfw=1]"); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + true + "'", boolean17 == true); org.junit.Assert.assertNotNull(dateTimeField18); } @Test @Ignore public void test1744() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1744"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.minuteOfHour(); org.joda.time.DateTimeZone dateTimeZone2 = null; org.joda.time.ReadableInstant readableInstant3 = null; org.joda.time.chrono.GJChronology gJChronology5 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone2, readableInstant3, (int) (short) 1); org.joda.time.DateTimeField dateTimeField6 = gJChronology5.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod7 = null; long long10 = gJChronology5.add(readablePeriod7, (long) (short) 1, (int) (byte) -1); long long15 = gJChronology5.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField16 = gJChronology5.seconds(); org.joda.time.DateTimeZone dateTimeZone17 = gJChronology5.getZone(); org.joda.time.Chronology chronology18 = gJChronology0.withZone(dateTimeZone17); org.joda.time.DateTimeField dateTimeField19 = gJChronology0.dayOfWeek(); org.joda.time.DateTimeField dateTimeField20 = gJChronology0.weekyearOfCentury(); long long24 = gJChronology0.add(10L, (long) (byte) 0, 0); org.joda.time.DurationField durationField25 = gJChronology0.days(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(gJChronology5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertTrue("'" + long10 + "' != '" + 1L + "'", long10 == 1L); org.junit.Assert.assertTrue("'" + long15 + "' != '" + (-61062076799990L) + "'", long15 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(dateTimeZone17); org.junit.Assert.assertNotNull(chronology18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(dateTimeField20); org.junit.Assert.assertTrue("'" + long24 + "' != '" + 10L + "'", long24 == 10L); org.junit.Assert.assertNotNull(durationField25); } @Test public void test1745() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1745"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.dayOfWeek(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); org.joda.time.DateTimeField dateTimeField12 = gJChronology11.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField13 = gJChronology11.year(); org.joda.time.DurationField durationField14 = gJChronology11.centuries(); org.joda.time.DateTimeField dateTimeField15 = gJChronology11.dayOfMonth(); boolean boolean16 = gJChronology3.equals((java.lang.Object) dateTimeField15); org.joda.time.Chronology chronology17 = gJChronology3.withUTC(); org.joda.time.DurationField durationField18 = gJChronology3.halfdays(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.yearOfCentury(); org.joda.time.ReadablePeriod readablePeriod20 = null; // The following exception was thrown during execution in test generation try { int[] intArray23 = gJChronology3.get(readablePeriod20, 100L, 110L); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertNotNull(chronology17); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(dateTimeField19); } @Test public void test1746() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1746"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DurationField durationField5 = gJChronology3.years(); org.joda.time.DurationField durationField6 = gJChronology3.hours(); org.joda.time.ReadablePartial readablePartial7 = null; int[] intArray9 = new int[] { 100 }; // The following exception was thrown during execution in test generation try { gJChronology3.validate(readablePartial7, intArray9); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(durationField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(intArray9); org.junit.Assert.assertEquals(java.util.Arrays.toString(intArray9), "[100]"); } @Test public void test1747() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1747"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.year(); org.joda.time.DurationField durationField6 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.dayOfMonth(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.dayOfYear(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeZone dateTimeZone10 = gJChronology3.getZone(); org.joda.time.chrono.GJChronology gJChronology13 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone10, (long) (short) 100, (int) (byte) 1); org.joda.time.DurationField durationField14 = gJChronology13.months(); org.joda.time.DateTimeField dateTimeField15 = gJChronology13.yearOfEra(); org.joda.time.DateTimeField dateTimeField16 = gJChronology13.millisOfSecond(); org.joda.time.DateTimeField dateTimeField17 = gJChronology13.clockhourOfHalfday(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeZone10); org.junit.Assert.assertNotNull(gJChronology13); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); } @Test public void test1748() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1748"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); boolean boolean13 = gJChronology11.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField14 = gJChronology11.year(); org.joda.time.Instant instant15 = gJChronology11.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology16 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone7, (org.joda.time.ReadableInstant) instant15); long long20 = gJChronology16.add((long) (short) 10, (long) 10, (int) (short) 10); org.joda.time.DateTimeField dateTimeField21 = gJChronology16.monthOfYear(); org.joda.time.DateTimeField dateTimeField22 = gJChronology16.millisOfDay(); // The following exception was thrown during execution in test generation try { long long28 = gJChronology16.getDateTimeMillis((long) (byte) -1, (int) (short) 100, 4, (int) (short) 0, (int) ' '); org.junit.Assert.fail("Expected exception of type org.joda.time.IllegalFieldValueException; message: Value 100 for hourOfDay must be in the range [0,23]"); } catch (org.joda.time.IllegalFieldValueException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertTrue("'" + boolean13 + "' != '" + false + "'", boolean13 == false); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(instant15); org.junit.Assert.assertNotNull(gJChronology16); org.junit.Assert.assertTrue("'" + long20 + "' != '" + 110L + "'", long20 == 110L); org.junit.Assert.assertNotNull(dateTimeField21); org.junit.Assert.assertNotNull(dateTimeField22); } @Test public void test1749() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1749"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.yearOfEra(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.halfdayOfDay(); org.joda.time.Instant instant8 = gJChronology3.getGregorianCutover(); org.joda.time.ReadablePeriod readablePeriod9 = null; long long12 = gJChronology3.add(readablePeriod9, 53238L, (int) (short) 10); org.joda.time.DurationField durationField13 = gJChronology3.hours(); org.joda.time.DurationField durationField14 = gJChronology3.minutes(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(instant8); org.junit.Assert.assertTrue("'" + long12 + "' != '" + 53238L + "'", long12 == 53238L); org.junit.Assert.assertNotNull(durationField13); org.junit.Assert.assertNotNull(durationField14); } @Test public void test1750() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1750"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.year(); org.joda.time.DurationField durationField6 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.dayOfMonth(); long long11 = gJChronology3.add((-1L), (long) (short) 0, (int) (byte) 10); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField13 = gJChronology3.weekOfWeekyear(); org.joda.time.DateTimeField dateTimeField14 = gJChronology3.secondOfDay(); org.joda.time.chrono.GJChronology gJChronology15 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField16 = gJChronology15.weeks(); org.joda.time.DateTimeField dateTimeField17 = gJChronology15.clockhourOfHalfday(); org.joda.time.DurationField durationField18 = gJChronology15.days(); org.joda.time.DateTimeZone dateTimeZone19 = gJChronology15.getZone(); org.joda.time.chrono.GJChronology gJChronology20 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone19); org.joda.time.Chronology chronology21 = gJChronology3.withZone(dateTimeZone19); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertTrue("'" + long11 + "' != '" + (-1L) + "'", long11 == (-1L)); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(gJChronology15); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(dateTimeZone19); org.junit.Assert.assertNotNull(gJChronology20); org.junit.Assert.assertNotNull(chronology21); } @Test public void test1751() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1751"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.dayOfWeek(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); org.joda.time.DateTimeField dateTimeField12 = gJChronology11.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField13 = gJChronology11.year(); org.joda.time.DurationField durationField14 = gJChronology11.centuries(); org.joda.time.DateTimeField dateTimeField15 = gJChronology11.dayOfMonth(); boolean boolean16 = gJChronology3.equals((java.lang.Object) dateTimeField15); int int17 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DurationField durationField18 = gJChronology3.months(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.weekyear(); org.joda.time.DurationField durationField20 = gJChronology3.millis(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertTrue("'" + int17 + "' != '" + 1 + "'", int17 == 1); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(durationField20); } @Test public void test1752() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1752"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.era(); org.joda.time.DurationField durationField6 = gJChronology3.days(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.minuteOfHour(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.monthOfYear(); org.joda.time.DurationField durationField9 = gJChronology3.weekyears(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.hourOfDay(); org.joda.time.ReadablePeriod readablePeriod11 = null; // The following exception was thrown during execution in test generation try { int[] intArray14 = gJChronology3.get(readablePeriod11, 0L, 3156L); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(durationField9); org.junit.Assert.assertNotNull(dateTimeField10); } @Test public void test1753() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1753"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.millisOfSecond(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.clockhourOfHalfday(); org.joda.time.DurationField durationField10 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.weekyear(); org.joda.time.DurationField durationField13 = gJChronology3.halfdays(); org.joda.time.DateTimeField dateTimeField14 = gJChronology3.hourOfDay(); org.joda.time.DateTimeZone dateTimeZone15 = gJChronology3.getZone(); org.joda.time.DateTimeZone dateTimeZone16 = null; org.joda.time.DateTimeZone dateTimeZone17 = null; org.joda.time.ReadableInstant readableInstant18 = null; org.joda.time.chrono.GJChronology gJChronology20 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone17, readableInstant18, (int) (short) 1); boolean boolean22 = gJChronology20.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField23 = gJChronology20.year(); org.joda.time.DateTimeZone dateTimeZone24 = gJChronology20.getZone(); org.joda.time.DateTimeZone dateTimeZone25 = null; org.joda.time.ReadableInstant readableInstant26 = null; org.joda.time.chrono.GJChronology gJChronology28 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone25, readableInstant26, (int) (short) 1); boolean boolean30 = gJChronology28.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField31 = gJChronology28.year(); org.joda.time.Instant instant32 = gJChronology28.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology34 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone24, (org.joda.time.ReadableInstant) instant32, (int) (byte) 1); org.joda.time.chrono.GJChronology gJChronology35 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone16, (org.joda.time.ReadableInstant) instant32); org.joda.time.chrono.GJChronology gJChronology37 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone15, (org.joda.time.ReadableInstant) instant32, (int) (byte) 1); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(durationField13); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(dateTimeZone15); org.junit.Assert.assertNotNull(gJChronology20); org.junit.Assert.assertTrue("'" + boolean22 + "' != '" + false + "'", boolean22 == false); org.junit.Assert.assertNotNull(dateTimeField23); org.junit.Assert.assertNotNull(dateTimeZone24); org.junit.Assert.assertNotNull(gJChronology28); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(dateTimeField31); org.junit.Assert.assertNotNull(instant32); org.junit.Assert.assertNotNull(gJChronology34); org.junit.Assert.assertNotNull(gJChronology35); org.junit.Assert.assertNotNull(gJChronology37); } @Test @Ignore public void test1754() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1754"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.weeks(); org.joda.time.DurationField durationField15 = gJChronology3.years(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.era(); org.joda.time.ReadablePeriod readablePeriod17 = null; long long20 = gJChronology3.add(readablePeriod17, (long) (short) -1, (int) (byte) 0); int int21 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DurationField durationField22 = gJChronology3.minutes(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertTrue("'" + long20 + "' != '" + (-1L) + "'", long20 == (-1L)); org.junit.Assert.assertTrue("'" + int21 + "' != '" + 1 + "'", int21 == 1); org.junit.Assert.assertNotNull(durationField22); } @Test @Ignore public void test1755() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1755"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.hourOfDay(); int int16 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.secondOfMinute(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.dayOfMonth(); org.joda.time.DurationField durationField19 = gJChronology3.minutes(); org.joda.time.DateTimeZone dateTimeZone20 = gJChronology3.getZone(); org.joda.time.DateTimeZone dateTimeZone21 = null; org.joda.time.ReadableInstant readableInstant22 = null; org.joda.time.chrono.GJChronology gJChronology24 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone21, readableInstant22, (int) (short) 1); org.joda.time.DateTimeField dateTimeField25 = gJChronology24.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField26 = gJChronology24.clockhourOfDay(); org.joda.time.Chronology chronology27 = gJChronology24.withUTC(); org.joda.time.Instant instant28 = gJChronology24.getGregorianCutover(); // The following exception was thrown during execution in test generation try { org.joda.time.chrono.GJChronology gJChronology30 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone20, (org.joda.time.ReadableInstant) instant28, (int) (short) 10); org.junit.Assert.fail("Expected exception of type java.lang.IllegalArgumentException; message: Invalid min days in first week: 10"); } catch (java.lang.IllegalArgumentException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertTrue("'" + int16 + "' != '" + 1 + "'", int16 == 1); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(durationField19); org.junit.Assert.assertNotNull(dateTimeZone20); org.junit.Assert.assertNotNull(gJChronology24); org.junit.Assert.assertNotNull(dateTimeField25); org.junit.Assert.assertNotNull(dateTimeField26); org.junit.Assert.assertNotNull(chronology27); org.junit.Assert.assertNotNull(instant28); } @Test @Ignore public void test1756() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1756"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.millisOfSecond(); org.joda.time.DurationField durationField9 = gJChronology3.seconds(); org.joda.time.Instant instant10 = gJChronology3.getGregorianCutover(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.weekOfWeekyear(); org.joda.time.DateTimeZone dateTimeZone12 = null; org.joda.time.ReadableInstant readableInstant13 = null; org.joda.time.chrono.GJChronology gJChronology15 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone12, readableInstant13, (int) (short) 1); org.joda.time.DateTimeField dateTimeField16 = gJChronology15.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField17 = gJChronology15.era(); org.joda.time.DurationField durationField18 = gJChronology15.days(); org.joda.time.DateTimeField dateTimeField19 = gJChronology15.minuteOfHour(); org.joda.time.DateTimeField dateTimeField20 = gJChronology15.monthOfYear(); org.joda.time.DurationField durationField21 = gJChronology15.weekyears(); org.joda.time.DateTimeZone dateTimeZone22 = gJChronology15.getZone(); org.joda.time.Chronology chronology23 = gJChronology3.withZone(dateTimeZone22); java.lang.String str24 = gJChronology3.toString(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(durationField9); org.junit.Assert.assertNotNull(instant10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(gJChronology15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(dateTimeField20); org.junit.Assert.assertNotNull(durationField21); org.junit.Assert.assertNotNull(dateTimeZone22); org.junit.Assert.assertNotNull(chronology23); org.junit.Assert.assertEquals("'" + str24 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str24, "GJChronology[Etc/UTC,mdfw=1]"); } @Test @Ignore public void test1757() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1757"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.weekyears(); java.lang.String str15 = gJChronology3.toString(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.hourOfDay(); org.joda.time.DurationField durationField17 = gJChronology3.seconds(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.millisOfSecond(); org.joda.time.Chronology chronology19 = gJChronology3.withUTC(); org.joda.time.DateTimeField dateTimeField20 = gJChronology3.monthOfYear(); org.joda.time.DurationField durationField21 = gJChronology3.hours(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertEquals("'" + str15 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str15, "GJChronology[Etc/UTC,mdfw=1]"); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(durationField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(chronology19); org.junit.Assert.assertNotNull(dateTimeField20); org.junit.Assert.assertNotNull(durationField21); } @Test @Ignore public void test1758() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1758"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField1 = gJChronology0.weeks(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.clockhourOfHalfday(); org.joda.time.DurationField durationField3 = gJChronology0.days(); org.joda.time.DateTimeField dateTimeField4 = gJChronology0.yearOfEra(); java.lang.String str5 = gJChronology0.toString(); org.joda.time.DurationField durationField6 = gJChronology0.halfdays(); org.joda.time.DateTimeZone dateTimeZone7 = null; org.joda.time.Chronology chronology8 = gJChronology0.withZone(dateTimeZone7); org.joda.time.DateTimeField dateTimeField9 = gJChronology0.minuteOfHour(); org.joda.time.DateTimeZone dateTimeZone10 = gJChronology0.getZone(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(durationField1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertNotNull(durationField3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertEquals("'" + str5 + "' != '" + "GJChronology[Etc/UTC]" + "'", str5, "GJChronology[Etc/UTC]"); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(chronology8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeZone10); } @Test @Ignore public void test1759() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1759"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField1 = gJChronology0.weeks(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.clockhourOfHalfday(); org.joda.time.DurationField durationField3 = gJChronology0.days(); org.joda.time.DateTimeField dateTimeField4 = gJChronology0.yearOfEra(); java.lang.String str5 = gJChronology0.toString(); org.joda.time.DateTimeField dateTimeField6 = gJChronology0.millisOfSecond(); org.joda.time.DateTimeField dateTimeField7 = gJChronology0.dayOfWeek(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(durationField1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertNotNull(durationField3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertEquals("'" + str5 + "' != '" + "GJChronology[Etc/UTC]" + "'", str5, "GJChronology[Etc/UTC]"); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); } @Test @Ignore public void test1760() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1760"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.hourOfDay(); int int16 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.secondOfMinute(); org.joda.time.DurationField durationField18 = gJChronology3.halfdays(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.hourOfDay(); int int20 = gJChronology3.getMinimumDaysInFirstWeek(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertTrue("'" + int16 + "' != '" + 1 + "'", int16 == 1); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertTrue("'" + int20 + "' != '" + 1 + "'", int20 == 1); } @Test @Ignore public void test1761() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1761"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); org.joda.time.DateTimeField dateTimeField12 = gJChronology11.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod13 = null; long long16 = gJChronology11.add(readablePeriod13, (long) (short) 1, (int) (byte) -1); long long21 = gJChronology11.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField22 = gJChronology11.millis(); boolean boolean23 = gJChronology3.equals((java.lang.Object) gJChronology11); org.joda.time.DurationField durationField24 = gJChronology11.seconds(); org.joda.time.ReadablePeriod readablePeriod25 = null; long long28 = gJChronology11.add(readablePeriod25, 53238L, 1); org.joda.time.DurationField durationField29 = gJChronology11.years(); org.joda.time.DateTimeField dateTimeField30 = gJChronology11.hourOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertTrue("'" + long16 + "' != '" + 1L + "'", long16 == 1L); org.junit.Assert.assertTrue("'" + long21 + "' != '" + (-61062076799990L) + "'", long21 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField22); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + true + "'", boolean23 == true); org.junit.Assert.assertNotNull(durationField24); org.junit.Assert.assertTrue("'" + long28 + "' != '" + 53238L + "'", long28 == 53238L); org.junit.Assert.assertNotNull(durationField29); org.junit.Assert.assertNotNull(dateTimeField30); } @Test @Ignore public void test1762() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1762"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.seconds(); org.joda.time.DateTimeZone dateTimeZone15 = null; org.joda.time.ReadableInstant readableInstant16 = null; org.joda.time.chrono.GJChronology gJChronology18 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone15, readableInstant16, (int) (short) 1); boolean boolean20 = gJChronology18.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField21 = gJChronology18.year(); org.joda.time.DateTimeZone dateTimeZone22 = gJChronology18.getZone(); org.joda.time.DateTimeField dateTimeField23 = gJChronology18.minuteOfDay(); org.joda.time.DateTimeZone dateTimeZone24 = gJChronology18.getZone(); org.joda.time.Chronology chronology25 = gJChronology3.withZone(dateTimeZone24); org.joda.time.chrono.GJChronology gJChronology26 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone24); java.lang.String str27 = gJChronology26.toString(); int int28 = gJChronology26.getMinimumDaysInFirstWeek(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(gJChronology18); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(dateTimeField21); org.junit.Assert.assertNotNull(dateTimeZone22); org.junit.Assert.assertNotNull(dateTimeField23); org.junit.Assert.assertNotNull(dateTimeZone24); org.junit.Assert.assertNotNull(chronology25); org.junit.Assert.assertNotNull(gJChronology26); org.junit.Assert.assertEquals("'" + str27 + "' != '" + "GJChronology[Etc/UTC]" + "'", str27, "GJChronology[Etc/UTC]"); org.junit.Assert.assertTrue("'" + int28 + "' != '" + 4 + "'", int28 == 4); } @Test @Ignore public void test1763() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1763"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.minuteOfHour(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.weekOfWeekyear(); org.joda.time.DurationField durationField17 = gJChronology3.days(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.clockhourOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(durationField17); org.junit.Assert.assertNotNull(dateTimeField18); } @Test public void test1764() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1764"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.yearOfEra(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.weekOfWeekyear(); org.joda.time.DateTimeZone dateTimeZone11 = null; org.joda.time.Chronology chronology12 = gJChronology3.withZone(dateTimeZone11); org.joda.time.DateTimeField dateTimeField13 = gJChronology3.weekyearOfCentury(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(chronology12); org.junit.Assert.assertNotNull(dateTimeField13); } @Test @Ignore public void test1765() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1765"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.minuteOfHour(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.weekOfWeekyear(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.year(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); } @Test @Ignore public void test1766() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1766"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.minuteOfHour(); org.joda.time.DateTimeZone dateTimeZone2 = null; org.joda.time.ReadableInstant readableInstant3 = null; org.joda.time.chrono.GJChronology gJChronology5 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone2, readableInstant3, (int) (short) 1); org.joda.time.DateTimeField dateTimeField6 = gJChronology5.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod7 = null; long long10 = gJChronology5.add(readablePeriod7, (long) (short) 1, (int) (byte) -1); long long15 = gJChronology5.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField16 = gJChronology5.seconds(); org.joda.time.DateTimeZone dateTimeZone17 = gJChronology5.getZone(); org.joda.time.Chronology chronology18 = gJChronology0.withZone(dateTimeZone17); org.joda.time.chrono.GJChronology gJChronology19 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField20 = gJChronology19.minuteOfHour(); long long26 = gJChronology19.getDateTimeMillis(9L, 10, 0, (int) (byte) 0, (int) (short) 10); org.joda.time.Instant instant27 = gJChronology19.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology28 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone17, (org.joda.time.ReadableInstant) instant27); org.joda.time.DateTimeZone dateTimeZone29 = null; org.joda.time.ReadableInstant readableInstant30 = null; org.joda.time.chrono.GJChronology gJChronology32 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone29, readableInstant30, (int) (short) 1); boolean boolean34 = gJChronology32.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField35 = gJChronology32.year(); org.joda.time.DateTimeField dateTimeField36 = gJChronology32.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField37 = gJChronology32.dayOfYear(); org.joda.time.Instant instant38 = gJChronology32.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology39 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone17, (org.joda.time.ReadableInstant) instant38); // The following exception was thrown during execution in test generation try { long long47 = gJChronology39.getDateTimeMillis((-1), 1, 0, (-1), (int) 'a', (int) (byte) 10, (int) (short) -1); org.junit.Assert.fail("Expected exception of type org.joda.time.IllegalFieldValueException; message: Value -1 for hourOfDay must be in the range [0,23]"); } catch (org.joda.time.IllegalFieldValueException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(gJChronology5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertTrue("'" + long10 + "' != '" + 1L + "'", long10 == 1L); org.junit.Assert.assertTrue("'" + long15 + "' != '" + (-61062076799990L) + "'", long15 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(dateTimeZone17); org.junit.Assert.assertNotNull(chronology18); org.junit.Assert.assertNotNull(gJChronology19); org.junit.Assert.assertNotNull(dateTimeField20); org.junit.Assert.assertTrue("'" + long26 + "' != '" + 36000010L + "'", long26 == 36000010L); org.junit.Assert.assertNotNull(instant27); org.junit.Assert.assertNotNull(gJChronology28); org.junit.Assert.assertNotNull(gJChronology32); org.junit.Assert.assertTrue("'" + boolean34 + "' != '" + false + "'", boolean34 == false); org.junit.Assert.assertNotNull(dateTimeField35); org.junit.Assert.assertNotNull(dateTimeField36); org.junit.Assert.assertNotNull(dateTimeField37); org.junit.Assert.assertNotNull(instant38); org.junit.Assert.assertNotNull(gJChronology39); } @Test @Ignore public void test1767() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1767"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); boolean boolean13 = gJChronology11.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField14 = gJChronology11.year(); org.joda.time.Instant instant15 = gJChronology11.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology16 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone7, (org.joda.time.ReadableInstant) instant15); long long20 = gJChronology16.add((long) (short) 10, (long) 10, (int) (short) 10); org.joda.time.DateTimeField dateTimeField21 = gJChronology16.monthOfYear(); java.lang.String str22 = gJChronology16.toString(); org.joda.time.DateTimeField dateTimeField23 = gJChronology16.weekOfWeekyear(); org.joda.time.ReadablePartial readablePartial24 = null; // The following exception was thrown during execution in test generation try { long long26 = gJChronology16.set(readablePartial24, 32L); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertTrue("'" + boolean13 + "' != '" + false + "'", boolean13 == false); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(instant15); org.junit.Assert.assertNotNull(gJChronology16); org.junit.Assert.assertTrue("'" + long20 + "' != '" + 110L + "'", long20 == 110L); org.junit.Assert.assertNotNull(dateTimeField21); org.junit.Assert.assertEquals("'" + str22 + "' != '" + "GJChronology[Etc/UTC]" + "'", str22, "GJChronology[Etc/UTC]"); org.junit.Assert.assertNotNull(dateTimeField23); } @Test public void test1768() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1768"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.centuryOfEra(); org.joda.time.DurationField durationField7 = gJChronology3.centuries(); org.joda.time.DurationField durationField8 = gJChronology3.days(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.yearOfCentury(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.minuteOfHour(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); } @Test public void test1769() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1769"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField1 = gJChronology0.weeks(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.clockhourOfHalfday(); org.joda.time.ReadablePeriod readablePeriod3 = null; long long6 = gJChronology0.add(readablePeriod3, (long) 1, (int) (byte) 0); org.joda.time.DurationField durationField7 = gJChronology0.seconds(); long long11 = gJChronology0.add((long) '4', 3130001L, (int) (byte) 1); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(durationField1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertTrue("'" + long6 + "' != '" + 1L + "'", long6 == 1L); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertTrue("'" + long11 + "' != '" + 3130053L + "'", long11 == 3130053L); } @Test public void test1770() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1770"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.yearOfEra(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.weekOfWeekyear(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.yearOfCentury(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.monthOfYear(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(dateTimeField12); } @Test public void test1771() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1771"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); org.joda.time.Instant instant9 = gJChronology3.getGregorianCutover(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.clockhourOfHalfday(); org.joda.time.DurationField durationField11 = gJChronology3.eras(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.hourOfDay(); org.joda.time.ReadablePeriod readablePeriod13 = null; long long16 = gJChronology3.add(readablePeriod13, 4L, 0); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertNotNull(instant9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(durationField11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertTrue("'" + long16 + "' != '" + 4L + "'", long16 == 4L); } @Test public void test1772() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1772"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.hourOfHalfday(); org.joda.time.ReadablePartial readablePartial7 = null; // The following exception was thrown during execution in test generation try { int[] intArray9 = gJChronology3.get(readablePartial7, (long) (short) 1); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(dateTimeField6); } @Test public void test1773() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1773"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.year(); org.joda.time.DurationField durationField6 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.dayOfMonth(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.dayOfYear(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeZone dateTimeZone10 = gJChronology3.getZone(); org.joda.time.chrono.GJChronology gJChronology13 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone10, (long) (short) 100, (int) (byte) 1); org.joda.time.chrono.GJChronology gJChronology14 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone10); org.joda.time.ReadableInstant readableInstant15 = null; org.joda.time.chrono.GJChronology gJChronology16 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone10, readableInstant15); // The following exception was thrown during execution in test generation try { long long22 = gJChronology16.getDateTimeMillis(52L, (int) (byte) 1, (int) 'a', (int) (byte) 1, 1); org.junit.Assert.fail("Expected exception of type org.joda.time.IllegalFieldValueException; message: Value 97 for minuteOfHour must be in the range [0,59]"); } catch (org.joda.time.IllegalFieldValueException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeZone10); org.junit.Assert.assertNotNull(gJChronology13); org.junit.Assert.assertNotNull(gJChronology14); org.junit.Assert.assertNotNull(gJChronology16); } @Test @Ignore public void test1774() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1774"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.yearOfEra(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.centuryOfEra(); org.joda.time.DurationField durationField19 = gJChronology3.days(); org.joda.time.DateTimeField dateTimeField20 = gJChronology3.hourOfDay(); org.joda.time.DateTimeField dateTimeField21 = gJChronology3.dayOfWeek(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(durationField19); org.junit.Assert.assertNotNull(dateTimeField20); org.junit.Assert.assertNotNull(dateTimeField21); } @Test public void test1775() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1775"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.minuteOfDay(); org.joda.time.DateTimeZone dateTimeZone9 = gJChronology3.getZone(); org.joda.time.chrono.GJChronology gJChronology10 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone9); org.joda.time.ReadablePartial readablePartial11 = null; // The following exception was thrown during execution in test generation try { int[] intArray13 = gJChronology10.get(readablePartial11, 61039267200010L); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeZone9); org.junit.Assert.assertNotNull(gJChronology10); } @Test @Ignore public void test1776() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1776"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.minuteOfHour(); int int16 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.dayOfYear(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertTrue("'" + int16 + "' != '" + 1 + "'", int16 == 1); org.junit.Assert.assertNotNull(dateTimeField17); } @Test public void test1777() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1777"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.dayOfMonth(); org.joda.time.DurationField durationField10 = gJChronology3.halfdays(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.millisOfDay(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.clockhourOfHalfday(); org.joda.time.DurationField durationField13 = gJChronology3.days(); org.joda.time.DateTimeField dateTimeField14 = gJChronology3.year(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(durationField13); org.junit.Assert.assertNotNull(dateTimeField14); } @Test public void test1778() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1778"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.yearOfEra(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.weekOfWeekyear(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.yearOfCentury(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.hourOfDay(); org.joda.time.DateTimeField dateTimeField13 = gJChronology3.weekOfWeekyear(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(dateTimeField13); } @Test public void test1779() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1779"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.year(); org.joda.time.DurationField durationField6 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.dayOfMonth(); long long11 = gJChronology3.add((-1L), (long) (short) 0, (int) (byte) 10); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeZone dateTimeZone13 = null; org.joda.time.ReadableInstant readableInstant14 = null; org.joda.time.chrono.GJChronology gJChronology16 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone13, readableInstant14, (int) (short) 1); boolean boolean18 = gJChronology16.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField19 = gJChronology16.year(); org.joda.time.DateTimeField dateTimeField20 = gJChronology16.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField21 = gJChronology16.dayOfYear(); boolean boolean22 = gJChronology3.equals((java.lang.Object) dateTimeField21); org.joda.time.ReadablePartial readablePartial23 = null; int[] intArray25 = new int[] { ' ' }; // The following exception was thrown during execution in test generation try { gJChronology3.validate(readablePartial23, intArray25); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertTrue("'" + long11 + "' != '" + (-1L) + "'", long11 == (-1L)); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(gJChronology16); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(dateTimeField20); org.junit.Assert.assertNotNull(dateTimeField21); org.junit.Assert.assertTrue("'" + boolean22 + "' != '" + false + "'", boolean22 == false); org.junit.Assert.assertNotNull(intArray25); org.junit.Assert.assertEquals(java.util.Arrays.toString(intArray25), "[32]"); } @Test @Ignore public void test1780() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1780"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.millisOfSecond(); org.joda.time.DurationField durationField9 = gJChronology3.seconds(); org.joda.time.Instant instant10 = gJChronology3.getGregorianCutover(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.weekyear(); org.joda.time.DurationField durationField12 = gJChronology3.halfdays(); org.joda.time.DateTimeField dateTimeField13 = gJChronology3.weekyear(); org.joda.time.DurationField durationField14 = gJChronology3.weeks(); java.lang.String str15 = gJChronology3.toString(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(durationField9); org.junit.Assert.assertNotNull(instant10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(durationField12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertEquals("'" + str15 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str15, "GJChronology[Etc/UTC,mdfw=1]"); } @Test @Ignore public void test1781() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1781"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.weekyears(); java.lang.String str15 = gJChronology3.toString(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.monthOfYear(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertEquals("'" + str15 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str15, "GJChronology[Etc/UTC,mdfw=1]"); org.junit.Assert.assertNotNull(dateTimeField16); } @Test @Ignore public void test1782() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1782"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); boolean boolean13 = gJChronology11.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField14 = gJChronology11.year(); org.joda.time.Instant instant15 = gJChronology11.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology17 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone7, (org.joda.time.ReadableInstant) instant15, (int) (byte) 1); org.joda.time.DateTimeZone dateTimeZone18 = null; org.joda.time.ReadableInstant readableInstant19 = null; org.joda.time.chrono.GJChronology gJChronology21 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone18, readableInstant19, (int) (short) 1); boolean boolean23 = gJChronology21.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField24 = gJChronology21.year(); org.joda.time.DateTimeZone dateTimeZone25 = gJChronology21.getZone(); org.joda.time.Chronology chronology26 = gJChronology17.withZone(dateTimeZone25); org.joda.time.DurationField durationField27 = gJChronology17.millis(); org.joda.time.DateTimeField dateTimeField28 = gJChronology17.weekyear(); org.joda.time.Instant instant29 = gJChronology17.getGregorianCutover(); org.joda.time.DateTimeZone dateTimeZone30 = null; org.joda.time.ReadableInstant readableInstant31 = null; org.joda.time.chrono.GJChronology gJChronology33 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone30, readableInstant31, (int) (short) 1); org.joda.time.DateTimeField dateTimeField34 = gJChronology33.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod35 = null; long long38 = gJChronology33.add(readablePeriod35, (long) (short) 1, (int) (byte) -1); long long43 = gJChronology33.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField44 = gJChronology33.millis(); org.joda.time.DurationField durationField45 = gJChronology33.centuries(); org.joda.time.DateTimeField dateTimeField46 = gJChronology33.dayOfMonth(); org.joda.time.DateTimeField dateTimeField47 = gJChronology33.yearOfEra(); org.joda.time.DateTimeField dateTimeField48 = gJChronology33.dayOfWeek(); boolean boolean49 = gJChronology17.equals((java.lang.Object) gJChronology33); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertTrue("'" + boolean13 + "' != '" + false + "'", boolean13 == false); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(instant15); org.junit.Assert.assertNotNull(gJChronology17); org.junit.Assert.assertNotNull(gJChronology21); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + false + "'", boolean23 == false); org.junit.Assert.assertNotNull(dateTimeField24); org.junit.Assert.assertNotNull(dateTimeZone25); org.junit.Assert.assertNotNull(chronology26); org.junit.Assert.assertNotNull(durationField27); org.junit.Assert.assertNotNull(dateTimeField28); org.junit.Assert.assertNotNull(instant29); org.junit.Assert.assertNotNull(gJChronology33); org.junit.Assert.assertNotNull(dateTimeField34); org.junit.Assert.assertTrue("'" + long38 + "' != '" + 1L + "'", long38 == 1L); org.junit.Assert.assertTrue("'" + long43 + "' != '" + (-61062076799990L) + "'", long43 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField44); org.junit.Assert.assertNotNull(durationField45); org.junit.Assert.assertNotNull(dateTimeField46); org.junit.Assert.assertNotNull(dateTimeField47); org.junit.Assert.assertNotNull(dateTimeField48); org.junit.Assert.assertTrue("'" + boolean49 + "' != '" + true + "'", boolean49 == true); } @Test public void test1783() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1783"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.dayOfWeek(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.yearOfCentury(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeField11); } @Test public void test1784() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1784"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.centuryOfEra(); org.joda.time.DurationField durationField7 = gJChronology3.centuries(); org.joda.time.DateTimeZone dateTimeZone8 = gJChronology3.getZone(); org.joda.time.DurationField durationField9 = gJChronology3.millis(); org.joda.time.DurationField durationField10 = gJChronology3.minutes(); long long14 = gJChronology3.add((long) '4', 0L, (int) (byte) 0); org.joda.time.DateTimeZone dateTimeZone15 = null; org.joda.time.ReadableInstant readableInstant16 = null; org.joda.time.chrono.GJChronology gJChronology18 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone15, readableInstant16, (int) (short) 1); org.joda.time.DateTimeField dateTimeField19 = gJChronology18.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod20 = null; long long23 = gJChronology18.add(readablePeriod20, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeZone dateTimeZone24 = gJChronology18.getZone(); org.joda.time.ReadableInstant readableInstant25 = null; org.joda.time.chrono.GJChronology gJChronology26 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone24, readableInstant25); org.joda.time.DateTimeZone dateTimeZone27 = null; org.joda.time.ReadableInstant readableInstant28 = null; org.joda.time.chrono.GJChronology gJChronology30 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone27, readableInstant28, (int) (short) 1); boolean boolean32 = gJChronology30.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField33 = gJChronology30.year(); org.joda.time.DateTimeZone dateTimeZone34 = gJChronology30.getZone(); org.joda.time.DateTimeZone dateTimeZone35 = null; org.joda.time.ReadableInstant readableInstant36 = null; org.joda.time.chrono.GJChronology gJChronology38 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone35, readableInstant36, (int) (short) 1); boolean boolean40 = gJChronology38.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField41 = gJChronology38.year(); org.joda.time.Instant instant42 = gJChronology38.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology43 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone34, (org.joda.time.ReadableInstant) instant42); org.joda.time.chrono.GJChronology gJChronology44 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone24, (org.joda.time.ReadableInstant) instant42); org.joda.time.Chronology chronology45 = gJChronology3.withZone(dateTimeZone24); org.joda.time.chrono.GJChronology gJChronology46 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone24); org.joda.time.DurationField durationField47 = gJChronology46.years(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(dateTimeZone8); org.junit.Assert.assertNotNull(durationField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertTrue("'" + long14 + "' != '" + 52L + "'", long14 == 52L); org.junit.Assert.assertNotNull(gJChronology18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertTrue("'" + long23 + "' != '" + 1L + "'", long23 == 1L); org.junit.Assert.assertNotNull(dateTimeZone24); org.junit.Assert.assertNotNull(gJChronology26); org.junit.Assert.assertNotNull(gJChronology30); org.junit.Assert.assertTrue("'" + boolean32 + "' != '" + false + "'", boolean32 == false); org.junit.Assert.assertNotNull(dateTimeField33); org.junit.Assert.assertNotNull(dateTimeZone34); org.junit.Assert.assertNotNull(gJChronology38); org.junit.Assert.assertTrue("'" + boolean40 + "' != '" + false + "'", boolean40 == false); org.junit.Assert.assertNotNull(dateTimeField41); org.junit.Assert.assertNotNull(instant42); org.junit.Assert.assertNotNull(gJChronology43); org.junit.Assert.assertNotNull(gJChronology44); org.junit.Assert.assertNotNull(chronology45); org.junit.Assert.assertNotNull(gJChronology46); org.junit.Assert.assertNotNull(durationField47); } @Test @Ignore public void test1785() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1785"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DurationField durationField15 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.dayOfMonth(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.yearOfEra(); org.joda.time.DurationField durationField18 = gJChronology3.days(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.secondOfDay(); org.joda.time.DateTimeField dateTimeField20 = gJChronology3.year(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(dateTimeField20); } @Test @Ignore public void test1786() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1786"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.minuteOfHour(); org.joda.time.DurationField durationField2 = gJChronology0.months(); org.joda.time.DateTimeZone dateTimeZone3 = null; org.joda.time.ReadableInstant readableInstant4 = null; org.joda.time.chrono.GJChronology gJChronology6 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone3, readableInstant4, (int) (short) 1); org.joda.time.DateTimeField dateTimeField7 = gJChronology6.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod8 = null; long long11 = gJChronology6.add(readablePeriod8, (long) (short) 1, (int) (byte) -1); long long16 = gJChronology6.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField17 = gJChronology6.seconds(); org.joda.time.DateTimeZone dateTimeZone18 = null; org.joda.time.ReadableInstant readableInstant19 = null; org.joda.time.chrono.GJChronology gJChronology21 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone18, readableInstant19, (int) (short) 1); boolean boolean23 = gJChronology21.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField24 = gJChronology21.year(); org.joda.time.DateTimeZone dateTimeZone25 = gJChronology21.getZone(); org.joda.time.DateTimeField dateTimeField26 = gJChronology21.minuteOfDay(); org.joda.time.DateTimeZone dateTimeZone27 = gJChronology21.getZone(); org.joda.time.Chronology chronology28 = gJChronology6.withZone(dateTimeZone27); org.joda.time.Chronology chronology29 = gJChronology0.withZone(dateTimeZone27); org.joda.time.chrono.GJChronology gJChronology30 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField31 = gJChronology30.weeks(); org.joda.time.DateTimeField dateTimeField32 = gJChronology30.clockhourOfHalfday(); org.joda.time.DateTimeField dateTimeField33 = gJChronology30.hourOfDay(); org.joda.time.DateTimeZone dateTimeZone34 = gJChronology30.getZone(); org.joda.time.chrono.GJChronology gJChronology35 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone34); org.joda.time.DateTimeZone dateTimeZone36 = null; org.joda.time.ReadableInstant readableInstant37 = null; org.joda.time.chrono.GJChronology gJChronology39 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone36, readableInstant37, (int) (short) 1); boolean boolean41 = gJChronology39.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField42 = gJChronology39.year(); org.joda.time.Instant instant43 = gJChronology39.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology44 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone34, (org.joda.time.ReadableInstant) instant43); org.joda.time.chrono.GJChronology gJChronology45 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone27, (org.joda.time.ReadableInstant) instant43); org.joda.time.DateTimeField dateTimeField46 = gJChronology45.monthOfYear(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(durationField2); org.junit.Assert.assertNotNull(gJChronology6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertTrue("'" + long11 + "' != '" + 1L + "'", long11 == 1L); org.junit.Assert.assertTrue("'" + long16 + "' != '" + (-61062076799990L) + "'", long16 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField17); org.junit.Assert.assertNotNull(gJChronology21); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + false + "'", boolean23 == false); org.junit.Assert.assertNotNull(dateTimeField24); org.junit.Assert.assertNotNull(dateTimeZone25); org.junit.Assert.assertNotNull(dateTimeField26); org.junit.Assert.assertNotNull(dateTimeZone27); org.junit.Assert.assertNotNull(chronology28); org.junit.Assert.assertNotNull(chronology29); org.junit.Assert.assertNotNull(gJChronology30); org.junit.Assert.assertNotNull(durationField31); org.junit.Assert.assertNotNull(dateTimeField32); org.junit.Assert.assertNotNull(dateTimeField33); org.junit.Assert.assertNotNull(dateTimeZone34); org.junit.Assert.assertNotNull(gJChronology35); org.junit.Assert.assertNotNull(gJChronology39); org.junit.Assert.assertTrue("'" + boolean41 + "' != '" + false + "'", boolean41 == false); org.junit.Assert.assertNotNull(dateTimeField42); org.junit.Assert.assertNotNull(instant43); org.junit.Assert.assertNotNull(gJChronology44); org.junit.Assert.assertNotNull(gJChronology45); org.junit.Assert.assertNotNull(dateTimeField46); } @Test public void test1787() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1787"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.monthOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.hours(); org.joda.time.DurationField durationField8 = gJChronology3.seconds(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(durationField8); } @Test @Ignore public void test1788() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1788"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.millisOfSecond(); org.joda.time.DurationField durationField9 = gJChronology3.seconds(); org.joda.time.Instant instant10 = gJChronology3.getGregorianCutover(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.weekyear(); java.lang.String str12 = gJChronology3.toString(); org.joda.time.DateTimeField dateTimeField13 = gJChronology3.hourOfDay(); org.joda.time.DurationField durationField14 = gJChronology3.months(); org.joda.time.Instant instant15 = gJChronology3.getGregorianCutover(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(durationField9); org.junit.Assert.assertNotNull(instant10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertEquals("'" + str12 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str12, "GJChronology[Etc/UTC,mdfw=1]"); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(instant15); } @Test @Ignore public void test1789() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1789"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.minuteOfHour(); org.joda.time.DateTimeZone dateTimeZone2 = null; org.joda.time.ReadableInstant readableInstant3 = null; org.joda.time.chrono.GJChronology gJChronology5 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone2, readableInstant3, (int) (short) 1); org.joda.time.DateTimeField dateTimeField6 = gJChronology5.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod7 = null; long long10 = gJChronology5.add(readablePeriod7, (long) (short) 1, (int) (byte) -1); long long15 = gJChronology5.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField16 = gJChronology5.seconds(); org.joda.time.DateTimeZone dateTimeZone17 = gJChronology5.getZone(); org.joda.time.Chronology chronology18 = gJChronology0.withZone(dateTimeZone17); org.joda.time.DateTimeField dateTimeField19 = gJChronology0.dayOfWeek(); org.joda.time.DateTimeField dateTimeField20 = gJChronology0.weekyearOfCentury(); org.joda.time.DateTimeField dateTimeField21 = gJChronology0.minuteOfHour(); org.joda.time.DurationField durationField22 = gJChronology0.seconds(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(gJChronology5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertTrue("'" + long10 + "' != '" + 1L + "'", long10 == 1L); org.junit.Assert.assertTrue("'" + long15 + "' != '" + (-61062076799990L) + "'", long15 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(dateTimeZone17); org.junit.Assert.assertNotNull(chronology18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(dateTimeField20); org.junit.Assert.assertNotNull(dateTimeField21); org.junit.Assert.assertNotNull(durationField22); } @Test @Ignore public void test1790() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1790"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DurationField durationField15 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.weekyear(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.yearOfCentury(); int int18 = gJChronology3.getMinimumDaysInFirstWeek(); // The following exception was thrown during execution in test generation try { long long24 = gJChronology3.getDateTimeMillis((long) (short) -1, (int) ' ', (int) (byte) 100, 0, (-1)); org.junit.Assert.fail("Expected exception of type org.joda.time.IllegalFieldValueException; message: Value 32 for hourOfDay must be in the range [0,23]"); } catch (org.joda.time.IllegalFieldValueException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertTrue("'" + int18 + "' != '" + 1 + "'", int18 == 1); } @Test @Ignore public void test1791() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1791"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.yearOfEra(); java.lang.String str19 = gJChronology3.toString(); org.joda.time.DateTimeZone dateTimeZone20 = null; org.joda.time.ReadableInstant readableInstant21 = null; org.joda.time.chrono.GJChronology gJChronology23 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone20, readableInstant21, (int) (short) 1); boolean boolean25 = gJChronology23.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField26 = gJChronology23.dayOfYear(); org.joda.time.DurationField durationField27 = gJChronology23.days(); org.joda.time.DateTimeField dateTimeField28 = gJChronology23.weekyear(); boolean boolean29 = gJChronology3.equals((java.lang.Object) gJChronology23); org.joda.time.DateTimeField dateTimeField30 = gJChronology3.millisOfDay(); org.joda.time.DateTimeField dateTimeField31 = gJChronology3.dayOfWeek(); org.joda.time.DurationField durationField32 = gJChronology3.centuries(); org.joda.time.DurationField durationField33 = gJChronology3.weekyears(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertEquals("'" + str19 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str19, "GJChronology[Etc/UTC,mdfw=1]"); org.junit.Assert.assertNotNull(gJChronology23); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); org.junit.Assert.assertNotNull(dateTimeField26); org.junit.Assert.assertNotNull(durationField27); org.junit.Assert.assertNotNull(dateTimeField28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + true + "'", boolean29 == true); org.junit.Assert.assertNotNull(dateTimeField30); org.junit.Assert.assertNotNull(dateTimeField31); org.junit.Assert.assertNotNull(durationField32); org.junit.Assert.assertNotNull(durationField33); } @Test public void test1792() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1792"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField1 = gJChronology0.weeks(); org.joda.time.DurationField durationField2 = gJChronology0.millis(); org.joda.time.DateTimeField dateTimeField3 = gJChronology0.year(); org.joda.time.DateTimeField dateTimeField4 = gJChronology0.millisOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology0.clockhourOfDay(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(durationField1); org.junit.Assert.assertNotNull(durationField2); org.junit.Assert.assertNotNull(dateTimeField3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); } @Test public void test1793() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1793"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeZone dateTimeZone9 = gJChronology3.getZone(); org.joda.time.ReadableInstant readableInstant10 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone9, readableInstant10); org.joda.time.chrono.GJChronology gJChronology14 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone9, 1110L, (int) (short) 1); org.joda.time.DateTimeField dateTimeField15 = gJChronology14.millisOfSecond(); org.joda.time.DurationField durationField16 = gJChronology14.years(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertNotNull(dateTimeZone9); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(gJChronology14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(durationField16); } @Test @Ignore public void test1794() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1794"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DurationField durationField15 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.weekyear(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.yearOfCentury(); org.joda.time.DurationField durationField18 = gJChronology3.days(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.weekyearOfCentury(); org.joda.time.DurationField durationField20 = gJChronology3.centuries(); long long26 = gJChronology3.getDateTimeMillis(51L, 0, (int) ' ', (int) (short) 1, (int) (short) 10); org.joda.time.DateTimeField dateTimeField27 = gJChronology3.weekyear(); org.joda.time.DateTimeField dateTimeField28 = gJChronology3.dayOfWeek(); org.joda.time.DurationField durationField29 = gJChronology3.months(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(durationField20); org.junit.Assert.assertTrue("'" + long26 + "' != '" + 1921010L + "'", long26 == 1921010L); org.junit.Assert.assertNotNull(dateTimeField27); org.junit.Assert.assertNotNull(dateTimeField28); org.junit.Assert.assertNotNull(durationField29); } @Test public void test1795() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1795"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeZone dateTimeZone9 = gJChronology3.getZone(); org.joda.time.ReadableInstant readableInstant10 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone9, readableInstant10); org.joda.time.chrono.GJChronology gJChronology14 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone9, 1110L, (int) (short) 1); org.joda.time.DateTimeField dateTimeField15 = gJChronology14.millisOfSecond(); org.joda.time.DateTimeZone dateTimeZone16 = gJChronology14.getZone(); org.joda.time.DateTimeZone dateTimeZone17 = gJChronology14.getZone(); org.joda.time.chrono.GJChronology gJChronology18 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone17); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertNotNull(dateTimeZone9); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(gJChronology14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeZone16); org.junit.Assert.assertNotNull(dateTimeZone17); org.junit.Assert.assertNotNull(gJChronology18); } @Test @Ignore public void test1796() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1796"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.hourOfDay(); int int16 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.secondOfMinute(); org.joda.time.DurationField durationField18 = gJChronology3.halfdays(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.hourOfDay(); org.joda.time.DateTimeField dateTimeField20 = gJChronology3.dayOfMonth(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertTrue("'" + int16 + "' != '" + 1 + "'", int16 == 1); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(dateTimeField20); } @Test public void test1797() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1797"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.centuryOfEra(); org.joda.time.DurationField durationField7 = gJChronology3.centuries(); org.joda.time.DurationField durationField8 = gJChronology3.months(); org.joda.time.DurationField durationField9 = gJChronology3.seconds(); org.joda.time.DurationField durationField10 = gJChronology3.halfdays(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.era(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(durationField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertNotNull(dateTimeField11); } @Test public void test1798() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1798"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.Instant instant7 = gJChronology3.getGregorianCutover(); org.joda.time.DurationField durationField8 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.year(); org.joda.time.DurationField durationField10 = gJChronology3.halfdays(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.hourOfDay(); int int13 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DateTimeField dateTimeField14 = gJChronology3.dayOfMonth(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(instant7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertTrue("'" + int13 + "' != '" + 1 + "'", int13 == 1); org.junit.Assert.assertNotNull(dateTimeField14); } @Test public void test1799() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1799"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.dayOfMonth(); long long13 = gJChronology3.add((long) (short) 1, 52L, (-1)); org.joda.time.DateTimeField dateTimeField14 = gJChronology3.clockhourOfDay(); org.joda.time.DurationField durationField15 = gJChronology3.seconds(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.halfdayOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-51L) + "'", long13 == (-51L)); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(dateTimeField16); } @Test @Ignore public void test1800() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1800"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeZone dateTimeZone16 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.hourOfDay(); org.joda.time.Instant instant18 = gJChronology3.getGregorianCutover(); long long24 = gJChronology3.getDateTimeMillis((long) 1, (int) (byte) 1, (int) (short) 10, (int) (short) 0, (int) '#'); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeZone16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(instant18); org.junit.Assert.assertTrue("'" + long24 + "' != '" + 4200035L + "'", long24 == 4200035L); } @Test @Ignore public void test1801() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1801"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.dayOfWeek(); org.joda.time.DurationField durationField16 = gJChronology3.seconds(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.minuteOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(dateTimeField17); } @Test @Ignore public void test1802() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1802"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.chrono.GJChronology gJChronology10 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone7, 1665L, (int) (short) 1); org.joda.time.Instant instant11 = gJChronology10.getGregorianCutover(); long long17 = gJChronology10.getDateTimeMillis((long) '#', 0, 1, 1, (int) ' '); org.joda.time.DateTimeField dateTimeField18 = gJChronology10.dayOfWeek(); org.joda.time.DateTimeZone dateTimeZone19 = null; org.joda.time.ReadableInstant readableInstant20 = null; org.joda.time.chrono.GJChronology gJChronology22 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone19, readableInstant20, (int) (short) 1); boolean boolean24 = gJChronology22.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField25 = gJChronology22.year(); org.joda.time.DateTimeZone dateTimeZone26 = gJChronology22.getZone(); org.joda.time.DateTimeZone dateTimeZone27 = null; org.joda.time.ReadableInstant readableInstant28 = null; org.joda.time.chrono.GJChronology gJChronology30 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone27, readableInstant28, (int) (short) 1); org.joda.time.DateTimeField dateTimeField31 = gJChronology30.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod32 = null; long long35 = gJChronology30.add(readablePeriod32, (long) (short) 1, (int) (byte) -1); long long40 = gJChronology30.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField41 = gJChronology30.millis(); boolean boolean42 = gJChronology22.equals((java.lang.Object) gJChronology30); long long46 = gJChronology22.add((-61062076799990L), (long) (byte) 10, (int) (short) -1); org.joda.time.DurationField durationField47 = gJChronology22.millis(); org.joda.time.DateTimeZone dateTimeZone48 = gJChronology22.getZone(); org.joda.time.Chronology chronology49 = gJChronology10.withZone(dateTimeZone48); org.joda.time.DateTimeField dateTimeField50 = gJChronology10.centuryOfEra(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology10); org.junit.Assert.assertNotNull(instant11); org.junit.Assert.assertTrue("'" + long17 + "' != '" + 61032L + "'", long17 == 61032L); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(gJChronology22); org.junit.Assert.assertTrue("'" + boolean24 + "' != '" + false + "'", boolean24 == false); org.junit.Assert.assertNotNull(dateTimeField25); org.junit.Assert.assertNotNull(dateTimeZone26); org.junit.Assert.assertNotNull(gJChronology30); org.junit.Assert.assertNotNull(dateTimeField31); org.junit.Assert.assertTrue("'" + long35 + "' != '" + 1L + "'", long35 == 1L); org.junit.Assert.assertTrue("'" + long40 + "' != '" + (-61062076799990L) + "'", long40 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField41); org.junit.Assert.assertTrue("'" + boolean42 + "' != '" + true + "'", boolean42 == true); org.junit.Assert.assertTrue("'" + long46 + "' != '" + (-61062076800000L) + "'", long46 == (-61062076800000L)); org.junit.Assert.assertNotNull(durationField47); org.junit.Assert.assertNotNull(dateTimeZone48); org.junit.Assert.assertNotNull(chronology49); org.junit.Assert.assertNotNull(dateTimeField50); } @Test @Ignore public void test1803() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1803"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.hourOfDay(); int int16 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.secondOfMinute(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.dayOfMonth(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.yearOfCentury(); org.joda.time.DateTimeField dateTimeField20 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField21 = gJChronology3.weekyears(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertTrue("'" + int16 + "' != '" + 1 + "'", int16 == 1); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(dateTimeField20); org.junit.Assert.assertNotNull(durationField21); } @Test @Ignore public void test1804() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1804"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.halfdayOfDay(); org.joda.time.Chronology chronology16 = gJChronology3.withUTC(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.minuteOfHour(); org.joda.time.DateTimeZone dateTimeZone18 = null; org.joda.time.ReadableInstant readableInstant19 = null; org.joda.time.chrono.GJChronology gJChronology21 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone18, readableInstant19, (int) (short) 1); org.joda.time.DateTimeField dateTimeField22 = gJChronology21.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod23 = null; long long26 = gJChronology21.add(readablePeriod23, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeZone dateTimeZone27 = gJChronology21.getZone(); org.joda.time.ReadableInstant readableInstant28 = null; org.joda.time.chrono.GJChronology gJChronology29 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone27, readableInstant28); org.joda.time.chrono.GJChronology gJChronology32 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone27, 1110L, (int) (short) 1); org.joda.time.Chronology chronology33 = gJChronology3.withZone(dateTimeZone27); org.joda.time.DateTimeField dateTimeField34 = gJChronology3.yearOfCentury(); org.joda.time.DateTimeField dateTimeField35 = gJChronology3.dayOfYear(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(chronology16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(gJChronology21); org.junit.Assert.assertNotNull(dateTimeField22); org.junit.Assert.assertTrue("'" + long26 + "' != '" + 1L + "'", long26 == 1L); org.junit.Assert.assertNotNull(dateTimeZone27); org.junit.Assert.assertNotNull(gJChronology29); org.junit.Assert.assertNotNull(gJChronology32); org.junit.Assert.assertNotNull(chronology33); org.junit.Assert.assertNotNull(dateTimeField34); org.junit.Assert.assertNotNull(dateTimeField35); } @Test public void test1805() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1805"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); boolean boolean13 = gJChronology11.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField14 = gJChronology11.year(); org.joda.time.Instant instant15 = gJChronology11.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology17 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone7, (org.joda.time.ReadableInstant) instant15, (int) (byte) 1); org.joda.time.DurationField durationField18 = gJChronology17.weeks(); org.joda.time.DurationField durationField19 = gJChronology17.weeks(); org.joda.time.DateTimeField dateTimeField20 = gJChronology17.millisOfDay(); org.joda.time.DurationField durationField21 = gJChronology17.months(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertTrue("'" + boolean13 + "' != '" + false + "'", boolean13 == false); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(instant15); org.junit.Assert.assertNotNull(gJChronology17); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(durationField19); org.junit.Assert.assertNotNull(dateTimeField20); org.junit.Assert.assertNotNull(durationField21); } @Test public void test1806() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1806"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.days(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.centuryOfEra(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.monthOfYear(); org.joda.time.DurationField durationField10 = gJChronology3.weekyears(); org.joda.time.DurationField durationField11 = gJChronology3.minutes(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.clockhourOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertNotNull(durationField11); org.junit.Assert.assertNotNull(dateTimeField12); } @Test @Ignore public void test1807() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1807"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.minuteOfHour(); org.joda.time.DateTimeZone dateTimeZone2 = null; org.joda.time.ReadableInstant readableInstant3 = null; org.joda.time.chrono.GJChronology gJChronology5 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone2, readableInstant3, (int) (short) 1); org.joda.time.DateTimeField dateTimeField6 = gJChronology5.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod7 = null; long long10 = gJChronology5.add(readablePeriod7, (long) (short) 1, (int) (byte) -1); long long15 = gJChronology5.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField16 = gJChronology5.seconds(); org.joda.time.DateTimeZone dateTimeZone17 = gJChronology5.getZone(); org.joda.time.Chronology chronology18 = gJChronology0.withZone(dateTimeZone17); org.joda.time.DateTimeZone dateTimeZone19 = null; org.joda.time.ReadableInstant readableInstant20 = null; org.joda.time.chrono.GJChronology gJChronology22 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone19, readableInstant20, (int) (short) 1); org.joda.time.DateTimeField dateTimeField23 = gJChronology22.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod24 = null; long long27 = gJChronology22.add(readablePeriod24, (long) (short) 1, (int) (byte) -1); long long32 = gJChronology22.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField33 = gJChronology22.seconds(); org.joda.time.DateTimeZone dateTimeZone34 = null; org.joda.time.ReadableInstant readableInstant35 = null; org.joda.time.chrono.GJChronology gJChronology37 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone34, readableInstant35, (int) (short) 1); boolean boolean39 = gJChronology37.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField40 = gJChronology37.year(); org.joda.time.DateTimeZone dateTimeZone41 = gJChronology37.getZone(); org.joda.time.DateTimeField dateTimeField42 = gJChronology37.minuteOfDay(); org.joda.time.DateTimeZone dateTimeZone43 = gJChronology37.getZone(); org.joda.time.Chronology chronology44 = gJChronology22.withZone(dateTimeZone43); org.joda.time.Chronology chronology45 = gJChronology0.withZone(dateTimeZone43); org.joda.time.DurationField durationField46 = gJChronology0.halfdays(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(gJChronology5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertTrue("'" + long10 + "' != '" + 1L + "'", long10 == 1L); org.junit.Assert.assertTrue("'" + long15 + "' != '" + (-61062076799990L) + "'", long15 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(dateTimeZone17); org.junit.Assert.assertNotNull(chronology18); org.junit.Assert.assertNotNull(gJChronology22); org.junit.Assert.assertNotNull(dateTimeField23); org.junit.Assert.assertTrue("'" + long27 + "' != '" + 1L + "'", long27 == 1L); org.junit.Assert.assertTrue("'" + long32 + "' != '" + (-61062076799990L) + "'", long32 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField33); org.junit.Assert.assertNotNull(gJChronology37); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(dateTimeField40); org.junit.Assert.assertNotNull(dateTimeZone41); org.junit.Assert.assertNotNull(dateTimeField42); org.junit.Assert.assertNotNull(dateTimeZone43); org.junit.Assert.assertNotNull(chronology44); org.junit.Assert.assertNotNull(chronology45); org.junit.Assert.assertNotNull(durationField46); } @Test @Ignore public void test1808() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1808"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.minuteOfHour(); org.joda.time.DateTimeZone dateTimeZone2 = null; org.joda.time.ReadableInstant readableInstant3 = null; org.joda.time.chrono.GJChronology gJChronology5 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone2, readableInstant3, (int) (short) 1); org.joda.time.DateTimeField dateTimeField6 = gJChronology5.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod7 = null; long long10 = gJChronology5.add(readablePeriod7, (long) (short) 1, (int) (byte) -1); long long15 = gJChronology5.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField16 = gJChronology5.seconds(); org.joda.time.DateTimeZone dateTimeZone17 = gJChronology5.getZone(); org.joda.time.Chronology chronology18 = gJChronology0.withZone(dateTimeZone17); org.joda.time.chrono.GJChronology gJChronology19 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone17); org.joda.time.DurationField durationField20 = gJChronology19.days(); org.joda.time.Chronology chronology21 = gJChronology19.withUTC(); org.joda.time.DateTimeField dateTimeField22 = gJChronology19.dayOfWeek(); org.joda.time.DateTimeField dateTimeField23 = gJChronology19.weekyear(); org.joda.time.DateTimeField dateTimeField24 = gJChronology19.hourOfDay(); org.joda.time.DateTimeField dateTimeField25 = gJChronology19.clockhourOfHalfday(); org.joda.time.ReadablePartial readablePartial26 = null; // The following exception was thrown during execution in test generation try { long long28 = gJChronology19.set(readablePartial26, (long) 'a'); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(gJChronology5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertTrue("'" + long10 + "' != '" + 1L + "'", long10 == 1L); org.junit.Assert.assertTrue("'" + long15 + "' != '" + (-61062076799990L) + "'", long15 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(dateTimeZone17); org.junit.Assert.assertNotNull(chronology18); org.junit.Assert.assertNotNull(gJChronology19); org.junit.Assert.assertNotNull(durationField20); org.junit.Assert.assertNotNull(chronology21); org.junit.Assert.assertNotNull(dateTimeField22); org.junit.Assert.assertNotNull(dateTimeField23); org.junit.Assert.assertNotNull(dateTimeField24); org.junit.Assert.assertNotNull(dateTimeField25); } @Test @Ignore public void test1809() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1809"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.weekyears(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.weekyear(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.millisOfSecond(); org.joda.time.Instant instant17 = gJChronology3.getGregorianCutover(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.weekOfWeekyear(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(instant17); org.junit.Assert.assertNotNull(dateTimeField18); } @Test public void test1810() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1810"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.secondOfMinute(); org.joda.time.DurationField durationField7 = gJChronology3.seconds(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.monthOfYear(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); } @Test public void test1811() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1811"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.centuryOfEra(); org.joda.time.DurationField durationField7 = gJChronology3.centuries(); org.joda.time.DateTimeZone dateTimeZone8 = gJChronology3.getZone(); org.joda.time.DurationField durationField9 = gJChronology3.days(); long long13 = gJChronology3.add(100L, (long) (byte) 0, 100); org.joda.time.DateTimeZone dateTimeZone14 = gJChronology3.getZone(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(dateTimeZone8); org.junit.Assert.assertNotNull(durationField9); org.junit.Assert.assertTrue("'" + long13 + "' != '" + 100L + "'", long13 == 100L); org.junit.Assert.assertNotNull(dateTimeZone14); } @Test public void test1812() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1812"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.millisOfSecond(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.clockhourOfHalfday(); org.joda.time.DurationField durationField10 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.dayOfYear(); org.joda.time.DateTimeZone dateTimeZone12 = null; org.joda.time.ReadableInstant readableInstant13 = null; org.joda.time.chrono.GJChronology gJChronology15 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone12, readableInstant13, (int) (short) 1); org.joda.time.DateTimeField dateTimeField16 = gJChronology15.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField17 = gJChronology15.era(); org.joda.time.DurationField durationField18 = gJChronology15.days(); org.joda.time.DateTimeZone dateTimeZone19 = gJChronology15.getZone(); org.joda.time.Chronology chronology20 = gJChronology3.withZone(dateTimeZone19); org.joda.time.DateTimeZone dateTimeZone21 = null; org.joda.time.ReadableInstant readableInstant22 = null; org.joda.time.chrono.GJChronology gJChronology24 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone21, readableInstant22, (int) (short) 1); boolean boolean26 = gJChronology24.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField27 = gJChronology24.dayOfYear(); org.joda.time.DurationField durationField28 = gJChronology24.days(); org.joda.time.DurationField durationField29 = gJChronology24.seconds(); int int30 = gJChronology24.getMinimumDaysInFirstWeek(); org.joda.time.ReadablePeriod readablePeriod31 = null; long long34 = gJChronology24.add(readablePeriod31, 100L, 0); org.joda.time.DateTimeField dateTimeField35 = gJChronology24.weekOfWeekyear(); org.joda.time.Instant instant36 = gJChronology24.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology38 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone19, (org.joda.time.ReadableInstant) instant36, (int) (short) 1); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(gJChronology15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(dateTimeZone19); org.junit.Assert.assertNotNull(chronology20); org.junit.Assert.assertNotNull(gJChronology24); org.junit.Assert.assertTrue("'" + boolean26 + "' != '" + false + "'", boolean26 == false); org.junit.Assert.assertNotNull(dateTimeField27); org.junit.Assert.assertNotNull(durationField28); org.junit.Assert.assertNotNull(durationField29); org.junit.Assert.assertTrue("'" + int30 + "' != '" + 1 + "'", int30 == 1); org.junit.Assert.assertTrue("'" + long34 + "' != '" + 100L + "'", long34 == 100L); org.junit.Assert.assertNotNull(dateTimeField35); org.junit.Assert.assertNotNull(instant36); org.junit.Assert.assertNotNull(gJChronology38); } @Test @Ignore public void test1813() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1813"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); java.lang.String str5 = gJChronology3.toString(); org.joda.time.DurationField durationField6 = gJChronology3.days(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.weekyear(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertEquals("'" + str5 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str5, "GJChronology[Etc/UTC,mdfw=1]"); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(dateTimeField7); } @Test @Ignore public void test1814() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1814"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.days(); java.lang.String str8 = gJChronology3.toString(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone10 = null; org.joda.time.ReadableInstant readableInstant11 = null; org.joda.time.chrono.GJChronology gJChronology13 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone10, readableInstant11, (int) (short) 1); boolean boolean15 = gJChronology13.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField16 = gJChronology13.year(); org.joda.time.DateTimeZone dateTimeZone17 = gJChronology13.getZone(); boolean boolean18 = gJChronology3.equals((java.lang.Object) gJChronology13); org.joda.time.Instant instant19 = gJChronology13.getGregorianCutover(); org.joda.time.DateTimeField dateTimeField20 = gJChronology13.dayOfMonth(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertEquals("'" + str8 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str8, "GJChronology[Etc/UTC,mdfw=1]"); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(gJChronology13); org.junit.Assert.assertTrue("'" + boolean15 + "' != '" + false + "'", boolean15 == false); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeZone17); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + true + "'", boolean18 == true); org.junit.Assert.assertNotNull(instant19); org.junit.Assert.assertNotNull(dateTimeField20); } @Test public void test1815() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1815"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.millisOfSecond(); org.joda.time.DurationField durationField9 = gJChronology3.seconds(); org.joda.time.Instant instant10 = gJChronology3.getGregorianCutover(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.weekyear(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.millisOfSecond(); org.joda.time.DurationField durationField13 = gJChronology3.months(); org.joda.time.DateTimeField dateTimeField14 = gJChronology3.clockhourOfHalfday(); // The following exception was thrown during execution in test generation try { long long22 = gJChronology3.getDateTimeMillis((-1), (int) ' ', 0, (int) (short) -1, (int) (byte) 10, 1, 4); org.junit.Assert.fail("Expected exception of type org.joda.time.IllegalFieldValueException; message: Value -1 for hourOfDay must be in the range [0,23]"); } catch (org.joda.time.IllegalFieldValueException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(durationField9); org.junit.Assert.assertNotNull(instant10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(durationField13); org.junit.Assert.assertNotNull(dateTimeField14); } @Test public void test1816() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1816"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.millisOfSecond(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.clockhourOfHalfday(); org.joda.time.DurationField durationField10 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.weekyear(); org.joda.time.DurationField durationField13 = gJChronology3.halfdays(); org.joda.time.DateTimeField dateTimeField14 = gJChronology3.hourOfDay(); org.joda.time.DateTimeZone dateTimeZone15 = gJChronology3.getZone(); org.joda.time.chrono.GJChronology gJChronology16 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone15); org.joda.time.chrono.GJChronology gJChronology17 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone15); org.joda.time.chrono.GJChronology gJChronology18 = org.joda.time.chrono.GJChronology.getInstanceUTC(); org.joda.time.Instant instant19 = gJChronology18.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology20 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone15, (org.joda.time.ReadableInstant) instant19); org.joda.time.DateTimeZone dateTimeZone21 = null; org.joda.time.ReadableInstant readableInstant22 = null; org.joda.time.chrono.GJChronology gJChronology24 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone21, readableInstant22, (int) (short) 1); org.joda.time.DateTimeField dateTimeField25 = gJChronology24.dayOfYear(); org.joda.time.DurationField durationField26 = gJChronology24.weeks(); org.joda.time.DateTimeField dateTimeField27 = gJChronology24.weekOfWeekyear(); org.joda.time.DateTimeField dateTimeField28 = gJChronology24.minuteOfHour(); org.joda.time.Instant instant29 = gJChronology24.getGregorianCutover(); // The following exception was thrown during execution in test generation try { org.joda.time.chrono.GJChronology gJChronology31 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone15, (org.joda.time.ReadableInstant) instant29, (int) (short) 100); org.junit.Assert.fail("Expected exception of type java.lang.IllegalArgumentException; message: Invalid min days in first week: 100"); } catch (java.lang.IllegalArgumentException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(durationField13); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(dateTimeZone15); org.junit.Assert.assertNotNull(gJChronology16); org.junit.Assert.assertNotNull(gJChronology17); org.junit.Assert.assertNotNull(gJChronology18); org.junit.Assert.assertNotNull(instant19); org.junit.Assert.assertNotNull(gJChronology20); org.junit.Assert.assertNotNull(gJChronology24); org.junit.Assert.assertNotNull(dateTimeField25); org.junit.Assert.assertNotNull(durationField26); org.junit.Assert.assertNotNull(dateTimeField27); org.junit.Assert.assertNotNull(dateTimeField28); org.junit.Assert.assertNotNull(instant29); } @Test public void test1817() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1817"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.dayOfWeek(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); org.joda.time.DateTimeField dateTimeField12 = gJChronology11.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField13 = gJChronology11.year(); org.joda.time.DurationField durationField14 = gJChronology11.centuries(); org.joda.time.DateTimeField dateTimeField15 = gJChronology11.dayOfMonth(); boolean boolean16 = gJChronology3.equals((java.lang.Object) dateTimeField15); boolean boolean18 = gJChronology3.equals((java.lang.Object) 10); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.millisOfSecond(); org.joda.time.DateTimeField dateTimeField20 = gJChronology3.clockhourOfHalfday(); org.joda.time.DateTimeField dateTimeField21 = gJChronology3.centuryOfEra(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(dateTimeField20); org.junit.Assert.assertNotNull(dateTimeField21); } @Test public void test1818() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1818"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.Instant instant7 = gJChronology3.getGregorianCutover(); org.joda.time.DurationField durationField8 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.year(); org.joda.time.DurationField durationField10 = gJChronology3.halfdays(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod12 = null; long long15 = gJChronology3.add(readablePeriod12, (-49798948L), (int) '4'); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(instant7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertTrue("'" + long15 + "' != '" + (-49798948L) + "'", long15 == (-49798948L)); } @Test @Ignore public void test1819() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1819"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.hourOfDay(); org.joda.time.DateTimeZone dateTimeZone16 = null; org.joda.time.ReadableInstant readableInstant17 = null; org.joda.time.chrono.GJChronology gJChronology19 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone16, readableInstant17, (int) (short) 1); boolean boolean21 = gJChronology19.equals((java.lang.Object) (byte) 0); java.lang.String str22 = gJChronology19.toString(); org.joda.time.DateTimeZone dateTimeZone23 = null; org.joda.time.ReadableInstant readableInstant24 = null; org.joda.time.chrono.GJChronology gJChronology26 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone23, readableInstant24, (int) (short) 1); boolean boolean28 = gJChronology26.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField29 = gJChronology26.year(); org.joda.time.DateTimeZone dateTimeZone30 = gJChronology26.getZone(); org.joda.time.DateTimeZone dateTimeZone31 = null; org.joda.time.ReadableInstant readableInstant32 = null; org.joda.time.chrono.GJChronology gJChronology34 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone31, readableInstant32, (int) (short) 1); boolean boolean36 = gJChronology34.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField37 = gJChronology34.year(); org.joda.time.Instant instant38 = gJChronology34.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology40 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone30, (org.joda.time.ReadableInstant) instant38, (int) (byte) 1); org.joda.time.DateTimeZone dateTimeZone41 = null; org.joda.time.ReadableInstant readableInstant42 = null; org.joda.time.chrono.GJChronology gJChronology44 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone41, readableInstant42, (int) (short) 1); boolean boolean46 = gJChronology44.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField47 = gJChronology44.year(); org.joda.time.DateTimeZone dateTimeZone48 = gJChronology44.getZone(); org.joda.time.Chronology chronology49 = gJChronology40.withZone(dateTimeZone48); org.joda.time.Chronology chronology50 = gJChronology19.withZone(dateTimeZone48); org.joda.time.chrono.GJChronology gJChronology53 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone48, (long) (short) -1, (int) (short) 1); org.joda.time.Chronology chronology54 = gJChronology3.withZone(dateTimeZone48); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(gJChronology19); org.junit.Assert.assertTrue("'" + boolean21 + "' != '" + false + "'", boolean21 == false); org.junit.Assert.assertEquals("'" + str22 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str22, "GJChronology[Etc/UTC,mdfw=1]"); org.junit.Assert.assertNotNull(gJChronology26); org.junit.Assert.assertTrue("'" + boolean28 + "' != '" + false + "'", boolean28 == false); org.junit.Assert.assertNotNull(dateTimeField29); org.junit.Assert.assertNotNull(dateTimeZone30); org.junit.Assert.assertNotNull(gJChronology34); org.junit.Assert.assertTrue("'" + boolean36 + "' != '" + false + "'", boolean36 == false); org.junit.Assert.assertNotNull(dateTimeField37); org.junit.Assert.assertNotNull(instant38); org.junit.Assert.assertNotNull(gJChronology40); org.junit.Assert.assertNotNull(gJChronology44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(dateTimeField47); org.junit.Assert.assertNotNull(dateTimeZone48); org.junit.Assert.assertNotNull(chronology49); org.junit.Assert.assertNotNull(chronology50); org.junit.Assert.assertNotNull(gJChronology53); org.junit.Assert.assertNotNull(chronology54); } @Test public void test1820() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1820"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.centuryOfEra(); org.joda.time.DurationField durationField7 = gJChronology3.centuries(); org.joda.time.DateTimeZone dateTimeZone8 = gJChronology3.getZone(); org.joda.time.DurationField durationField9 = gJChronology3.days(); long long13 = gJChronology3.add(100L, (long) (byte) 0, 100); org.joda.time.DurationField durationField14 = gJChronology3.seconds(); org.joda.time.DurationField durationField15 = gJChronology3.weekyears(); org.joda.time.DurationField durationField16 = gJChronology3.weekyears(); org.joda.time.DurationField durationField17 = gJChronology3.months(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(dateTimeZone8); org.junit.Assert.assertNotNull(durationField9); org.junit.Assert.assertTrue("'" + long13 + "' != '" + 100L + "'", long13 == 100L); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(durationField17); } @Test @Ignore public void test1821() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1821"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.seconds(); org.joda.time.DateTimeZone dateTimeZone15 = null; org.joda.time.ReadableInstant readableInstant16 = null; org.joda.time.chrono.GJChronology gJChronology18 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone15, readableInstant16, (int) (short) 1); boolean boolean20 = gJChronology18.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField21 = gJChronology18.year(); org.joda.time.DateTimeZone dateTimeZone22 = gJChronology18.getZone(); org.joda.time.DateTimeField dateTimeField23 = gJChronology18.minuteOfDay(); org.joda.time.DateTimeZone dateTimeZone24 = gJChronology18.getZone(); org.joda.time.Chronology chronology25 = gJChronology3.withZone(dateTimeZone24); // The following exception was thrown during execution in test generation try { long long31 = gJChronology3.getDateTimeMillis((long) (byte) 0, (int) (short) 100, (int) (byte) 10, (-1), (int) ' '); org.junit.Assert.fail("Expected exception of type org.joda.time.IllegalFieldValueException; message: Value 100 for hourOfDay must be in the range [0,23]"); } catch (org.joda.time.IllegalFieldValueException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(gJChronology18); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(dateTimeField21); org.junit.Assert.assertNotNull(dateTimeZone22); org.junit.Assert.assertNotNull(dateTimeField23); org.junit.Assert.assertNotNull(dateTimeZone24); org.junit.Assert.assertNotNull(chronology25); } @Test public void test1822() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1822"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.Instant instant7 = gJChronology3.getGregorianCutover(); org.joda.time.DurationField durationField8 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.year(); org.joda.time.DurationField durationField10 = gJChronology3.minutes(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone12 = gJChronology3.getZone(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(instant7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(dateTimeZone12); } @Test public void test1823() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1823"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.secondOfMinute(); org.joda.time.DurationField durationField7 = gJChronology3.seconds(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeZone dateTimeZone9 = null; org.joda.time.ReadableInstant readableInstant10 = null; org.joda.time.chrono.GJChronology gJChronology12 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone9, readableInstant10, (int) (short) 1); org.joda.time.DateTimeField dateTimeField13 = gJChronology12.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField14 = gJChronology12.year(); org.joda.time.DurationField durationField15 = gJChronology12.centuries(); org.joda.time.DateTimeField dateTimeField16 = gJChronology12.dayOfMonth(); long long20 = gJChronology12.add((-1L), (long) (short) 0, (int) (byte) 10); boolean boolean21 = gJChronology3.equals((java.lang.Object) gJChronology12); org.joda.time.ReadablePeriod readablePeriod22 = null; // The following exception was thrown during execution in test generation try { int[] intArray25 = gJChronology3.get(readablePeriod22, (long) (byte) -1, (long) (byte) 0); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(gJChronology12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertTrue("'" + long20 + "' != '" + (-1L) + "'", long20 == (-1L)); org.junit.Assert.assertTrue("'" + boolean21 + "' != '" + true + "'", boolean21 == true); } @Test public void test1824() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1824"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeZone dateTimeZone9 = gJChronology3.getZone(); org.joda.time.ReadableInstant readableInstant10 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone9, readableInstant10); org.joda.time.DateTimeZone dateTimeZone12 = null; org.joda.time.ReadableInstant readableInstant13 = null; org.joda.time.chrono.GJChronology gJChronology15 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone12, readableInstant13, (int) (short) 1); boolean boolean17 = gJChronology15.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField18 = gJChronology15.year(); org.joda.time.DateTimeZone dateTimeZone19 = gJChronology15.getZone(); org.joda.time.DateTimeZone dateTimeZone20 = null; org.joda.time.ReadableInstant readableInstant21 = null; org.joda.time.chrono.GJChronology gJChronology23 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone20, readableInstant21, (int) (short) 1); boolean boolean25 = gJChronology23.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField26 = gJChronology23.year(); org.joda.time.Instant instant27 = gJChronology23.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology28 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone19, (org.joda.time.ReadableInstant) instant27); org.joda.time.chrono.GJChronology gJChronology29 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone9, (org.joda.time.ReadableInstant) instant27); org.joda.time.chrono.GJChronology gJChronology30 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField31 = gJChronology30.minuteOfHour(); org.joda.time.DateTimeField dateTimeField32 = gJChronology30.weekOfWeekyear(); org.joda.time.Instant instant33 = gJChronology30.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology34 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone9, (org.joda.time.ReadableInstant) instant33); org.joda.time.DateTimeField dateTimeField35 = gJChronology34.monthOfYear(); org.joda.time.DateTimeField dateTimeField36 = gJChronology34.minuteOfDay(); org.joda.time.ReadablePartial readablePartial37 = null; // The following exception was thrown during execution in test generation try { long long39 = gJChronology34.set(readablePartial37, (-21852L)); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertNotNull(dateTimeZone9); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(gJChronology15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(dateTimeZone19); org.junit.Assert.assertNotNull(gJChronology23); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); org.junit.Assert.assertNotNull(dateTimeField26); org.junit.Assert.assertNotNull(instant27); org.junit.Assert.assertNotNull(gJChronology28); org.junit.Assert.assertNotNull(gJChronology29); org.junit.Assert.assertNotNull(gJChronology30); org.junit.Assert.assertNotNull(dateTimeField31); org.junit.Assert.assertNotNull(dateTimeField32); org.junit.Assert.assertNotNull(instant33); org.junit.Assert.assertNotNull(gJChronology34); org.junit.Assert.assertNotNull(dateTimeField35); org.junit.Assert.assertNotNull(dateTimeField36); } @Test @Ignore public void test1825() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1825"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.minuteOfHour(); org.joda.time.DateTimeZone dateTimeZone2 = null; org.joda.time.ReadableInstant readableInstant3 = null; org.joda.time.chrono.GJChronology gJChronology5 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone2, readableInstant3, (int) (short) 1); org.joda.time.DateTimeField dateTimeField6 = gJChronology5.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod7 = null; long long10 = gJChronology5.add(readablePeriod7, (long) (short) 1, (int) (byte) -1); long long15 = gJChronology5.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField16 = gJChronology5.seconds(); org.joda.time.DateTimeZone dateTimeZone17 = gJChronology5.getZone(); org.joda.time.Chronology chronology18 = gJChronology0.withZone(dateTimeZone17); org.joda.time.chrono.GJChronology gJChronology19 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone17); org.joda.time.DateTimeField dateTimeField20 = gJChronology19.clockhourOfDay(); org.joda.time.DurationField durationField21 = gJChronology19.centuries(); java.lang.String str22 = gJChronology19.toString(); org.joda.time.DateTimeField dateTimeField23 = gJChronology19.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField24 = gJChronology19.era(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(gJChronology5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertTrue("'" + long10 + "' != '" + 1L + "'", long10 == 1L); org.junit.Assert.assertTrue("'" + long15 + "' != '" + (-61062076799990L) + "'", long15 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(dateTimeZone17); org.junit.Assert.assertNotNull(chronology18); org.junit.Assert.assertNotNull(gJChronology19); org.junit.Assert.assertNotNull(dateTimeField20); org.junit.Assert.assertNotNull(durationField21); org.junit.Assert.assertEquals("'" + str22 + "' != '" + "GJChronology[Etc/UTC]" + "'", str22, "GJChronology[Etc/UTC]"); org.junit.Assert.assertNotNull(dateTimeField23); org.junit.Assert.assertNotNull(dateTimeField24); } @Test public void test1826() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1826"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.year(); org.joda.time.DurationField durationField6 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.dayOfMonth(); long long11 = gJChronology3.add((-1L), (long) (short) 0, (int) (byte) 10); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.weekyearOfCentury(); org.joda.time.DateTimeField dateTimeField13 = gJChronology3.dayOfMonth(); org.joda.time.ReadablePeriod readablePeriod14 = null; // The following exception was thrown during execution in test generation try { int[] intArray17 = gJChronology3.get(readablePeriod14, (long) '#', (long) 4); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertTrue("'" + long11 + "' != '" + (-1L) + "'", long11 == (-1L)); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(dateTimeField13); } @Test public void test1827() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1827"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.year(); org.joda.time.DurationField durationField6 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.dayOfMonth(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.dayOfYear(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.weekyear(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.halfdayOfDay(); org.joda.time.ReadablePartial readablePartial13 = null; // The following exception was thrown during execution in test generation try { int[] intArray15 = gJChronology3.get(readablePartial13, (-61133097599999L)); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(dateTimeField12); } @Test @Ignore public void test1828() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1828"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.minuteOfHour(); org.joda.time.DateTimeZone dateTimeZone2 = null; org.joda.time.ReadableInstant readableInstant3 = null; org.joda.time.chrono.GJChronology gJChronology5 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone2, readableInstant3, (int) (short) 1); org.joda.time.DateTimeField dateTimeField6 = gJChronology5.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod7 = null; long long10 = gJChronology5.add(readablePeriod7, (long) (short) 1, (int) (byte) -1); long long15 = gJChronology5.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField16 = gJChronology5.seconds(); org.joda.time.DateTimeZone dateTimeZone17 = gJChronology5.getZone(); org.joda.time.Chronology chronology18 = gJChronology0.withZone(dateTimeZone17); org.joda.time.DateTimeField dateTimeField19 = gJChronology0.dayOfWeek(); org.joda.time.DateTimeField dateTimeField20 = gJChronology0.weekyearOfCentury(); org.joda.time.DurationField durationField21 = gJChronology0.centuries(); org.joda.time.DateTimeZone dateTimeZone22 = null; org.joda.time.ReadableInstant readableInstant23 = null; org.joda.time.chrono.GJChronology gJChronology25 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone22, readableInstant23, (int) (short) 1); org.joda.time.Chronology chronology26 = gJChronology25.withUTC(); org.joda.time.DurationField durationField27 = gJChronology25.millis(); org.joda.time.DateTimeZone dateTimeZone28 = gJChronology25.getZone(); org.joda.time.chrono.GJChronology gJChronology31 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone28, (-85747999L), 4); org.joda.time.Chronology chronology32 = gJChronology0.withZone(dateTimeZone28); org.joda.time.ReadableInstant readableInstant33 = null; org.joda.time.chrono.GJChronology gJChronology34 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone28, readableInstant33); // The following exception was thrown during execution in test generation try { org.joda.time.chrono.GJChronology gJChronology37 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone28, (-857467805L), (int) '4'); org.junit.Assert.fail("Expected exception of type java.lang.IllegalArgumentException; message: Invalid min days in first week: 52"); } catch (java.lang.IllegalArgumentException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(gJChronology5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertTrue("'" + long10 + "' != '" + 1L + "'", long10 == 1L); org.junit.Assert.assertTrue("'" + long15 + "' != '" + (-61062076799990L) + "'", long15 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(dateTimeZone17); org.junit.Assert.assertNotNull(chronology18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(dateTimeField20); org.junit.Assert.assertNotNull(durationField21); org.junit.Assert.assertNotNull(gJChronology25); org.junit.Assert.assertNotNull(chronology26); org.junit.Assert.assertNotNull(durationField27); org.junit.Assert.assertNotNull(dateTimeZone28); org.junit.Assert.assertNotNull(gJChronology31); org.junit.Assert.assertNotNull(chronology32); org.junit.Assert.assertNotNull(gJChronology34); } @Test public void test1829() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1829"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.days(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.centuryOfEra(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.minuteOfDay(); org.joda.time.DateTimeZone dateTimeZone10 = gJChronology3.getZone(); org.joda.time.DurationField durationField11 = gJChronology3.minutes(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeZone10); org.junit.Assert.assertNotNull(durationField11); } @Test public void test1830() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1830"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.days(); org.joda.time.DurationField durationField8 = gJChronology3.seconds(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.minuteOfHour(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.clockhourOfDay(); // The following exception was thrown during execution in test generation try { long long18 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 0, (int) ' ', (int) (byte) 1, (int) (short) -1, (int) ' ', 0); org.junit.Assert.fail("Expected exception of type org.joda.time.IllegalFieldValueException; message: Value -1 for minuteOfHour must be in the range [0,59]"); } catch (org.joda.time.IllegalFieldValueException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); } @Test public void test1831() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1831"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.Chronology chronology4 = gJChronology3.withUTC(); org.joda.time.DurationField durationField5 = gJChronology3.millis(); org.joda.time.DateTimeZone dateTimeZone6 = gJChronology3.getZone(); org.joda.time.chrono.GJChronology gJChronology7 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone6); org.joda.time.chrono.GJChronology gJChronology10 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone6, 1921010L, 4); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(chronology4); org.junit.Assert.assertNotNull(durationField5); org.junit.Assert.assertNotNull(dateTimeZone6); org.junit.Assert.assertNotNull(gJChronology7); org.junit.Assert.assertNotNull(gJChronology10); } @Test public void test1832() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1832"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.dayOfYear(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.year(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); } @Test @Ignore public void test1833() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1833"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeZone dateTimeZone16 = gJChronology3.getZone(); org.joda.time.chrono.GJChronology gJChronology17 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone16); org.joda.time.chrono.GJChronology gJChronology18 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone16); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeZone16); org.junit.Assert.assertNotNull(gJChronology17); org.junit.Assert.assertNotNull(gJChronology18); } @Test public void test1834() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1834"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.yearOfEra(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.halfdayOfDay(); org.joda.time.Instant instant8 = gJChronology3.getGregorianCutover(); org.joda.time.ReadablePeriod readablePeriod9 = null; long long12 = gJChronology3.add(readablePeriod9, 53238L, (int) (short) 10); org.joda.time.DateTimeField dateTimeField13 = gJChronology3.halfdayOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(instant8); org.junit.Assert.assertTrue("'" + long12 + "' != '" + 53238L + "'", long12 == 53238L); org.junit.Assert.assertNotNull(dateTimeField13); } @Test public void test1835() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1835"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.days(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.weekyear(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.halfdayOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); } @Test @Ignore public void test1836() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1836"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.era(); org.joda.time.DurationField durationField8 = gJChronology3.halfdays(); java.lang.String str9 = gJChronology3.toString(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.yearOfEra(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertEquals("'" + str9 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str9, "GJChronology[Etc/UTC,mdfw=1]"); org.junit.Assert.assertNotNull(dateTimeField10); } @Test public void test1837() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1837"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.centuryOfEra(); org.joda.time.DurationField durationField7 = gJChronology3.centuries(); org.joda.time.DateTimeZone dateTimeZone8 = gJChronology3.getZone(); org.joda.time.DurationField durationField9 = gJChronology3.millis(); org.joda.time.DurationField durationField10 = gJChronology3.minutes(); long long14 = gJChronology3.add((long) '4', 0L, (int) (byte) 0); org.joda.time.DateTimeZone dateTimeZone15 = null; org.joda.time.ReadableInstant readableInstant16 = null; org.joda.time.chrono.GJChronology gJChronology18 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone15, readableInstant16, (int) (short) 1); org.joda.time.DateTimeField dateTimeField19 = gJChronology18.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod20 = null; long long23 = gJChronology18.add(readablePeriod20, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeZone dateTimeZone24 = gJChronology18.getZone(); org.joda.time.ReadableInstant readableInstant25 = null; org.joda.time.chrono.GJChronology gJChronology26 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone24, readableInstant25); org.joda.time.DateTimeZone dateTimeZone27 = null; org.joda.time.ReadableInstant readableInstant28 = null; org.joda.time.chrono.GJChronology gJChronology30 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone27, readableInstant28, (int) (short) 1); boolean boolean32 = gJChronology30.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField33 = gJChronology30.year(); org.joda.time.DateTimeZone dateTimeZone34 = gJChronology30.getZone(); org.joda.time.DateTimeZone dateTimeZone35 = null; org.joda.time.ReadableInstant readableInstant36 = null; org.joda.time.chrono.GJChronology gJChronology38 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone35, readableInstant36, (int) (short) 1); boolean boolean40 = gJChronology38.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField41 = gJChronology38.year(); org.joda.time.Instant instant42 = gJChronology38.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology43 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone34, (org.joda.time.ReadableInstant) instant42); org.joda.time.chrono.GJChronology gJChronology44 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone24, (org.joda.time.ReadableInstant) instant42); org.joda.time.Chronology chronology45 = gJChronology3.withZone(dateTimeZone24); org.joda.time.DateTimeZone dateTimeZone46 = null; org.joda.time.ReadableInstant readableInstant47 = null; org.joda.time.chrono.GJChronology gJChronology49 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone46, readableInstant47, (int) (short) 1); org.joda.time.Chronology chronology50 = gJChronology49.withUTC(); org.joda.time.DateTimeField dateTimeField51 = gJChronology49.yearOfEra(); org.joda.time.Instant instant52 = gJChronology49.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology53 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone24, (org.joda.time.ReadableInstant) instant52); org.joda.time.DateTimeZone dateTimeZone54 = null; org.joda.time.ReadableInstant readableInstant55 = null; org.joda.time.chrono.GJChronology gJChronology57 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone54, readableInstant55, (int) (short) 1); boolean boolean59 = gJChronology57.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField60 = gJChronology57.dayOfYear(); org.joda.time.DurationField durationField61 = gJChronology57.days(); org.joda.time.DateTimeField dateTimeField62 = gJChronology57.centuryOfEra(); org.joda.time.DurationField durationField63 = gJChronology57.years(); org.joda.time.Instant instant64 = gJChronology57.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology65 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone24, (org.joda.time.ReadableInstant) instant64); org.joda.time.chrono.GJChronology gJChronology66 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone24); org.joda.time.DateTimeField dateTimeField67 = gJChronology66.dayOfYear(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(dateTimeZone8); org.junit.Assert.assertNotNull(durationField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertTrue("'" + long14 + "' != '" + 52L + "'", long14 == 52L); org.junit.Assert.assertNotNull(gJChronology18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertTrue("'" + long23 + "' != '" + 1L + "'", long23 == 1L); org.junit.Assert.assertNotNull(dateTimeZone24); org.junit.Assert.assertNotNull(gJChronology26); org.junit.Assert.assertNotNull(gJChronology30); org.junit.Assert.assertTrue("'" + boolean32 + "' != '" + false + "'", boolean32 == false); org.junit.Assert.assertNotNull(dateTimeField33); org.junit.Assert.assertNotNull(dateTimeZone34); org.junit.Assert.assertNotNull(gJChronology38); org.junit.Assert.assertTrue("'" + boolean40 + "' != '" + false + "'", boolean40 == false); org.junit.Assert.assertNotNull(dateTimeField41); org.junit.Assert.assertNotNull(instant42); org.junit.Assert.assertNotNull(gJChronology43); org.junit.Assert.assertNotNull(gJChronology44); org.junit.Assert.assertNotNull(chronology45); org.junit.Assert.assertNotNull(gJChronology49); org.junit.Assert.assertNotNull(chronology50); org.junit.Assert.assertNotNull(dateTimeField51); org.junit.Assert.assertNotNull(instant52); org.junit.Assert.assertNotNull(gJChronology53); org.junit.Assert.assertNotNull(gJChronology57); org.junit.Assert.assertTrue("'" + boolean59 + "' != '" + false + "'", boolean59 == false); org.junit.Assert.assertNotNull(dateTimeField60); org.junit.Assert.assertNotNull(durationField61); org.junit.Assert.assertNotNull(dateTimeField62); org.junit.Assert.assertNotNull(durationField63); org.junit.Assert.assertNotNull(instant64); org.junit.Assert.assertNotNull(gJChronology65); org.junit.Assert.assertNotNull(gJChronology66); org.junit.Assert.assertNotNull(dateTimeField67); } @Test public void test1838() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1838"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.minuteOfHour(); org.joda.time.DurationField durationField2 = gJChronology0.months(); org.joda.time.DateTimeField dateTimeField3 = gJChronology0.yearOfCentury(); org.joda.time.DateTimeField dateTimeField4 = gJChronology0.millisOfDay(); org.joda.time.DurationField durationField5 = gJChronology0.halfdays(); org.joda.time.DateTimeField dateTimeField6 = gJChronology0.weekyearOfCentury(); org.joda.time.DateTimeField dateTimeField7 = gJChronology0.dayOfMonth(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(durationField2); org.junit.Assert.assertNotNull(dateTimeField3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(durationField5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); } @Test public void test1839() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1839"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField1 = gJChronology0.weeks(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.clockhourOfHalfday(); org.joda.time.DateTimeField dateTimeField3 = gJChronology0.dayOfYear(); org.joda.time.DateTimeField dateTimeField4 = gJChronology0.dayOfYear(); org.joda.time.DateTimeField dateTimeField5 = gJChronology0.millisOfDay(); org.joda.time.DurationField durationField6 = gJChronology0.weeks(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(durationField1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertNotNull(dateTimeField3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); } @Test public void test1840() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1840"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.secondOfDay(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.centuryOfEra(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(dateTimeField8); } @Test public void test1841() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1841"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.year(); org.joda.time.DurationField durationField6 = gJChronology3.centuries(); org.joda.time.DurationField durationField7 = gJChronology3.weekyears(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.weekOfWeekyear(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.era(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.centuryOfEra(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.era(); org.joda.time.ReadablePartial readablePartial12 = null; // The following exception was thrown during execution in test generation try { long long14 = gJChronology3.set(readablePartial12, (-1631L)); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeField11); } @Test public void test1842() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1842"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.dayOfWeek(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); org.joda.time.DateTimeField dateTimeField12 = gJChronology11.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField13 = gJChronology11.year(); org.joda.time.DurationField durationField14 = gJChronology11.centuries(); org.joda.time.DateTimeField dateTimeField15 = gJChronology11.dayOfMonth(); boolean boolean16 = gJChronology3.equals((java.lang.Object) dateTimeField15); int int17 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DurationField durationField18 = gJChronology3.years(); org.joda.time.DurationField durationField19 = gJChronology3.halfdays(); org.joda.time.DurationField durationField20 = gJChronology3.hours(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertTrue("'" + int17 + "' != '" + 1 + "'", int17 == 1); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(durationField19); org.junit.Assert.assertNotNull(durationField20); } @Test public void test1843() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1843"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.year(); org.joda.time.DurationField durationField6 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.dayOfMonth(); org.joda.time.DurationField durationField8 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.monthOfYear(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); } @Test @Ignore public void test1844() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1844"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.minuteOfHour(); org.joda.time.DateTimeZone dateTimeZone2 = null; org.joda.time.ReadableInstant readableInstant3 = null; org.joda.time.chrono.GJChronology gJChronology5 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone2, readableInstant3, (int) (short) 1); org.joda.time.DateTimeField dateTimeField6 = gJChronology5.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod7 = null; long long10 = gJChronology5.add(readablePeriod7, (long) (short) 1, (int) (byte) -1); long long15 = gJChronology5.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField16 = gJChronology5.seconds(); org.joda.time.DateTimeZone dateTimeZone17 = gJChronology5.getZone(); org.joda.time.Chronology chronology18 = gJChronology0.withZone(dateTimeZone17); org.joda.time.DateTimeZone dateTimeZone19 = null; org.joda.time.ReadableInstant readableInstant20 = null; org.joda.time.chrono.GJChronology gJChronology22 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone19, readableInstant20, (int) (short) 1); org.joda.time.DateTimeField dateTimeField23 = gJChronology22.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod24 = null; long long27 = gJChronology22.add(readablePeriod24, (long) (short) 1, (int) (byte) -1); long long32 = gJChronology22.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField33 = gJChronology22.seconds(); org.joda.time.DateTimeZone dateTimeZone34 = null; org.joda.time.ReadableInstant readableInstant35 = null; org.joda.time.chrono.GJChronology gJChronology37 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone34, readableInstant35, (int) (short) 1); boolean boolean39 = gJChronology37.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField40 = gJChronology37.year(); org.joda.time.DateTimeZone dateTimeZone41 = gJChronology37.getZone(); org.joda.time.DateTimeField dateTimeField42 = gJChronology37.minuteOfDay(); org.joda.time.DateTimeZone dateTimeZone43 = gJChronology37.getZone(); org.joda.time.Chronology chronology44 = gJChronology22.withZone(dateTimeZone43); org.joda.time.Chronology chronology45 = gJChronology0.withZone(dateTimeZone43); org.joda.time.DateTimeZone dateTimeZone46 = null; org.joda.time.ReadableInstant readableInstant47 = null; org.joda.time.chrono.GJChronology gJChronology49 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone46, readableInstant47, (int) (short) 1); org.joda.time.DateTimeField dateTimeField50 = gJChronology49.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod51 = null; long long54 = gJChronology49.add(readablePeriod51, (long) (short) 1, (int) (byte) -1); org.joda.time.Instant instant55 = gJChronology49.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology57 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone43, (org.joda.time.ReadableInstant) instant55, (int) (byte) 1); org.joda.time.DateTimeZone dateTimeZone58 = null; org.joda.time.ReadableInstant readableInstant59 = null; org.joda.time.chrono.GJChronology gJChronology61 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone58, readableInstant59, (int) (short) 1); org.joda.time.DateTimeField dateTimeField62 = gJChronology61.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod63 = null; long long66 = gJChronology61.add(readablePeriod63, (long) (short) 1, (int) (byte) -1); long long70 = gJChronology61.add(1L, (long) '4', (int) (short) 0); org.joda.time.Instant instant71 = gJChronology61.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology72 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone43, (org.joda.time.ReadableInstant) instant71); org.joda.time.ReadablePeriod readablePeriod73 = null; long long76 = gJChronology72.add(readablePeriod73, 161463L, 0); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(gJChronology5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertTrue("'" + long10 + "' != '" + 1L + "'", long10 == 1L); org.junit.Assert.assertTrue("'" + long15 + "' != '" + (-61062076799990L) + "'", long15 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(dateTimeZone17); org.junit.Assert.assertNotNull(chronology18); org.junit.Assert.assertNotNull(gJChronology22); org.junit.Assert.assertNotNull(dateTimeField23); org.junit.Assert.assertTrue("'" + long27 + "' != '" + 1L + "'", long27 == 1L); org.junit.Assert.assertTrue("'" + long32 + "' != '" + (-61062076799990L) + "'", long32 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField33); org.junit.Assert.assertNotNull(gJChronology37); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(dateTimeField40); org.junit.Assert.assertNotNull(dateTimeZone41); org.junit.Assert.assertNotNull(dateTimeField42); org.junit.Assert.assertNotNull(dateTimeZone43); org.junit.Assert.assertNotNull(chronology44); org.junit.Assert.assertNotNull(chronology45); org.junit.Assert.assertNotNull(gJChronology49); org.junit.Assert.assertNotNull(dateTimeField50); org.junit.Assert.assertTrue("'" + long54 + "' != '" + 1L + "'", long54 == 1L); org.junit.Assert.assertNotNull(instant55); org.junit.Assert.assertNotNull(gJChronology57); org.junit.Assert.assertNotNull(gJChronology61); org.junit.Assert.assertNotNull(dateTimeField62); org.junit.Assert.assertTrue("'" + long66 + "' != '" + 1L + "'", long66 == 1L); org.junit.Assert.assertTrue("'" + long70 + "' != '" + 1L + "'", long70 == 1L); org.junit.Assert.assertNotNull(instant71); org.junit.Assert.assertNotNull(gJChronology72); org.junit.Assert.assertTrue("'" + long76 + "' != '" + 161463L + "'", long76 == 161463L); } @Test @Ignore public void test1845() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1845"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); org.joda.time.DateTimeField dateTimeField12 = gJChronology11.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod13 = null; long long16 = gJChronology11.add(readablePeriod13, (long) (short) 1, (int) (byte) -1); long long21 = gJChronology11.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField22 = gJChronology11.millis(); boolean boolean23 = gJChronology3.equals((java.lang.Object) gJChronology11); org.joda.time.Instant instant24 = gJChronology3.getGregorianCutover(); org.joda.time.DateTimeField dateTimeField25 = gJChronology3.clockhourOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertTrue("'" + long16 + "' != '" + 1L + "'", long16 == 1L); org.junit.Assert.assertTrue("'" + long21 + "' != '" + (-61062076799990L) + "'", long21 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField22); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + true + "'", boolean23 == true); org.junit.Assert.assertNotNull(instant24); org.junit.Assert.assertNotNull(dateTimeField25); } @Test public void test1846() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1846"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.Chronology chronology5 = gJChronology3.withUTC(); org.joda.time.DurationField durationField6 = gJChronology3.years(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.minuteOfDay(); // The following exception was thrown during execution in test generation try { long long13 = gJChronology3.getDateTimeMillis(1665L, (-1), (int) '4', (int) (byte) 0, 1); org.junit.Assert.fail("Expected exception of type org.joda.time.IllegalFieldValueException; message: Value -1 for hourOfDay must be in the range [0,23]"); } catch (org.joda.time.IllegalFieldValueException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(chronology5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(dateTimeField7); } @Test @Ignore public void test1847() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1847"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.weekyear(); org.joda.time.DurationField durationField16 = gJChronology3.halfdays(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.dayOfWeek(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.hourOfHalfday(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(dateTimeField18); } @Test public void test1848() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1848"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.dayOfYear(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.yearOfCentury(); org.joda.time.DurationField durationField6 = gJChronology3.weekyears(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.weekyearOfCentury(); org.joda.time.DurationField durationField8 = gJChronology3.halfdays(); int int9 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.secondOfDay(); int int11 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DurationField durationField12 = gJChronology3.millis(); // The following exception was thrown during execution in test generation try { long long17 = gJChronology3.getDateTimeMillis(0, (int) (byte) 10, (-1), (int) (byte) 10); org.junit.Assert.fail("Expected exception of type org.joda.time.IllegalFieldValueException; message: Value -1 for dayOfMonth must be in the range [1,31]"); } catch (org.joda.time.IllegalFieldValueException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertTrue("'" + int9 + "' != '" + 1 + "'", int9 == 1); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertTrue("'" + int11 + "' != '" + 1 + "'", int11 == 1); org.junit.Assert.assertNotNull(durationField12); } @Test public void test1849() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1849"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.centuryOfEra(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.weekyear(); java.lang.Class<?> wildcardClass8 = dateTimeField7.getClass(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(wildcardClass8); } @Test @Ignore public void test1850() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1850"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); java.lang.String str6 = gJChronology3.toString(); org.joda.time.DateTimeZone dateTimeZone7 = null; org.joda.time.ReadableInstant readableInstant8 = null; org.joda.time.chrono.GJChronology gJChronology10 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone7, readableInstant8, (int) (short) 1); boolean boolean12 = gJChronology10.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField13 = gJChronology10.year(); org.joda.time.DateTimeZone dateTimeZone14 = gJChronology10.getZone(); org.joda.time.DateTimeZone dateTimeZone15 = null; org.joda.time.ReadableInstant readableInstant16 = null; org.joda.time.chrono.GJChronology gJChronology18 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone15, readableInstant16, (int) (short) 1); boolean boolean20 = gJChronology18.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField21 = gJChronology18.year(); org.joda.time.Instant instant22 = gJChronology18.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology24 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone14, (org.joda.time.ReadableInstant) instant22, (int) (byte) 1); org.joda.time.DateTimeZone dateTimeZone25 = null; org.joda.time.ReadableInstant readableInstant26 = null; org.joda.time.chrono.GJChronology gJChronology28 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone25, readableInstant26, (int) (short) 1); boolean boolean30 = gJChronology28.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField31 = gJChronology28.year(); org.joda.time.DateTimeZone dateTimeZone32 = gJChronology28.getZone(); org.joda.time.Chronology chronology33 = gJChronology24.withZone(dateTimeZone32); org.joda.time.Chronology chronology34 = gJChronology3.withZone(dateTimeZone32); org.joda.time.DurationField durationField35 = gJChronology3.weeks(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertEquals("'" + str6 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str6, "GJChronology[Etc/UTC,mdfw=1]"); org.junit.Assert.assertNotNull(gJChronology10); org.junit.Assert.assertTrue("'" + boolean12 + "' != '" + false + "'", boolean12 == false); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(dateTimeZone14); org.junit.Assert.assertNotNull(gJChronology18); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(dateTimeField21); org.junit.Assert.assertNotNull(instant22); org.junit.Assert.assertNotNull(gJChronology24); org.junit.Assert.assertNotNull(gJChronology28); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(dateTimeField31); org.junit.Assert.assertNotNull(dateTimeZone32); org.junit.Assert.assertNotNull(chronology33); org.junit.Assert.assertNotNull(chronology34); org.junit.Assert.assertNotNull(durationField35); } @Test public void test1851() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1851"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.millisOfSecond(); org.joda.time.DurationField durationField9 = gJChronology3.seconds(); org.joda.time.Instant instant10 = gJChronology3.getGregorianCutover(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.weekyear(); org.joda.time.DurationField durationField12 = gJChronology3.halfdays(); org.joda.time.DateTimeField dateTimeField13 = gJChronology3.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField14 = gJChronology3.clockhourOfHalfday(); org.joda.time.ReadablePartial readablePartial15 = null; // The following exception was thrown during execution in test generation try { long long17 = gJChronology3.set(readablePartial15, 1930032L); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(durationField9); org.junit.Assert.assertNotNull(instant10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(durationField12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(dateTimeField14); } @Test @Ignore public void test1852() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1852"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); org.joda.time.DateTimeField dateTimeField12 = gJChronology11.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod13 = null; long long16 = gJChronology11.add(readablePeriod13, (long) (short) 1, (int) (byte) -1); long long21 = gJChronology11.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField22 = gJChronology11.millis(); boolean boolean23 = gJChronology3.equals((java.lang.Object) gJChronology11); org.joda.time.DateTimeField dateTimeField24 = gJChronology3.halfdayOfDay(); org.joda.time.Instant instant25 = gJChronology3.getGregorianCutover(); org.joda.time.DateTimeField dateTimeField26 = gJChronology3.dayOfMonth(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertTrue("'" + long16 + "' != '" + 1L + "'", long16 == 1L); org.junit.Assert.assertTrue("'" + long21 + "' != '" + (-61062076799990L) + "'", long21 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField22); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + true + "'", boolean23 == true); org.junit.Assert.assertNotNull(dateTimeField24); org.junit.Assert.assertNotNull(instant25); org.junit.Assert.assertNotNull(dateTimeField26); } @Test @Ignore public void test1853() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1853"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); java.lang.String str6 = gJChronology3.toString(); org.joda.time.DateTimeZone dateTimeZone7 = null; org.joda.time.ReadableInstant readableInstant8 = null; org.joda.time.chrono.GJChronology gJChronology10 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone7, readableInstant8, (int) (short) 1); boolean boolean12 = gJChronology10.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField13 = gJChronology10.year(); org.joda.time.DateTimeZone dateTimeZone14 = gJChronology10.getZone(); org.joda.time.DateTimeZone dateTimeZone15 = null; org.joda.time.ReadableInstant readableInstant16 = null; org.joda.time.chrono.GJChronology gJChronology18 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone15, readableInstant16, (int) (short) 1); boolean boolean20 = gJChronology18.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField21 = gJChronology18.year(); org.joda.time.Instant instant22 = gJChronology18.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology24 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone14, (org.joda.time.ReadableInstant) instant22, (int) (byte) 1); org.joda.time.DateTimeZone dateTimeZone25 = null; org.joda.time.ReadableInstant readableInstant26 = null; org.joda.time.chrono.GJChronology gJChronology28 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone25, readableInstant26, (int) (short) 1); boolean boolean30 = gJChronology28.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField31 = gJChronology28.year(); org.joda.time.DateTimeZone dateTimeZone32 = gJChronology28.getZone(); org.joda.time.Chronology chronology33 = gJChronology24.withZone(dateTimeZone32); org.joda.time.Chronology chronology34 = gJChronology3.withZone(dateTimeZone32); org.joda.time.chrono.GJChronology gJChronology37 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone32, (long) (short) -1, (int) (short) 1); long long41 = gJChronology37.add(32L, (-49798848L), 0); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertEquals("'" + str6 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str6, "GJChronology[Etc/UTC,mdfw=1]"); org.junit.Assert.assertNotNull(gJChronology10); org.junit.Assert.assertTrue("'" + boolean12 + "' != '" + false + "'", boolean12 == false); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(dateTimeZone14); org.junit.Assert.assertNotNull(gJChronology18); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(dateTimeField21); org.junit.Assert.assertNotNull(instant22); org.junit.Assert.assertNotNull(gJChronology24); org.junit.Assert.assertNotNull(gJChronology28); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(dateTimeField31); org.junit.Assert.assertNotNull(dateTimeZone32); org.junit.Assert.assertNotNull(chronology33); org.junit.Assert.assertNotNull(chronology34); org.junit.Assert.assertNotNull(gJChronology37); org.junit.Assert.assertTrue("'" + long41 + "' != '" + 32L + "'", long41 == 32L); } @Test public void test1854() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1854"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.minuteOfDay(); int int9 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.centuryOfEra(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertTrue("'" + int9 + "' != '" + 1 + "'", int9 == 1); org.junit.Assert.assertNotNull(dateTimeField10); } @Test public void test1855() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1855"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.Instant instant7 = gJChronology3.getGregorianCutover(); org.joda.time.DurationField durationField8 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.minuteOfHour(); org.joda.time.DurationField durationField10 = gJChronology3.days(); org.joda.time.DurationField durationField11 = gJChronology3.minutes(); org.joda.time.Instant instant12 = gJChronology3.getGregorianCutover(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(instant7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertNotNull(durationField11); org.junit.Assert.assertNotNull(instant12); } @Test @Ignore public void test1856() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1856"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DateTimeField dateTimeField14 = gJChronology3.minuteOfDay(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.dayOfWeek(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.dayOfMonth(); org.joda.time.DurationField durationField17 = gJChronology3.days(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(durationField17); } @Test public void test1857() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1857"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.year(); org.joda.time.DurationField durationField6 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.dayOfMonth(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.dayOfYear(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeZone dateTimeZone10 = gJChronology3.getZone(); org.joda.time.chrono.GJChronology gJChronology13 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone10, (long) (short) 100, (int) (byte) 1); org.joda.time.DateTimeField dateTimeField14 = gJChronology13.clockhourOfHalfday(); org.joda.time.DateTimeField dateTimeField15 = gJChronology13.secondOfMinute(); org.joda.time.DateTimeField dateTimeField16 = gJChronology13.weekyearOfCentury(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeZone10); org.junit.Assert.assertNotNull(gJChronology13); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); } @Test @Ignore public void test1858() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1858"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.yearOfEra(); java.lang.String str19 = gJChronology3.toString(); org.joda.time.DateTimeZone dateTimeZone20 = null; org.joda.time.ReadableInstant readableInstant21 = null; org.joda.time.chrono.GJChronology gJChronology23 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone20, readableInstant21, (int) (short) 1); boolean boolean25 = gJChronology23.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField26 = gJChronology23.dayOfYear(); org.joda.time.DurationField durationField27 = gJChronology23.days(); org.joda.time.DateTimeField dateTimeField28 = gJChronology23.weekyear(); boolean boolean29 = gJChronology3.equals((java.lang.Object) gJChronology23); org.joda.time.DurationField durationField30 = gJChronology23.days(); org.joda.time.DateTimeZone dateTimeZone31 = null; org.joda.time.ReadableInstant readableInstant32 = null; org.joda.time.chrono.GJChronology gJChronology34 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone31, readableInstant32, (int) (short) 1); org.joda.time.DateTimeField dateTimeField35 = gJChronology34.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField36 = gJChronology34.year(); org.joda.time.DurationField durationField37 = gJChronology34.centuries(); org.joda.time.DateTimeField dateTimeField38 = gJChronology34.dayOfMonth(); long long42 = gJChronology34.add((-1L), (long) (short) 0, (int) (byte) 10); org.joda.time.DateTimeField dateTimeField43 = gJChronology34.weekOfWeekyear(); boolean boolean44 = gJChronology23.equals((java.lang.Object) dateTimeField43); org.joda.time.DateTimeField dateTimeField45 = gJChronology23.secondOfMinute(); org.joda.time.ReadablePartial readablePartial46 = null; // The following exception was thrown during execution in test generation try { int[] intArray48 = gJChronology23.get(readablePartial46, (long) 1); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertEquals("'" + str19 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str19, "GJChronology[Etc/UTC,mdfw=1]"); org.junit.Assert.assertNotNull(gJChronology23); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); org.junit.Assert.assertNotNull(dateTimeField26); org.junit.Assert.assertNotNull(durationField27); org.junit.Assert.assertNotNull(dateTimeField28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + true + "'", boolean29 == true); org.junit.Assert.assertNotNull(durationField30); org.junit.Assert.assertNotNull(gJChronology34); org.junit.Assert.assertNotNull(dateTimeField35); org.junit.Assert.assertNotNull(dateTimeField36); org.junit.Assert.assertNotNull(durationField37); org.junit.Assert.assertNotNull(dateTimeField38); org.junit.Assert.assertTrue("'" + long42 + "' != '" + (-1L) + "'", long42 == (-1L)); org.junit.Assert.assertNotNull(dateTimeField43); org.junit.Assert.assertTrue("'" + boolean44 + "' != '" + false + "'", boolean44 == false); org.junit.Assert.assertNotNull(dateTimeField45); } @Test public void test1859() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1859"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.Chronology chronology4 = gJChronology3.withUTC(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.millisOfSecond(); org.joda.time.DurationField durationField6 = gJChronology3.seconds(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.centuryOfEra(); org.joda.time.DurationField durationField8 = gJChronology3.centuries(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(chronology4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(durationField8); } @Test @Ignore public void test1860() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1860"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DurationField durationField15 = gJChronology3.months(); org.joda.time.DurationField durationField16 = gJChronology3.seconds(); org.joda.time.DurationField durationField17 = gJChronology3.weeks(); org.joda.time.DurationField durationField18 = gJChronology3.months(); org.joda.time.DurationField durationField19 = gJChronology3.months(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(durationField17); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(durationField19); } @Test public void test1861() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1861"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.Instant instant7 = gJChronology3.getGregorianCutover(); org.joda.time.DurationField durationField8 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.year(); org.joda.time.DurationField durationField10 = gJChronology3.minutes(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.hourOfHalfday(); long long15 = gJChronology3.add(110L, 100L, (int) (short) 10); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.era(); org.joda.time.DateTimeZone dateTimeZone17 = null; org.joda.time.ReadableInstant readableInstant18 = null; org.joda.time.chrono.GJChronology gJChronology20 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone17, readableInstant18, (int) (short) 1); org.joda.time.DateTimeField dateTimeField21 = gJChronology20.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField22 = gJChronology20.year(); org.joda.time.DurationField durationField23 = gJChronology20.centuries(); org.joda.time.DateTimeField dateTimeField24 = gJChronology20.dayOfMonth(); org.joda.time.DateTimeField dateTimeField25 = gJChronology20.dayOfYear(); org.joda.time.DateTimeField dateTimeField26 = gJChronology20.clockhourOfDay(); org.joda.time.DateTimeZone dateTimeZone27 = gJChronology20.getZone(); org.joda.time.Chronology chronology28 = gJChronology3.withZone(dateTimeZone27); org.joda.time.DateTimeField dateTimeField29 = gJChronology3.monthOfYear(); org.joda.time.DateTimeField dateTimeField30 = gJChronology3.era(); org.joda.time.ReadablePartial readablePartial31 = null; // The following exception was thrown during execution in test generation try { int[] intArray33 = gJChronology3.get(readablePartial31, (long) (byte) 10); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(instant7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertTrue("'" + long15 + "' != '" + 1110L + "'", long15 == 1110L); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(gJChronology20); org.junit.Assert.assertNotNull(dateTimeField21); org.junit.Assert.assertNotNull(dateTimeField22); org.junit.Assert.assertNotNull(durationField23); org.junit.Assert.assertNotNull(dateTimeField24); org.junit.Assert.assertNotNull(dateTimeField25); org.junit.Assert.assertNotNull(dateTimeField26); org.junit.Assert.assertNotNull(dateTimeZone27); org.junit.Assert.assertNotNull(chronology28); org.junit.Assert.assertNotNull(dateTimeField29); org.junit.Assert.assertNotNull(dateTimeField30); } @Test public void test1862() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1862"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.dayOfYear(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.yearOfCentury(); org.joda.time.Instant instant6 = gJChronology3.getGregorianCutover(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.weekyearOfCentury(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.dayOfWeek(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(instant6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); } @Test @Ignore public void test1863() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1863"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.seconds(); org.joda.time.DateTimeZone dateTimeZone15 = null; org.joda.time.ReadableInstant readableInstant16 = null; org.joda.time.chrono.GJChronology gJChronology18 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone15, readableInstant16, (int) (short) 1); boolean boolean20 = gJChronology18.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField21 = gJChronology18.year(); org.joda.time.DateTimeZone dateTimeZone22 = gJChronology18.getZone(); org.joda.time.DateTimeField dateTimeField23 = gJChronology18.minuteOfDay(); org.joda.time.DateTimeZone dateTimeZone24 = gJChronology18.getZone(); org.joda.time.Chronology chronology25 = gJChronology3.withZone(dateTimeZone24); org.joda.time.DateTimeField dateTimeField26 = gJChronology3.year(); org.joda.time.DurationField durationField27 = gJChronology3.centuries(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(gJChronology18); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(dateTimeField21); org.junit.Assert.assertNotNull(dateTimeZone22); org.junit.Assert.assertNotNull(dateTimeField23); org.junit.Assert.assertNotNull(dateTimeZone24); org.junit.Assert.assertNotNull(chronology25); org.junit.Assert.assertNotNull(dateTimeField26); org.junit.Assert.assertNotNull(durationField27); } @Test public void test1864() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1864"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.year(); org.joda.time.DurationField durationField6 = gJChronology3.centuries(); org.joda.time.DurationField durationField7 = gJChronology3.weekyears(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.weekOfWeekyear(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.era(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.centuryOfEra(); org.joda.time.DateTimeZone dateTimeZone11 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.hourOfHalfday(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeZone11); org.junit.Assert.assertNotNull(dateTimeField12); } @Test public void test1865() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1865"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); org.joda.time.Instant instant9 = gJChronology3.getGregorianCutover(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.clockhourOfHalfday(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.secondOfDay(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.secondOfDay(); org.joda.time.DateTimeField dateTimeField13 = gJChronology3.dayOfMonth(); org.joda.time.DateTimeField dateTimeField14 = gJChronology3.yearOfCentury(); // The following exception was thrown during execution in test generation try { long long22 = gJChronology3.getDateTimeMillis((int) (short) -1, (int) (short) 0, 0, (int) (byte) 100, (int) '4', (int) ' ', (int) (byte) 100); org.junit.Assert.fail("Expected exception of type org.joda.time.IllegalFieldValueException; message: Value 100 for hourOfDay must be in the range [0,23]"); } catch (org.joda.time.IllegalFieldValueException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertNotNull(instant9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(dateTimeField14); } @Test public void test1866() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1866"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField1 = gJChronology0.weeks(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.clockhourOfHalfday(); org.joda.time.DateTimeField dateTimeField3 = gJChronology0.dayOfYear(); org.joda.time.DateTimeField dateTimeField4 = gJChronology0.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology0.weekyear(); org.joda.time.DateTimeField dateTimeField6 = gJChronology0.hourOfDay(); org.joda.time.DateTimeField dateTimeField7 = gJChronology0.hourOfHalfday(); org.joda.time.DurationField durationField8 = gJChronology0.days(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(durationField1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertNotNull(dateTimeField3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(durationField8); } @Test @Ignore public void test1867() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1867"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.hourOfDay(); int int16 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.secondOfMinute(); org.joda.time.DurationField durationField18 = gJChronology3.halfdays(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.hourOfDay(); org.joda.time.DateTimeField dateTimeField20 = gJChronology3.weekOfWeekyear(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertTrue("'" + int16 + "' != '" + 1 + "'", int16 == 1); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(dateTimeField20); } @Test public void test1868() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1868"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField1 = gJChronology0.weeks(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.clockhourOfHalfday(); org.joda.time.DateTimeField dateTimeField3 = gJChronology0.hourOfDay(); org.joda.time.DateTimeZone dateTimeZone4 = gJChronology0.getZone(); org.joda.time.chrono.GJChronology gJChronology5 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone4); org.joda.time.DateTimeZone dateTimeZone6 = null; org.joda.time.ReadableInstant readableInstant7 = null; org.joda.time.chrono.GJChronology gJChronology9 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone6, readableInstant7, (int) (short) 1); boolean boolean11 = gJChronology9.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField12 = gJChronology9.year(); org.joda.time.Instant instant13 = gJChronology9.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology14 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone4, (org.joda.time.ReadableInstant) instant13); org.joda.time.DateTimeField dateTimeField15 = gJChronology14.dayOfMonth(); org.joda.time.DateTimeField dateTimeField16 = gJChronology14.millisOfSecond(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(durationField1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertNotNull(dateTimeField3); org.junit.Assert.assertNotNull(dateTimeZone4); org.junit.Assert.assertNotNull(gJChronology5); org.junit.Assert.assertNotNull(gJChronology9); org.junit.Assert.assertTrue("'" + boolean11 + "' != '" + false + "'", boolean11 == false); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(instant13); org.junit.Assert.assertNotNull(gJChronology14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); } @Test @Ignore public void test1869() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1869"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.millisOfDay(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.clockhourOfHalfday(); int int19 = gJChronology3.getMinimumDaysInFirstWeek(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertTrue("'" + int19 + "' != '" + 1 + "'", int19 == 1); } @Test @Ignore public void test1870() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1870"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); java.lang.String str6 = gJChronology3.toString(); org.joda.time.DateTimeZone dateTimeZone7 = null; org.joda.time.ReadableInstant readableInstant8 = null; org.joda.time.chrono.GJChronology gJChronology10 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone7, readableInstant8, (int) (short) 1); boolean boolean12 = gJChronology10.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField13 = gJChronology10.year(); org.joda.time.DateTimeZone dateTimeZone14 = gJChronology10.getZone(); org.joda.time.DateTimeZone dateTimeZone15 = null; org.joda.time.ReadableInstant readableInstant16 = null; org.joda.time.chrono.GJChronology gJChronology18 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone15, readableInstant16, (int) (short) 1); boolean boolean20 = gJChronology18.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField21 = gJChronology18.year(); org.joda.time.Instant instant22 = gJChronology18.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology24 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone14, (org.joda.time.ReadableInstant) instant22, (int) (byte) 1); org.joda.time.DateTimeZone dateTimeZone25 = null; org.joda.time.ReadableInstant readableInstant26 = null; org.joda.time.chrono.GJChronology gJChronology28 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone25, readableInstant26, (int) (short) 1); boolean boolean30 = gJChronology28.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField31 = gJChronology28.year(); org.joda.time.DateTimeZone dateTimeZone32 = gJChronology28.getZone(); org.joda.time.Chronology chronology33 = gJChronology24.withZone(dateTimeZone32); org.joda.time.Chronology chronology34 = gJChronology3.withZone(dateTimeZone32); org.joda.time.chrono.GJChronology gJChronology37 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone32, (long) (short) -1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField38 = gJChronology37.millisOfSecond(); org.joda.time.DurationField durationField39 = gJChronology37.minutes(); org.joda.time.DurationField durationField40 = gJChronology37.seconds(); // The following exception was thrown during execution in test generation try { long long45 = gJChronology37.getDateTimeMillis(4, (int) ' ', (int) '4', (int) (short) 1); org.junit.Assert.fail("Expected exception of type org.joda.time.IllegalFieldValueException; message: Value 32 for monthOfYear must be in the range [1,12]"); } catch (org.joda.time.IllegalFieldValueException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertEquals("'" + str6 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str6, "GJChronology[Etc/UTC,mdfw=1]"); org.junit.Assert.assertNotNull(gJChronology10); org.junit.Assert.assertTrue("'" + boolean12 + "' != '" + false + "'", boolean12 == false); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(dateTimeZone14); org.junit.Assert.assertNotNull(gJChronology18); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(dateTimeField21); org.junit.Assert.assertNotNull(instant22); org.junit.Assert.assertNotNull(gJChronology24); org.junit.Assert.assertNotNull(gJChronology28); org.junit.Assert.assertTrue("'" + boolean30 + "' != '" + false + "'", boolean30 == false); org.junit.Assert.assertNotNull(dateTimeField31); org.junit.Assert.assertNotNull(dateTimeZone32); org.junit.Assert.assertNotNull(chronology33); org.junit.Assert.assertNotNull(chronology34); org.junit.Assert.assertNotNull(gJChronology37); org.junit.Assert.assertNotNull(dateTimeField38); org.junit.Assert.assertNotNull(durationField39); org.junit.Assert.assertNotNull(durationField40); } @Test public void test1871() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1871"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.Instant instant7 = gJChronology3.getGregorianCutover(); org.joda.time.DurationField durationField8 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.year(); org.joda.time.DurationField durationField10 = gJChronology3.halfdays(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.hourOfDay(); org.joda.time.DateTimeField dateTimeField13 = gJChronology3.weekyear(); org.joda.time.DurationField durationField14 = gJChronology3.halfdays(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(instant7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(durationField14); } @Test public void test1872() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1872"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); boolean boolean13 = gJChronology11.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField14 = gJChronology11.year(); org.joda.time.Instant instant15 = gJChronology11.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology16 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone7, (org.joda.time.ReadableInstant) instant15); org.joda.time.DateTimeZone dateTimeZone17 = null; org.joda.time.ReadableInstant readableInstant18 = null; org.joda.time.chrono.GJChronology gJChronology20 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone17, readableInstant18, (int) (short) 1); boolean boolean22 = gJChronology20.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField23 = gJChronology20.year(); org.joda.time.DateTimeZone dateTimeZone24 = gJChronology20.getZone(); org.joda.time.DateTimeField dateTimeField25 = gJChronology20.millisOfSecond(); org.joda.time.DateTimeField dateTimeField26 = gJChronology20.clockhourOfHalfday(); org.joda.time.Instant instant27 = gJChronology20.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology28 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone7, (org.joda.time.ReadableInstant) instant27); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertTrue("'" + boolean13 + "' != '" + false + "'", boolean13 == false); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(instant15); org.junit.Assert.assertNotNull(gJChronology16); org.junit.Assert.assertNotNull(gJChronology20); org.junit.Assert.assertTrue("'" + boolean22 + "' != '" + false + "'", boolean22 == false); org.junit.Assert.assertNotNull(dateTimeField23); org.junit.Assert.assertNotNull(dateTimeZone24); org.junit.Assert.assertNotNull(dateTimeField25); org.junit.Assert.assertNotNull(dateTimeField26); org.junit.Assert.assertNotNull(instant27); org.junit.Assert.assertNotNull(gJChronology28); } @Test public void test1873() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1873"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.millisOfSecond(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.clockhourOfHalfday(); org.joda.time.DurationField durationField10 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField13 = gJChronology3.dayOfYear(); org.joda.time.DateTimeField dateTimeField14 = gJChronology3.weekyear(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(dateTimeField14); } @Test public void test1874() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1874"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.dayOfYear(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.monthOfYear(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.minuteOfDay(); org.joda.time.DateTimeZone dateTimeZone12 = null; org.joda.time.ReadableInstant readableInstant13 = null; org.joda.time.chrono.GJChronology gJChronology15 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone12, readableInstant13, (int) (short) 1); boolean boolean17 = gJChronology15.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField18 = gJChronology15.centuryOfEra(); org.joda.time.DurationField durationField19 = gJChronology15.centuries(); org.joda.time.DurationField durationField20 = gJChronology15.days(); org.joda.time.DurationField durationField21 = gJChronology15.minutes(); org.joda.time.DateTimeField dateTimeField22 = gJChronology15.year(); boolean boolean23 = gJChronology3.equals((java.lang.Object) gJChronology15); org.joda.time.DateTimeField dateTimeField24 = gJChronology3.secondOfMinute(); org.joda.time.DateTimeField dateTimeField25 = gJChronology3.minuteOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(gJChronology15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(durationField19); org.junit.Assert.assertNotNull(durationField20); org.junit.Assert.assertNotNull(durationField21); org.junit.Assert.assertNotNull(dateTimeField22); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + true + "'", boolean23 == true); org.junit.Assert.assertNotNull(dateTimeField24); org.junit.Assert.assertNotNull(dateTimeField25); } @Test public void test1875() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1875"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.centuryOfEra(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.year(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); } @Test @Ignore public void test1876() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1876"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.yearOfEra(); java.lang.String str19 = gJChronology3.toString(); org.joda.time.DateTimeZone dateTimeZone20 = null; org.joda.time.ReadableInstant readableInstant21 = null; org.joda.time.chrono.GJChronology gJChronology23 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone20, readableInstant21, (int) (short) 1); boolean boolean25 = gJChronology23.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField26 = gJChronology23.dayOfYear(); org.joda.time.DurationField durationField27 = gJChronology23.days(); org.joda.time.DateTimeField dateTimeField28 = gJChronology23.weekyear(); boolean boolean29 = gJChronology3.equals((java.lang.Object) gJChronology23); org.joda.time.DurationField durationField30 = gJChronology23.days(); org.joda.time.DateTimeField dateTimeField31 = gJChronology23.dayOfWeek(); org.joda.time.DateTimeField dateTimeField32 = gJChronology23.dayOfMonth(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertEquals("'" + str19 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str19, "GJChronology[Etc/UTC,mdfw=1]"); org.junit.Assert.assertNotNull(gJChronology23); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); org.junit.Assert.assertNotNull(dateTimeField26); org.junit.Assert.assertNotNull(durationField27); org.junit.Assert.assertNotNull(dateTimeField28); org.junit.Assert.assertTrue("'" + boolean29 + "' != '" + true + "'", boolean29 == true); org.junit.Assert.assertNotNull(durationField30); org.junit.Assert.assertNotNull(dateTimeField31); org.junit.Assert.assertNotNull(dateTimeField32); } @Test @Ignore public void test1877() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1877"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.minuteOfHour(); org.joda.time.DurationField durationField2 = gJChronology0.months(); org.joda.time.DateTimeZone dateTimeZone3 = null; org.joda.time.ReadableInstant readableInstant4 = null; org.joda.time.chrono.GJChronology gJChronology6 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone3, readableInstant4, (int) (short) 1); org.joda.time.DateTimeField dateTimeField7 = gJChronology6.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod8 = null; long long11 = gJChronology6.add(readablePeriod8, (long) (short) 1, (int) (byte) -1); long long16 = gJChronology6.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField17 = gJChronology6.seconds(); org.joda.time.DateTimeZone dateTimeZone18 = null; org.joda.time.ReadableInstant readableInstant19 = null; org.joda.time.chrono.GJChronology gJChronology21 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone18, readableInstant19, (int) (short) 1); boolean boolean23 = gJChronology21.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField24 = gJChronology21.year(); org.joda.time.DateTimeZone dateTimeZone25 = gJChronology21.getZone(); org.joda.time.DateTimeField dateTimeField26 = gJChronology21.minuteOfDay(); org.joda.time.DateTimeZone dateTimeZone27 = gJChronology21.getZone(); org.joda.time.Chronology chronology28 = gJChronology6.withZone(dateTimeZone27); org.joda.time.Chronology chronology29 = gJChronology0.withZone(dateTimeZone27); org.joda.time.chrono.GJChronology gJChronology30 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone27); org.joda.time.DateTimeField dateTimeField31 = gJChronology30.dayOfMonth(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(durationField2); org.junit.Assert.assertNotNull(gJChronology6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertTrue("'" + long11 + "' != '" + 1L + "'", long11 == 1L); org.junit.Assert.assertTrue("'" + long16 + "' != '" + (-61062076799990L) + "'", long16 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField17); org.junit.Assert.assertNotNull(gJChronology21); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + false + "'", boolean23 == false); org.junit.Assert.assertNotNull(dateTimeField24); org.junit.Assert.assertNotNull(dateTimeZone25); org.junit.Assert.assertNotNull(dateTimeField26); org.junit.Assert.assertNotNull(dateTimeZone27); org.junit.Assert.assertNotNull(chronology28); org.junit.Assert.assertNotNull(chronology29); org.junit.Assert.assertNotNull(gJChronology30); org.junit.Assert.assertNotNull(dateTimeField31); } @Test @Ignore public void test1878() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1878"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); org.joda.time.DateTimeField dateTimeField12 = gJChronology11.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod13 = null; long long16 = gJChronology11.add(readablePeriod13, (long) (short) 1, (int) (byte) -1); long long21 = gJChronology11.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField22 = gJChronology11.millis(); boolean boolean23 = gJChronology3.equals((java.lang.Object) gJChronology11); org.joda.time.DurationField durationField24 = gJChronology11.seconds(); org.joda.time.chrono.GJChronology gJChronology25 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField26 = gJChronology25.weeks(); org.joda.time.DateTimeField dateTimeField27 = gJChronology25.clockhourOfHalfday(); org.joda.time.DateTimeField dateTimeField28 = gJChronology25.hourOfDay(); org.joda.time.DateTimeZone dateTimeZone29 = gJChronology25.getZone(); org.joda.time.chrono.GJChronology gJChronology30 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone29); org.joda.time.chrono.GJChronology gJChronology31 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone29); org.joda.time.Chronology chronology32 = gJChronology11.withZone(dateTimeZone29); org.joda.time.DateTimeField dateTimeField33 = gJChronology11.halfdayOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertTrue("'" + long16 + "' != '" + 1L + "'", long16 == 1L); org.junit.Assert.assertTrue("'" + long21 + "' != '" + (-61062076799990L) + "'", long21 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField22); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + true + "'", boolean23 == true); org.junit.Assert.assertNotNull(durationField24); org.junit.Assert.assertNotNull(gJChronology25); org.junit.Assert.assertNotNull(durationField26); org.junit.Assert.assertNotNull(dateTimeField27); org.junit.Assert.assertNotNull(dateTimeField28); org.junit.Assert.assertNotNull(dateTimeZone29); org.junit.Assert.assertNotNull(gJChronology30); org.junit.Assert.assertNotNull(gJChronology31); org.junit.Assert.assertNotNull(chronology32); org.junit.Assert.assertNotNull(dateTimeField33); } @Test public void test1879() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1879"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.weekyear(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.halfdayOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(dateTimeField8); } @Test @Ignore public void test1880() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1880"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.yearOfEra(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.centuryOfEra(); org.joda.time.DurationField durationField19 = gJChronology3.days(); org.joda.time.DateTimeField dateTimeField20 = gJChronology3.weekyear(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(durationField19); org.junit.Assert.assertNotNull(dateTimeField20); } @Test @Ignore public void test1881() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1881"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField5 = gJChronology3.minutes(); java.lang.String str6 = gJChronology3.toString(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); org.joda.time.DateTimeField dateTimeField12 = gJChronology11.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod13 = null; long long16 = gJChronology11.add(readablePeriod13, (long) (short) 1, (int) (byte) -1); long long21 = gJChronology11.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField22 = gJChronology11.millis(); org.joda.time.DateTimeField dateTimeField23 = gJChronology11.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField24 = gJChronology11.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField25 = gJChronology11.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField26 = gJChronology11.yearOfEra(); org.joda.time.DateTimeZone dateTimeZone27 = null; org.joda.time.ReadableInstant readableInstant28 = null; org.joda.time.chrono.GJChronology gJChronology30 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone27, readableInstant28, (int) (short) 1); boolean boolean32 = gJChronology30.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField33 = gJChronology30.year(); org.joda.time.DateTimeZone dateTimeZone34 = gJChronology30.getZone(); org.joda.time.DateTimeZone dateTimeZone35 = null; org.joda.time.ReadableInstant readableInstant36 = null; org.joda.time.chrono.GJChronology gJChronology38 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone35, readableInstant36, (int) (short) 1); boolean boolean40 = gJChronology38.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField41 = gJChronology38.year(); org.joda.time.Instant instant42 = gJChronology38.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology44 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone34, (org.joda.time.ReadableInstant) instant42, (int) (byte) 1); org.joda.time.DateTimeZone dateTimeZone45 = null; org.joda.time.ReadableInstant readableInstant46 = null; org.joda.time.chrono.GJChronology gJChronology48 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone45, readableInstant46, (int) (short) 1); boolean boolean50 = gJChronology48.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField51 = gJChronology48.year(); org.joda.time.DateTimeZone dateTimeZone52 = gJChronology48.getZone(); org.joda.time.Chronology chronology53 = gJChronology44.withZone(dateTimeZone52); org.joda.time.ReadableInstant readableInstant54 = null; org.joda.time.chrono.GJChronology gJChronology55 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone52, readableInstant54); org.joda.time.DateTimeZone dateTimeZone56 = null; org.joda.time.ReadableInstant readableInstant57 = null; org.joda.time.chrono.GJChronology gJChronology59 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone56, readableInstant57, (int) (short) 1); org.joda.time.DateTimeField dateTimeField60 = gJChronology59.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod61 = null; long long64 = gJChronology59.add(readablePeriod61, (long) (short) 1, (int) (byte) -1); long long69 = gJChronology59.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField70 = gJChronology59.millis(); org.joda.time.DurationField durationField71 = gJChronology59.centuries(); org.joda.time.Instant instant72 = gJChronology59.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology73 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone52, (org.joda.time.ReadableInstant) instant72); org.joda.time.Chronology chronology74 = gJChronology11.withZone(dateTimeZone52); org.joda.time.DateTimeZone dateTimeZone75 = null; org.joda.time.ReadableInstant readableInstant76 = null; org.joda.time.chrono.GJChronology gJChronology78 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone75, readableInstant76, (int) (short) 1); boolean boolean80 = gJChronology78.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField81 = gJChronology78.centuryOfEra(); org.joda.time.DurationField durationField82 = gJChronology78.centuries(); org.joda.time.DateTimeZone dateTimeZone83 = gJChronology78.getZone(); org.joda.time.DurationField durationField84 = gJChronology78.millis(); org.joda.time.DateTimeField dateTimeField85 = gJChronology78.minuteOfDay(); org.joda.time.Instant instant86 = gJChronology78.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology87 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone52, (org.joda.time.ReadableInstant) instant86); // The following exception was thrown during execution in test generation try { org.joda.time.chrono.GJChronology gJChronology89 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone7, (org.joda.time.ReadableInstant) instant86, (int) (short) -1); org.junit.Assert.fail("Expected exception of type java.lang.IllegalArgumentException; message: Invalid min days in first week: -1"); } catch (java.lang.IllegalArgumentException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(durationField5); org.junit.Assert.assertEquals("'" + str6 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str6, "GJChronology[Etc/UTC,mdfw=1]"); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertTrue("'" + long16 + "' != '" + 1L + "'", long16 == 1L); org.junit.Assert.assertTrue("'" + long21 + "' != '" + (-61062076799990L) + "'", long21 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField22); org.junit.Assert.assertNotNull(dateTimeField23); org.junit.Assert.assertNotNull(dateTimeField24); org.junit.Assert.assertNotNull(dateTimeField25); org.junit.Assert.assertNotNull(dateTimeField26); org.junit.Assert.assertNotNull(gJChronology30); org.junit.Assert.assertTrue("'" + boolean32 + "' != '" + false + "'", boolean32 == false); org.junit.Assert.assertNotNull(dateTimeField33); org.junit.Assert.assertNotNull(dateTimeZone34); org.junit.Assert.assertNotNull(gJChronology38); org.junit.Assert.assertTrue("'" + boolean40 + "' != '" + false + "'", boolean40 == false); org.junit.Assert.assertNotNull(dateTimeField41); org.junit.Assert.assertNotNull(instant42); org.junit.Assert.assertNotNull(gJChronology44); org.junit.Assert.assertNotNull(gJChronology48); org.junit.Assert.assertTrue("'" + boolean50 + "' != '" + false + "'", boolean50 == false); org.junit.Assert.assertNotNull(dateTimeField51); org.junit.Assert.assertNotNull(dateTimeZone52); org.junit.Assert.assertNotNull(chronology53); org.junit.Assert.assertNotNull(gJChronology55); org.junit.Assert.assertNotNull(gJChronology59); org.junit.Assert.assertNotNull(dateTimeField60); org.junit.Assert.assertTrue("'" + long64 + "' != '" + 1L + "'", long64 == 1L); org.junit.Assert.assertTrue("'" + long69 + "' != '" + (-61062076799990L) + "'", long69 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField70); org.junit.Assert.assertNotNull(durationField71); org.junit.Assert.assertNotNull(instant72); org.junit.Assert.assertNotNull(gJChronology73); org.junit.Assert.assertNotNull(chronology74); org.junit.Assert.assertNotNull(gJChronology78); org.junit.Assert.assertTrue("'" + boolean80 + "' != '" + false + "'", boolean80 == false); org.junit.Assert.assertNotNull(dateTimeField81); org.junit.Assert.assertNotNull(durationField82); org.junit.Assert.assertNotNull(dateTimeZone83); org.junit.Assert.assertNotNull(durationField84); org.junit.Assert.assertNotNull(dateTimeField85); org.junit.Assert.assertNotNull(instant86); org.junit.Assert.assertNotNull(gJChronology87); } @Test @Ignore public void test1882() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1882"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.weekyears(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.weekyear(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.millisOfSecond(); org.joda.time.Instant instant17 = gJChronology3.getGregorianCutover(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.monthOfYear(); org.joda.time.DurationField durationField19 = gJChronology3.hours(); org.joda.time.DateTimeField dateTimeField20 = gJChronology3.millisOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(instant17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(durationField19); org.junit.Assert.assertNotNull(dateTimeField20); } @Test @Ignore public void test1883() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1883"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.minuteOfHour(); long long7 = gJChronology0.getDateTimeMillis(9L, 10, 0, (int) (byte) 0, (int) (short) 10); org.joda.time.Instant instant8 = gJChronology0.getGregorianCutover(); org.joda.time.DateTimeField dateTimeField9 = gJChronology0.dayOfYear(); org.joda.time.DateTimeField dateTimeField10 = gJChronology0.weekOfWeekyear(); org.joda.time.DateTimeField dateTimeField11 = gJChronology0.millisOfDay(); org.joda.time.ReadablePeriod readablePeriod12 = null; // The following exception was thrown during execution in test generation try { int[] intArray15 = gJChronology0.get(readablePeriod12, (long) 0, (long) 1); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertTrue("'" + long7 + "' != '" + 36000010L + "'", long7 == 36000010L); org.junit.Assert.assertNotNull(instant8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeField11); } @Test @Ignore public void test1884() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1884"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.dayOfWeek(); org.joda.time.DurationField durationField16 = gJChronology3.years(); org.joda.time.DurationField durationField17 = gJChronology3.halfdays(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.halfdayOfDay(); int int19 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DateTimeField dateTimeField20 = gJChronology3.hourOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(durationField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertTrue("'" + int19 + "' != '" + 1 + "'", int19 == 1); org.junit.Assert.assertNotNull(dateTimeField20); } @Test @Ignore public void test1885() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1885"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DurationField durationField15 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.minuteOfDay(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.centuryOfEra(); org.joda.time.DateTimeZone dateTimeZone18 = null; org.joda.time.ReadableInstant readableInstant19 = null; org.joda.time.chrono.GJChronology gJChronology21 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone18, readableInstant19, (int) (short) 1); boolean boolean23 = gJChronology21.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField24 = gJChronology21.year(); org.joda.time.DateTimeZone dateTimeZone25 = gJChronology21.getZone(); org.joda.time.DateTimeField dateTimeField26 = gJChronology21.minuteOfDay(); org.joda.time.DateTimeZone dateTimeZone27 = gJChronology21.getZone(); org.joda.time.Chronology chronology28 = gJChronology3.withZone(dateTimeZone27); org.joda.time.DurationField durationField29 = gJChronology3.weekyears(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(gJChronology21); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + false + "'", boolean23 == false); org.junit.Assert.assertNotNull(dateTimeField24); org.junit.Assert.assertNotNull(dateTimeZone25); org.junit.Assert.assertNotNull(dateTimeField26); org.junit.Assert.assertNotNull(dateTimeZone27); org.junit.Assert.assertNotNull(chronology28); org.junit.Assert.assertNotNull(durationField29); } @Test @Ignore public void test1886() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1886"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.dayOfMonth(); org.joda.time.DurationField durationField10 = gJChronology3.halfdays(); org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField12 = gJChronology11.minuteOfHour(); org.joda.time.DurationField durationField13 = gJChronology11.months(); org.joda.time.DateTimeZone dateTimeZone14 = null; org.joda.time.ReadableInstant readableInstant15 = null; org.joda.time.chrono.GJChronology gJChronology17 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone14, readableInstant15, (int) (short) 1); org.joda.time.DateTimeField dateTimeField18 = gJChronology17.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod19 = null; long long22 = gJChronology17.add(readablePeriod19, (long) (short) 1, (int) (byte) -1); long long27 = gJChronology17.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField28 = gJChronology17.seconds(); org.joda.time.DateTimeZone dateTimeZone29 = null; org.joda.time.ReadableInstant readableInstant30 = null; org.joda.time.chrono.GJChronology gJChronology32 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone29, readableInstant30, (int) (short) 1); boolean boolean34 = gJChronology32.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField35 = gJChronology32.year(); org.joda.time.DateTimeZone dateTimeZone36 = gJChronology32.getZone(); org.joda.time.DateTimeField dateTimeField37 = gJChronology32.minuteOfDay(); org.joda.time.DateTimeZone dateTimeZone38 = gJChronology32.getZone(); org.joda.time.Chronology chronology39 = gJChronology17.withZone(dateTimeZone38); org.joda.time.Chronology chronology40 = gJChronology11.withZone(dateTimeZone38); boolean boolean41 = gJChronology3.equals((java.lang.Object) chronology40); org.joda.time.chrono.GJChronology gJChronology42 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField43 = gJChronology42.minuteOfHour(); org.joda.time.DurationField durationField44 = gJChronology42.months(); org.joda.time.DateTimeZone dateTimeZone45 = null; org.joda.time.ReadableInstant readableInstant46 = null; org.joda.time.chrono.GJChronology gJChronology48 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone45, readableInstant46, (int) (short) 1); org.joda.time.DateTimeField dateTimeField49 = gJChronology48.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod50 = null; long long53 = gJChronology48.add(readablePeriod50, (long) (short) 1, (int) (byte) -1); long long58 = gJChronology48.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField59 = gJChronology48.seconds(); org.joda.time.DateTimeZone dateTimeZone60 = null; org.joda.time.ReadableInstant readableInstant61 = null; org.joda.time.chrono.GJChronology gJChronology63 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone60, readableInstant61, (int) (short) 1); boolean boolean65 = gJChronology63.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField66 = gJChronology63.year(); org.joda.time.DateTimeZone dateTimeZone67 = gJChronology63.getZone(); org.joda.time.DateTimeField dateTimeField68 = gJChronology63.minuteOfDay(); org.joda.time.DateTimeZone dateTimeZone69 = gJChronology63.getZone(); org.joda.time.Chronology chronology70 = gJChronology48.withZone(dateTimeZone69); org.joda.time.Chronology chronology71 = gJChronology42.withZone(dateTimeZone69); org.joda.time.chrono.GJChronology gJChronology72 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField73 = gJChronology72.weeks(); org.joda.time.DateTimeField dateTimeField74 = gJChronology72.clockhourOfHalfday(); org.joda.time.DateTimeField dateTimeField75 = gJChronology72.hourOfDay(); org.joda.time.DateTimeZone dateTimeZone76 = gJChronology72.getZone(); org.joda.time.chrono.GJChronology gJChronology77 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone76); org.joda.time.DateTimeZone dateTimeZone78 = null; org.joda.time.ReadableInstant readableInstant79 = null; org.joda.time.chrono.GJChronology gJChronology81 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone78, readableInstant79, (int) (short) 1); boolean boolean83 = gJChronology81.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField84 = gJChronology81.year(); org.joda.time.Instant instant85 = gJChronology81.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology86 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone76, (org.joda.time.ReadableInstant) instant85); org.joda.time.chrono.GJChronology gJChronology87 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone69, (org.joda.time.ReadableInstant) instant85); org.joda.time.Chronology chronology88 = gJChronology3.withZone(dateTimeZone69); org.joda.time.DateTimeField dateTimeField89 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField90 = gJChronology3.yearOfCentury(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(durationField13); org.junit.Assert.assertNotNull(gJChronology17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertTrue("'" + long22 + "' != '" + 1L + "'", long22 == 1L); org.junit.Assert.assertTrue("'" + long27 + "' != '" + (-61062076799990L) + "'", long27 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField28); org.junit.Assert.assertNotNull(gJChronology32); org.junit.Assert.assertTrue("'" + boolean34 + "' != '" + false + "'", boolean34 == false); org.junit.Assert.assertNotNull(dateTimeField35); org.junit.Assert.assertNotNull(dateTimeZone36); org.junit.Assert.assertNotNull(dateTimeField37); org.junit.Assert.assertNotNull(dateTimeZone38); org.junit.Assert.assertNotNull(chronology39); org.junit.Assert.assertNotNull(chronology40); org.junit.Assert.assertTrue("'" + boolean41 + "' != '" + false + "'", boolean41 == false); org.junit.Assert.assertNotNull(gJChronology42); org.junit.Assert.assertNotNull(dateTimeField43); org.junit.Assert.assertNotNull(durationField44); org.junit.Assert.assertNotNull(gJChronology48); org.junit.Assert.assertNotNull(dateTimeField49); org.junit.Assert.assertTrue("'" + long53 + "' != '" + 1L + "'", long53 == 1L); org.junit.Assert.assertTrue("'" + long58 + "' != '" + (-61062076799990L) + "'", long58 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField59); org.junit.Assert.assertNotNull(gJChronology63); org.junit.Assert.assertTrue("'" + boolean65 + "' != '" + false + "'", boolean65 == false); org.junit.Assert.assertNotNull(dateTimeField66); org.junit.Assert.assertNotNull(dateTimeZone67); org.junit.Assert.assertNotNull(dateTimeField68); org.junit.Assert.assertNotNull(dateTimeZone69); org.junit.Assert.assertNotNull(chronology70); org.junit.Assert.assertNotNull(chronology71); org.junit.Assert.assertNotNull(gJChronology72); org.junit.Assert.assertNotNull(durationField73); org.junit.Assert.assertNotNull(dateTimeField74); org.junit.Assert.assertNotNull(dateTimeField75); org.junit.Assert.assertNotNull(dateTimeZone76); org.junit.Assert.assertNotNull(gJChronology77); org.junit.Assert.assertNotNull(gJChronology81); org.junit.Assert.assertTrue("'" + boolean83 + "' != '" + false + "'", boolean83 == false); org.junit.Assert.assertNotNull(dateTimeField84); org.junit.Assert.assertNotNull(instant85); org.junit.Assert.assertNotNull(gJChronology86); org.junit.Assert.assertNotNull(gJChronology87); org.junit.Assert.assertNotNull(chronology88); org.junit.Assert.assertNotNull(dateTimeField89); org.junit.Assert.assertNotNull(dateTimeField90); } @Test @Ignore public void test1887() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1887"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.hourOfDay(); org.joda.time.DurationField durationField16 = gJChronology3.millis(); org.joda.time.Chronology chronology17 = gJChronology3.withUTC(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(chronology17); } @Test @Ignore public void test1888() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1888"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.centuryOfEra(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.halfdayOfDay(); org.joda.time.DurationField durationField8 = gJChronology3.days(); java.lang.String str9 = gJChronology3.toString(); int int10 = gJChronology3.getMinimumDaysInFirstWeek(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertEquals("'" + str9 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str9, "GJChronology[Etc/UTC,mdfw=1]"); org.junit.Assert.assertTrue("'" + int10 + "' != '" + 1 + "'", int10 == 1); } @Test public void test1889() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1889"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.Chronology chronology5 = gJChronology3.withUTC(); org.joda.time.DurationField durationField6 = gJChronology3.years(); int int7 = gJChronology3.getMinimumDaysInFirstWeek(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(chronology5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertTrue("'" + int7 + "' != '" + 1 + "'", int7 == 1); } @Test @Ignore public void test1890() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1890"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.dayOfWeek(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.yearOfCentury(); java.lang.String str17 = gJChronology3.toString(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.centuryOfEra(); org.joda.time.DurationField durationField19 = gJChronology3.weekyears(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertEquals("'" + str17 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str17, "GJChronology[Etc/UTC,mdfw=1]"); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(durationField19); } @Test public void test1891() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1891"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.millisOfSecond(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.dayOfWeek(); org.joda.time.DateTimeField dateTimeField3 = gJChronology0.dayOfYear(); org.joda.time.DurationField durationField4 = gJChronology0.millis(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertNotNull(dateTimeField3); org.junit.Assert.assertNotNull(durationField4); } @Test public void test1892() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1892"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DurationField durationField6 = gJChronology3.halfdays(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.millisOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(dateTimeField7); } @Test public void test1893() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1893"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstanceUTC(); org.joda.time.Instant instant1 = gJChronology0.getGregorianCutover(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.dayOfYear(); org.joda.time.DateTimeField dateTimeField3 = gJChronology0.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField4 = gJChronology0.dayOfMonth(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(instant1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertNotNull(dateTimeField3); org.junit.Assert.assertNotNull(dateTimeField4); } @Test public void test1894() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1894"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.secondOfMinute(); org.joda.time.DurationField durationField7 = gJChronology3.seconds(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.dayOfMonth(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.yearOfEra(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.weekOfWeekyear(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeField11); } @Test @Ignore public void test1895() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1895"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DurationField durationField15 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.weekyear(); org.joda.time.DurationField durationField17 = gJChronology3.months(); org.joda.time.Chronology chronology18 = gJChronology3.withUTC(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(durationField17); org.junit.Assert.assertNotNull(chronology18); } @Test public void test1896() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1896"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField1 = gJChronology0.centuries(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.minuteOfHour(); org.joda.time.DurationField durationField3 = gJChronology0.halfdays(); org.joda.time.DateTimeField dateTimeField4 = gJChronology0.dayOfYear(); org.joda.time.DateTimeField dateTimeField5 = gJChronology0.year(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(durationField1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertNotNull(durationField3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); } @Test public void test1897() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1897"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeZone dateTimeZone9 = gJChronology3.getZone(); org.joda.time.ReadableInstant readableInstant10 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone9, readableInstant10); org.joda.time.DateTimeZone dateTimeZone12 = null; org.joda.time.ReadableInstant readableInstant13 = null; org.joda.time.chrono.GJChronology gJChronology15 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone12, readableInstant13, (int) (short) 1); boolean boolean17 = gJChronology15.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField18 = gJChronology15.year(); org.joda.time.DateTimeZone dateTimeZone19 = gJChronology15.getZone(); org.joda.time.DateTimeZone dateTimeZone20 = null; org.joda.time.ReadableInstant readableInstant21 = null; org.joda.time.chrono.GJChronology gJChronology23 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone20, readableInstant21, (int) (short) 1); boolean boolean25 = gJChronology23.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField26 = gJChronology23.year(); org.joda.time.Instant instant27 = gJChronology23.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology28 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone19, (org.joda.time.ReadableInstant) instant27); org.joda.time.chrono.GJChronology gJChronology29 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone9, (org.joda.time.ReadableInstant) instant27); org.joda.time.chrono.GJChronology gJChronology30 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone9); org.joda.time.DateTimeField dateTimeField31 = gJChronology30.millisOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertNotNull(dateTimeZone9); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(gJChronology15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(dateTimeZone19); org.junit.Assert.assertNotNull(gJChronology23); org.junit.Assert.assertTrue("'" + boolean25 + "' != '" + false + "'", boolean25 == false); org.junit.Assert.assertNotNull(dateTimeField26); org.junit.Assert.assertNotNull(instant27); org.junit.Assert.assertNotNull(gJChronology28); org.junit.Assert.assertNotNull(gJChronology29); org.junit.Assert.assertNotNull(gJChronology30); org.junit.Assert.assertNotNull(dateTimeField31); } @Test public void test1898() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1898"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField1 = gJChronology0.weeks(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.clockhourOfHalfday(); org.joda.time.DateTimeField dateTimeField3 = gJChronology0.dayOfYear(); org.joda.time.DateTimeField dateTimeField4 = gJChronology0.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology0.weekyear(); org.joda.time.DateTimeField dateTimeField6 = gJChronology0.hourOfDay(); org.joda.time.DateTimeField dateTimeField7 = gJChronology0.hourOfHalfday(); org.joda.time.DurationField durationField8 = gJChronology0.seconds(); org.joda.time.DateTimeField dateTimeField9 = gJChronology0.weekyear(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(durationField1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertNotNull(dateTimeField3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); } @Test @Ignore public void test1899() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1899"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.minuteOfHour(); org.joda.time.DateTimeZone dateTimeZone2 = null; org.joda.time.ReadableInstant readableInstant3 = null; org.joda.time.chrono.GJChronology gJChronology5 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone2, readableInstant3, (int) (short) 1); org.joda.time.DateTimeField dateTimeField6 = gJChronology5.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod7 = null; long long10 = gJChronology5.add(readablePeriod7, (long) (short) 1, (int) (byte) -1); long long15 = gJChronology5.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField16 = gJChronology5.seconds(); org.joda.time.DateTimeZone dateTimeZone17 = gJChronology5.getZone(); org.joda.time.Chronology chronology18 = gJChronology0.withZone(dateTimeZone17); org.joda.time.DateTimeField dateTimeField19 = gJChronology0.dayOfWeek(); org.joda.time.DurationField durationField20 = gJChronology0.millis(); org.joda.time.DurationField durationField21 = gJChronology0.seconds(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(gJChronology5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertTrue("'" + long10 + "' != '" + 1L + "'", long10 == 1L); org.junit.Assert.assertTrue("'" + long15 + "' != '" + (-61062076799990L) + "'", long15 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(dateTimeZone17); org.junit.Assert.assertNotNull(chronology18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(durationField20); org.junit.Assert.assertNotNull(durationField21); } @Test public void test1900() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1900"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.dayOfMonth(); org.joda.time.DurationField durationField10 = gJChronology3.halfdays(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.millisOfDay(); org.joda.time.ReadablePeriod readablePeriod12 = null; long long15 = gJChronology3.add(readablePeriod12, 1L, (int) (byte) -1); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.weekyearOfCentury(); org.joda.time.DurationField durationField17 = gJChronology3.years(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertTrue("'" + long15 + "' != '" + 1L + "'", long15 == 1L); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(durationField17); } @Test public void test1901() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1901"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.Chronology chronology4 = gJChronology3.withUTC(); org.joda.time.DurationField durationField5 = gJChronology3.millis(); org.joda.time.DateTimeZone dateTimeZone6 = gJChronology3.getZone(); org.joda.time.chrono.GJChronology gJChronology7 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone6); org.joda.time.DateTimeField dateTimeField8 = gJChronology7.halfdayOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(chronology4); org.junit.Assert.assertNotNull(durationField5); org.junit.Assert.assertNotNull(dateTimeZone6); org.junit.Assert.assertNotNull(gJChronology7); org.junit.Assert.assertNotNull(dateTimeField8); } @Test public void test1902() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1902"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.centuryOfEra(); org.joda.time.DurationField durationField7 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.weekyear(); org.joda.time.DurationField durationField9 = gJChronology3.millis(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(durationField9); } @Test @Ignore public void test1903() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1903"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.centuryOfEra(); org.joda.time.DurationField durationField7 = gJChronology3.centuries(); org.joda.time.DurationField durationField8 = gJChronology3.days(); org.joda.time.DateTimeZone dateTimeZone9 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.weekyear(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.dayOfWeek(); java.lang.String str12 = gJChronology3.toString(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeZone9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertEquals("'" + str12 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str12, "GJChronology[Etc/UTC,mdfw=1]"); } @Test public void test1904() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1904"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); org.joda.time.Instant instant9 = gJChronology3.getGregorianCutover(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.clockhourOfHalfday(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.secondOfDay(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.secondOfDay(); org.joda.time.DateTimeField dateTimeField13 = gJChronology3.dayOfMonth(); org.joda.time.DateTimeField dateTimeField14 = gJChronology3.yearOfCentury(); int int15 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.millisOfDay(); org.joda.time.DurationField durationField17 = gJChronology3.millis(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertNotNull(instant9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertTrue("'" + int15 + "' != '" + 1 + "'", int15 == 1); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(durationField17); } @Test @Ignore public void test1905() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1905"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); boolean boolean13 = gJChronology11.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField14 = gJChronology11.year(); org.joda.time.Instant instant15 = gJChronology11.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology17 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone7, (org.joda.time.ReadableInstant) instant15, (int) (byte) 1); org.joda.time.DateTimeZone dateTimeZone18 = null; org.joda.time.ReadableInstant readableInstant19 = null; org.joda.time.chrono.GJChronology gJChronology21 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone18, readableInstant19, (int) (short) 1); boolean boolean23 = gJChronology21.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField24 = gJChronology21.year(); org.joda.time.DateTimeZone dateTimeZone25 = gJChronology21.getZone(); org.joda.time.Chronology chronology26 = gJChronology17.withZone(dateTimeZone25); org.joda.time.DateTimeZone dateTimeZone27 = null; org.joda.time.ReadableInstant readableInstant28 = null; org.joda.time.chrono.GJChronology gJChronology30 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone27, readableInstant28, (int) (short) 1); boolean boolean32 = gJChronology30.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField33 = gJChronology30.year(); org.joda.time.DateTimeZone dateTimeZone34 = gJChronology30.getZone(); org.joda.time.DateTimeZone dateTimeZone35 = null; org.joda.time.ReadableInstant readableInstant36 = null; org.joda.time.chrono.GJChronology gJChronology38 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone35, readableInstant36, (int) (short) 1); boolean boolean40 = gJChronology38.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField41 = gJChronology38.year(); org.joda.time.Instant instant42 = gJChronology38.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology44 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone34, (org.joda.time.ReadableInstant) instant42, (int) (byte) 1); org.joda.time.DateTimeZone dateTimeZone45 = null; org.joda.time.ReadableInstant readableInstant46 = null; org.joda.time.chrono.GJChronology gJChronology48 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone45, readableInstant46, (int) (short) 1); boolean boolean50 = gJChronology48.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField51 = gJChronology48.year(); org.joda.time.DateTimeZone dateTimeZone52 = gJChronology48.getZone(); org.joda.time.Chronology chronology53 = gJChronology44.withZone(dateTimeZone52); org.joda.time.DurationField durationField54 = gJChronology44.millis(); org.joda.time.DateTimeField dateTimeField55 = gJChronology44.weekyear(); org.joda.time.Instant instant56 = gJChronology44.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology58 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone25, (org.joda.time.ReadableInstant) instant56, (int) (byte) 1); org.joda.time.DateTimeField dateTimeField59 = gJChronology58.centuryOfEra(); long long65 = gJChronology58.getDateTimeMillis((-85747999L), (int) (short) 1, (int) (byte) 0, (int) '4', (int) (byte) 1); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertTrue("'" + boolean13 + "' != '" + false + "'", boolean13 == false); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(instant15); org.junit.Assert.assertNotNull(gJChronology17); org.junit.Assert.assertNotNull(gJChronology21); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + false + "'", boolean23 == false); org.junit.Assert.assertNotNull(dateTimeField24); org.junit.Assert.assertNotNull(dateTimeZone25); org.junit.Assert.assertNotNull(chronology26); org.junit.Assert.assertNotNull(gJChronology30); org.junit.Assert.assertTrue("'" + boolean32 + "' != '" + false + "'", boolean32 == false); org.junit.Assert.assertNotNull(dateTimeField33); org.junit.Assert.assertNotNull(dateTimeZone34); org.junit.Assert.assertNotNull(gJChronology38); org.junit.Assert.assertTrue("'" + boolean40 + "' != '" + false + "'", boolean40 == false); org.junit.Assert.assertNotNull(dateTimeField41); org.junit.Assert.assertNotNull(instant42); org.junit.Assert.assertNotNull(gJChronology44); org.junit.Assert.assertNotNull(gJChronology48); org.junit.Assert.assertTrue("'" + boolean50 + "' != '" + false + "'", boolean50 == false); org.junit.Assert.assertNotNull(dateTimeField51); org.junit.Assert.assertNotNull(dateTimeZone52); org.junit.Assert.assertNotNull(chronology53); org.junit.Assert.assertNotNull(durationField54); org.junit.Assert.assertNotNull(dateTimeField55); org.junit.Assert.assertNotNull(instant56); org.junit.Assert.assertNotNull(gJChronology58); org.junit.Assert.assertNotNull(dateTimeField59); org.junit.Assert.assertTrue("'" + long65 + "' != '" + (-82747999L) + "'", long65 == (-82747999L)); } @Test @Ignore public void test1906() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1906"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.minuteOfHour(); org.joda.time.DateTimeZone dateTimeZone2 = null; org.joda.time.ReadableInstant readableInstant3 = null; org.joda.time.chrono.GJChronology gJChronology5 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone2, readableInstant3, (int) (short) 1); org.joda.time.DateTimeField dateTimeField6 = gJChronology5.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod7 = null; long long10 = gJChronology5.add(readablePeriod7, (long) (short) 1, (int) (byte) -1); long long15 = gJChronology5.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField16 = gJChronology5.seconds(); org.joda.time.DateTimeZone dateTimeZone17 = gJChronology5.getZone(); org.joda.time.Chronology chronology18 = gJChronology0.withZone(dateTimeZone17); org.joda.time.DateTimeZone dateTimeZone19 = null; org.joda.time.ReadableInstant readableInstant20 = null; org.joda.time.chrono.GJChronology gJChronology22 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone19, readableInstant20, (int) (short) 1); org.joda.time.DateTimeField dateTimeField23 = gJChronology22.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod24 = null; long long27 = gJChronology22.add(readablePeriod24, (long) (short) 1, (int) (byte) -1); long long32 = gJChronology22.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField33 = gJChronology22.seconds(); org.joda.time.DateTimeZone dateTimeZone34 = null; org.joda.time.ReadableInstant readableInstant35 = null; org.joda.time.chrono.GJChronology gJChronology37 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone34, readableInstant35, (int) (short) 1); boolean boolean39 = gJChronology37.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField40 = gJChronology37.year(); org.joda.time.DateTimeZone dateTimeZone41 = gJChronology37.getZone(); org.joda.time.DateTimeField dateTimeField42 = gJChronology37.minuteOfDay(); org.joda.time.DateTimeZone dateTimeZone43 = gJChronology37.getZone(); org.joda.time.Chronology chronology44 = gJChronology22.withZone(dateTimeZone43); org.joda.time.Chronology chronology45 = gJChronology0.withZone(dateTimeZone43); org.joda.time.chrono.GJChronology gJChronology46 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone43); org.joda.time.chrono.GJChronology gJChronology47 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField48 = gJChronology47.minuteOfHour(); org.joda.time.DateTimeField dateTimeField49 = gJChronology47.weekOfWeekyear(); org.joda.time.Instant instant50 = gJChronology47.getGregorianCutover(); // The following exception was thrown during execution in test generation try { org.joda.time.chrono.GJChronology gJChronology52 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone43, (org.joda.time.ReadableInstant) instant50, (int) '#'); org.junit.Assert.fail("Expected exception of type java.lang.IllegalArgumentException; message: Invalid min days in first week: 35"); } catch (java.lang.IllegalArgumentException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(gJChronology5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertTrue("'" + long10 + "' != '" + 1L + "'", long10 == 1L); org.junit.Assert.assertTrue("'" + long15 + "' != '" + (-61062076799990L) + "'", long15 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(dateTimeZone17); org.junit.Assert.assertNotNull(chronology18); org.junit.Assert.assertNotNull(gJChronology22); org.junit.Assert.assertNotNull(dateTimeField23); org.junit.Assert.assertTrue("'" + long27 + "' != '" + 1L + "'", long27 == 1L); org.junit.Assert.assertTrue("'" + long32 + "' != '" + (-61062076799990L) + "'", long32 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField33); org.junit.Assert.assertNotNull(gJChronology37); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(dateTimeField40); org.junit.Assert.assertNotNull(dateTimeZone41); org.junit.Assert.assertNotNull(dateTimeField42); org.junit.Assert.assertNotNull(dateTimeZone43); org.junit.Assert.assertNotNull(chronology44); org.junit.Assert.assertNotNull(chronology45); org.junit.Assert.assertNotNull(gJChronology46); org.junit.Assert.assertNotNull(gJChronology47); org.junit.Assert.assertNotNull(dateTimeField48); org.junit.Assert.assertNotNull(dateTimeField49); org.junit.Assert.assertNotNull(instant50); } @Test @Ignore public void test1907() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1907"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.dayOfYear(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.dayOfMonth(); org.joda.time.DurationField durationField10 = gJChronology3.hours(); org.joda.time.DateTimeZone dateTimeZone11 = null; org.joda.time.ReadableInstant readableInstant12 = null; org.joda.time.chrono.GJChronology gJChronology14 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone11, readableInstant12, (int) (short) 1); org.joda.time.DateTimeField dateTimeField15 = gJChronology14.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod16 = null; long long19 = gJChronology14.add(readablePeriod16, (long) (short) 1, (int) (byte) -1); long long24 = gJChronology14.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField25 = gJChronology14.millis(); org.joda.time.DurationField durationField26 = gJChronology14.centuries(); org.joda.time.DateTimeField dateTimeField27 = gJChronology14.dayOfMonth(); org.joda.time.DateTimeField dateTimeField28 = gJChronology14.dayOfWeek(); org.joda.time.DateTimeField dateTimeField29 = gJChronology14.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField30 = gJChronology14.secondOfDay(); boolean boolean31 = gJChronology3.equals((java.lang.Object) gJChronology14); org.joda.time.DateTimeField dateTimeField32 = gJChronology3.hourOfDay(); org.joda.time.DateTimeField dateTimeField33 = gJChronology3.secondOfMinute(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertNotNull(gJChronology14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertTrue("'" + long19 + "' != '" + 1L + "'", long19 == 1L); org.junit.Assert.assertTrue("'" + long24 + "' != '" + (-61062076799990L) + "'", long24 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField25); org.junit.Assert.assertNotNull(durationField26); org.junit.Assert.assertNotNull(dateTimeField27); org.junit.Assert.assertNotNull(dateTimeField28); org.junit.Assert.assertNotNull(dateTimeField29); org.junit.Assert.assertNotNull(dateTimeField30); org.junit.Assert.assertTrue("'" + boolean31 + "' != '" + true + "'", boolean31 == true); org.junit.Assert.assertNotNull(dateTimeField32); org.junit.Assert.assertNotNull(dateTimeField33); } @Test @Ignore public void test1908() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1908"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); boolean boolean13 = gJChronology11.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField14 = gJChronology11.year(); org.joda.time.Instant instant15 = gJChronology11.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology17 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone7, (org.joda.time.ReadableInstant) instant15, (int) (byte) 1); org.joda.time.DateTimeZone dateTimeZone18 = null; org.joda.time.ReadableInstant readableInstant19 = null; org.joda.time.chrono.GJChronology gJChronology21 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone18, readableInstant19, (int) (short) 1); boolean boolean23 = gJChronology21.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField24 = gJChronology21.year(); org.joda.time.DateTimeZone dateTimeZone25 = gJChronology21.getZone(); org.joda.time.Chronology chronology26 = gJChronology17.withZone(dateTimeZone25); org.joda.time.ReadableInstant readableInstant27 = null; org.joda.time.chrono.GJChronology gJChronology28 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone25, readableInstant27); org.joda.time.DateTimeZone dateTimeZone29 = null; org.joda.time.ReadableInstant readableInstant30 = null; org.joda.time.chrono.GJChronology gJChronology32 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone29, readableInstant30, (int) (short) 1); org.joda.time.DateTimeField dateTimeField33 = gJChronology32.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod34 = null; long long37 = gJChronology32.add(readablePeriod34, (long) (short) 1, (int) (byte) -1); long long42 = gJChronology32.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField43 = gJChronology32.millis(); org.joda.time.DurationField durationField44 = gJChronology32.centuries(); org.joda.time.Instant instant45 = gJChronology32.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology46 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone25, (org.joda.time.ReadableInstant) instant45); java.lang.Class<?> wildcardClass47 = instant45.getClass(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertTrue("'" + boolean13 + "' != '" + false + "'", boolean13 == false); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(instant15); org.junit.Assert.assertNotNull(gJChronology17); org.junit.Assert.assertNotNull(gJChronology21); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + false + "'", boolean23 == false); org.junit.Assert.assertNotNull(dateTimeField24); org.junit.Assert.assertNotNull(dateTimeZone25); org.junit.Assert.assertNotNull(chronology26); org.junit.Assert.assertNotNull(gJChronology28); org.junit.Assert.assertNotNull(gJChronology32); org.junit.Assert.assertNotNull(dateTimeField33); org.junit.Assert.assertTrue("'" + long37 + "' != '" + 1L + "'", long37 == 1L); org.junit.Assert.assertTrue("'" + long42 + "' != '" + (-61062076799990L) + "'", long42 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField43); org.junit.Assert.assertNotNull(durationField44); org.junit.Assert.assertNotNull(instant45); org.junit.Assert.assertNotNull(gJChronology46); org.junit.Assert.assertNotNull(wildcardClass47); } @Test public void test1909() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1909"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.Chronology chronology4 = gJChronology3.withUTC(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.yearOfEra(); org.joda.time.DurationField durationField6 = gJChronology3.halfdays(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.era(); org.joda.time.DurationField durationField8 = gJChronology3.halfdays(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.hourOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(chronology4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); } @Test public void test1910() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1910"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.yearOfEra(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.weekOfWeekyear(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.millisOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeField11); } @Test @Ignore public void test1911() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1911"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.seconds(); org.joda.time.DateTimeZone dateTimeZone15 = null; org.joda.time.ReadableInstant readableInstant16 = null; org.joda.time.chrono.GJChronology gJChronology18 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone15, readableInstant16, (int) (short) 1); boolean boolean20 = gJChronology18.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField21 = gJChronology18.year(); org.joda.time.DateTimeZone dateTimeZone22 = gJChronology18.getZone(); org.joda.time.DateTimeField dateTimeField23 = gJChronology18.minuteOfDay(); org.joda.time.DateTimeZone dateTimeZone24 = gJChronology18.getZone(); org.joda.time.Chronology chronology25 = gJChronology3.withZone(dateTimeZone24); org.joda.time.chrono.GJChronology gJChronology26 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone24); java.lang.String str27 = gJChronology26.toString(); java.lang.String str28 = gJChronology26.toString(); org.joda.time.DateTimeField dateTimeField29 = gJChronology26.dayOfWeek(); org.joda.time.DateTimeField dateTimeField30 = gJChronology26.hourOfHalfday(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(gJChronology18); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(dateTimeField21); org.junit.Assert.assertNotNull(dateTimeZone22); org.junit.Assert.assertNotNull(dateTimeField23); org.junit.Assert.assertNotNull(dateTimeZone24); org.junit.Assert.assertNotNull(chronology25); org.junit.Assert.assertNotNull(gJChronology26); org.junit.Assert.assertEquals("'" + str27 + "' != '" + "GJChronology[Etc/UTC]" + "'", str27, "GJChronology[Etc/UTC]"); org.junit.Assert.assertEquals("'" + str28 + "' != '" + "GJChronology[Etc/UTC]" + "'", str28, "GJChronology[Etc/UTC]"); org.junit.Assert.assertNotNull(dateTimeField29); org.junit.Assert.assertNotNull(dateTimeField30); } @Test @Ignore public void test1912() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1912"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DurationField durationField15 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.weekyear(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.yearOfCentury(); org.joda.time.DurationField durationField18 = gJChronology3.days(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.hourOfDay(); org.joda.time.DurationField durationField20 = gJChronology3.centuries(); org.joda.time.DurationField durationField21 = gJChronology3.weeks(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(durationField20); org.junit.Assert.assertNotNull(durationField21); } @Test @Ignore public void test1913() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1913"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DurationField durationField15 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.minuteOfDay(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.secondOfMinute(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.era(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(dateTimeField18); } @Test public void test1914() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1914"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstanceUTC(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.monthOfYear(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.clockhourOfDay(); org.joda.time.DurationField durationField3 = gJChronology0.eras(); org.joda.time.DateTimeField dateTimeField4 = gJChronology0.weekOfWeekyear(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertNotNull(durationField3); org.junit.Assert.assertNotNull(dateTimeField4); } @Test public void test1915() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1915"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.dayOfWeek(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); org.joda.time.DateTimeField dateTimeField12 = gJChronology11.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField13 = gJChronology11.year(); org.joda.time.DurationField durationField14 = gJChronology11.centuries(); org.joda.time.DateTimeField dateTimeField15 = gJChronology11.dayOfMonth(); boolean boolean16 = gJChronology3.equals((java.lang.Object) dateTimeField15); int int17 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DurationField durationField18 = gJChronology3.months(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.year(); org.joda.time.DurationField durationField20 = gJChronology3.months(); org.joda.time.DurationField durationField21 = gJChronology3.halfdays(); int int22 = gJChronology3.getMinimumDaysInFirstWeek(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertTrue("'" + int17 + "' != '" + 1 + "'", int17 == 1); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(durationField20); org.junit.Assert.assertNotNull(durationField21); org.junit.Assert.assertTrue("'" + int22 + "' != '" + 1 + "'", int22 == 1); } @Test public void test1916() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1916"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.days(); org.joda.time.DurationField durationField8 = gJChronology3.seconds(); org.joda.time.DurationField durationField9 = gJChronology3.hours(); org.joda.time.DateTimeZone dateTimeZone10 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.weekyear(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(durationField9); org.junit.Assert.assertNotNull(dateTimeZone10); org.junit.Assert.assertNotNull(dateTimeField11); } @Test @Ignore public void test1917() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1917"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.minuteOfHour(); org.joda.time.DateTimeZone dateTimeZone2 = null; org.joda.time.ReadableInstant readableInstant3 = null; org.joda.time.chrono.GJChronology gJChronology5 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone2, readableInstant3, (int) (short) 1); org.joda.time.DateTimeField dateTimeField6 = gJChronology5.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod7 = null; long long10 = gJChronology5.add(readablePeriod7, (long) (short) 1, (int) (byte) -1); long long15 = gJChronology5.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField16 = gJChronology5.seconds(); org.joda.time.DateTimeZone dateTimeZone17 = gJChronology5.getZone(); org.joda.time.Chronology chronology18 = gJChronology0.withZone(dateTimeZone17); org.joda.time.DateTimeField dateTimeField19 = gJChronology0.dayOfWeek(); org.joda.time.DateTimeField dateTimeField20 = gJChronology0.minuteOfDay(); org.joda.time.DateTimeField dateTimeField21 = gJChronology0.millisOfDay(); org.joda.time.DurationField durationField22 = gJChronology0.minutes(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(gJChronology5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertTrue("'" + long10 + "' != '" + 1L + "'", long10 == 1L); org.junit.Assert.assertTrue("'" + long15 + "' != '" + (-61062076799990L) + "'", long15 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(dateTimeZone17); org.junit.Assert.assertNotNull(chronology18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(dateTimeField20); org.junit.Assert.assertNotNull(dateTimeField21); org.junit.Assert.assertNotNull(durationField22); } @Test public void test1918() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1918"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.days(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.centuryOfEra(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.minuteOfDay(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.dayOfMonth(); org.joda.time.ReadablePeriod readablePeriod11 = null; long long14 = gJChronology3.add(readablePeriod11, (long) ' ', (int) '#'); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.hourOfHalfday(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertTrue("'" + long14 + "' != '" + 32L + "'", long14 == 32L); org.junit.Assert.assertNotNull(dateTimeField15); } @Test @Ignore public void test1919() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1919"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); org.joda.time.DateTimeField dateTimeField12 = gJChronology11.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod13 = null; long long16 = gJChronology11.add(readablePeriod13, (long) (short) 1, (int) (byte) -1); long long21 = gJChronology11.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField22 = gJChronology11.millis(); boolean boolean23 = gJChronology3.equals((java.lang.Object) gJChronology11); org.joda.time.DurationField durationField24 = gJChronology11.seconds(); org.joda.time.DateTimeZone dateTimeZone25 = gJChronology11.getZone(); org.joda.time.chrono.GJChronology gJChronology26 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone25); org.joda.time.DateTimeZone dateTimeZone27 = null; org.joda.time.ReadableInstant readableInstant28 = null; org.joda.time.chrono.GJChronology gJChronology30 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone27, readableInstant28, (int) (short) 1); org.joda.time.DateTimeField dateTimeField31 = gJChronology30.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod32 = null; long long35 = gJChronology30.add(readablePeriod32, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeZone dateTimeZone36 = gJChronology30.getZone(); org.joda.time.ReadableInstant readableInstant37 = null; org.joda.time.chrono.GJChronology gJChronology38 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone36, readableInstant37); org.joda.time.DateTimeZone dateTimeZone39 = null; org.joda.time.ReadableInstant readableInstant40 = null; org.joda.time.chrono.GJChronology gJChronology42 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone39, readableInstant40, (int) (short) 1); boolean boolean44 = gJChronology42.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField45 = gJChronology42.year(); org.joda.time.DateTimeZone dateTimeZone46 = gJChronology42.getZone(); org.joda.time.DateTimeZone dateTimeZone47 = null; org.joda.time.ReadableInstant readableInstant48 = null; org.joda.time.chrono.GJChronology gJChronology50 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone47, readableInstant48, (int) (short) 1); boolean boolean52 = gJChronology50.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField53 = gJChronology50.year(); org.joda.time.Instant instant54 = gJChronology50.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology55 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone46, (org.joda.time.ReadableInstant) instant54); org.joda.time.chrono.GJChronology gJChronology56 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone36, (org.joda.time.ReadableInstant) instant54); org.joda.time.chrono.GJChronology gJChronology57 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField58 = gJChronology57.minuteOfHour(); org.joda.time.DateTimeField dateTimeField59 = gJChronology57.weekOfWeekyear(); org.joda.time.Instant instant60 = gJChronology57.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology61 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone36, (org.joda.time.ReadableInstant) instant60); org.joda.time.chrono.GJChronology gJChronology62 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone25, (org.joda.time.ReadableInstant) instant60); org.joda.time.ReadablePartial readablePartial63 = null; // The following exception was thrown during execution in test generation try { long long65 = gJChronology62.set(readablePartial63, (-857467805L)); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertTrue("'" + long16 + "' != '" + 1L + "'", long16 == 1L); org.junit.Assert.assertTrue("'" + long21 + "' != '" + (-61062076799990L) + "'", long21 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField22); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + true + "'", boolean23 == true); org.junit.Assert.assertNotNull(durationField24); org.junit.Assert.assertNotNull(dateTimeZone25); org.junit.Assert.assertNotNull(gJChronology26); org.junit.Assert.assertNotNull(gJChronology30); org.junit.Assert.assertNotNull(dateTimeField31); org.junit.Assert.assertTrue("'" + long35 + "' != '" + 1L + "'", long35 == 1L); org.junit.Assert.assertNotNull(dateTimeZone36); org.junit.Assert.assertNotNull(gJChronology38); org.junit.Assert.assertNotNull(gJChronology42); org.junit.Assert.assertTrue("'" + boolean44 + "' != '" + false + "'", boolean44 == false); org.junit.Assert.assertNotNull(dateTimeField45); org.junit.Assert.assertNotNull(dateTimeZone46); org.junit.Assert.assertNotNull(gJChronology50); org.junit.Assert.assertTrue("'" + boolean52 + "' != '" + false + "'", boolean52 == false); org.junit.Assert.assertNotNull(dateTimeField53); org.junit.Assert.assertNotNull(instant54); org.junit.Assert.assertNotNull(gJChronology55); org.junit.Assert.assertNotNull(gJChronology56); org.junit.Assert.assertNotNull(gJChronology57); org.junit.Assert.assertNotNull(dateTimeField58); org.junit.Assert.assertNotNull(dateTimeField59); org.junit.Assert.assertNotNull(instant60); org.junit.Assert.assertNotNull(gJChronology61); org.junit.Assert.assertNotNull(gJChronology62); } @Test public void test1920() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1920"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.dayOfYear(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.centuryOfEra(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.dayOfYear(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeField11); } @Test @Ignore public void test1921() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1921"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); org.joda.time.DateTimeField dateTimeField12 = gJChronology11.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod13 = null; long long16 = gJChronology11.add(readablePeriod13, (long) (short) 1, (int) (byte) -1); long long21 = gJChronology11.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField22 = gJChronology11.millis(); boolean boolean23 = gJChronology3.equals((java.lang.Object) gJChronology11); long long27 = gJChronology3.add((-61062076799990L), (long) (byte) 10, (int) (short) -1); org.joda.time.ReadablePeriod readablePeriod28 = null; // The following exception was thrown during execution in test generation try { int[] intArray31 = gJChronology3.get(readablePeriod28, 1665L, 4L); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertTrue("'" + long16 + "' != '" + 1L + "'", long16 == 1L); org.junit.Assert.assertTrue("'" + long21 + "' != '" + (-61062076799990L) + "'", long21 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField22); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + true + "'", boolean23 == true); org.junit.Assert.assertTrue("'" + long27 + "' != '" + (-61062076800000L) + "'", long27 == (-61062076800000L)); } @Test public void test1922() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1922"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.era(); org.joda.time.DurationField durationField6 = gJChronology3.days(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.minuteOfHour(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.monthOfYear(); org.joda.time.DurationField durationField9 = gJChronology3.weekyears(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.monthOfYear(); org.joda.time.ReadablePeriod readablePeriod11 = null; // The following exception was thrown during execution in test generation try { int[] intArray13 = gJChronology3.get(readablePeriod11, (-1631L)); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(durationField9); org.junit.Assert.assertNotNull(dateTimeField10); } @Test public void test1923() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1923"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.dayOfWeek(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); org.joda.time.DateTimeField dateTimeField12 = gJChronology11.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField13 = gJChronology11.year(); org.joda.time.DurationField durationField14 = gJChronology11.centuries(); org.joda.time.DateTimeField dateTimeField15 = gJChronology11.dayOfMonth(); boolean boolean16 = gJChronology3.equals((java.lang.Object) dateTimeField15); int int17 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DurationField durationField18 = gJChronology3.months(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.year(); org.joda.time.DurationField durationField20 = gJChronology3.hours(); org.joda.time.DurationField durationField21 = gJChronology3.years(); org.joda.time.DateTimeField dateTimeField22 = gJChronology3.year(); long long26 = gJChronology3.add((-49798948L), 3156L, 0); org.joda.time.DateTimeField dateTimeField27 = gJChronology3.weekyearOfCentury(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertTrue("'" + int17 + "' != '" + 1 + "'", int17 == 1); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(durationField20); org.junit.Assert.assertNotNull(durationField21); org.junit.Assert.assertNotNull(dateTimeField22); org.junit.Assert.assertTrue("'" + long26 + "' != '" + (-49798948L) + "'", long26 == (-49798948L)); org.junit.Assert.assertNotNull(dateTimeField27); } @Test public void test1924() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1924"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.centuryOfEra(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.era(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); } @Test @Ignore public void test1925() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1925"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.minuteOfHour(); org.joda.time.DateTimeZone dateTimeZone2 = null; org.joda.time.ReadableInstant readableInstant3 = null; org.joda.time.chrono.GJChronology gJChronology5 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone2, readableInstant3, (int) (short) 1); org.joda.time.DateTimeField dateTimeField6 = gJChronology5.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod7 = null; long long10 = gJChronology5.add(readablePeriod7, (long) (short) 1, (int) (byte) -1); long long15 = gJChronology5.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField16 = gJChronology5.seconds(); org.joda.time.DateTimeZone dateTimeZone17 = gJChronology5.getZone(); org.joda.time.Chronology chronology18 = gJChronology0.withZone(dateTimeZone17); org.joda.time.chrono.GJChronology gJChronology19 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone17); org.joda.time.DateTimeField dateTimeField20 = gJChronology19.centuryOfEra(); org.joda.time.DateTimeField dateTimeField21 = gJChronology19.halfdayOfDay(); int int22 = gJChronology19.getMinimumDaysInFirstWeek(); java.lang.String str23 = gJChronology19.toString(); org.joda.time.DateTimeField dateTimeField24 = gJChronology19.clockhourOfDay(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(gJChronology5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertTrue("'" + long10 + "' != '" + 1L + "'", long10 == 1L); org.junit.Assert.assertTrue("'" + long15 + "' != '" + (-61062076799990L) + "'", long15 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(dateTimeZone17); org.junit.Assert.assertNotNull(chronology18); org.junit.Assert.assertNotNull(gJChronology19); org.junit.Assert.assertNotNull(dateTimeField20); org.junit.Assert.assertNotNull(dateTimeField21); org.junit.Assert.assertTrue("'" + int22 + "' != '" + 4 + "'", int22 == 4); org.junit.Assert.assertEquals("'" + str23 + "' != '" + "GJChronology[Etc/UTC]" + "'", str23, "GJChronology[Etc/UTC]"); org.junit.Assert.assertNotNull(dateTimeField24); } @Test @Ignore public void test1926() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1926"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.minuteOfHour(); org.joda.time.DateTimeZone dateTimeZone2 = null; org.joda.time.ReadableInstant readableInstant3 = null; org.joda.time.chrono.GJChronology gJChronology5 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone2, readableInstant3, (int) (short) 1); org.joda.time.DateTimeField dateTimeField6 = gJChronology5.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod7 = null; long long10 = gJChronology5.add(readablePeriod7, (long) (short) 1, (int) (byte) -1); long long15 = gJChronology5.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField16 = gJChronology5.seconds(); org.joda.time.DateTimeZone dateTimeZone17 = gJChronology5.getZone(); org.joda.time.Chronology chronology18 = gJChronology0.withZone(dateTimeZone17); org.joda.time.DateTimeField dateTimeField19 = gJChronology0.dayOfWeek(); org.joda.time.DateTimeField dateTimeField20 = gJChronology0.weekyearOfCentury(); org.joda.time.DurationField durationField21 = gJChronology0.centuries(); org.joda.time.DateTimeZone dateTimeZone22 = null; org.joda.time.ReadableInstant readableInstant23 = null; org.joda.time.chrono.GJChronology gJChronology25 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone22, readableInstant23, (int) (short) 1); org.joda.time.Chronology chronology26 = gJChronology25.withUTC(); org.joda.time.DurationField durationField27 = gJChronology25.millis(); org.joda.time.DateTimeZone dateTimeZone28 = gJChronology25.getZone(); org.joda.time.chrono.GJChronology gJChronology31 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone28, (-85747999L), 4); org.joda.time.Chronology chronology32 = gJChronology0.withZone(dateTimeZone28); org.joda.time.DurationField durationField33 = gJChronology0.years(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(gJChronology5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertTrue("'" + long10 + "' != '" + 1L + "'", long10 == 1L); org.junit.Assert.assertTrue("'" + long15 + "' != '" + (-61062076799990L) + "'", long15 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(dateTimeZone17); org.junit.Assert.assertNotNull(chronology18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(dateTimeField20); org.junit.Assert.assertNotNull(durationField21); org.junit.Assert.assertNotNull(gJChronology25); org.junit.Assert.assertNotNull(chronology26); org.junit.Assert.assertNotNull(durationField27); org.junit.Assert.assertNotNull(dateTimeZone28); org.junit.Assert.assertNotNull(gJChronology31); org.junit.Assert.assertNotNull(chronology32); org.junit.Assert.assertNotNull(durationField33); } @Test public void test1927() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1927"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.days(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.centuryOfEra(); org.joda.time.DurationField durationField9 = gJChronology3.years(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.yearOfCentury(); org.joda.time.DurationField durationField11 = gJChronology3.weeks(); org.joda.time.ReadablePeriod readablePeriod12 = null; // The following exception was thrown during execution in test generation try { int[] intArray15 = gJChronology3.get(readablePeriod12, 1921010L, 532371L); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(durationField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(durationField11); } @Test public void test1928() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1928"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.days(); org.joda.time.DurationField durationField8 = gJChronology3.seconds(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.minuteOfHour(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.dayOfMonth(); org.joda.time.DurationField durationField12 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField13 = gJChronology3.halfdayOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(durationField12); org.junit.Assert.assertNotNull(dateTimeField13); } @Test @Ignore public void test1929() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1929"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.yearOfCentury(); org.joda.time.Chronology chronology16 = gJChronology3.withUTC(); org.joda.time.DurationField durationField17 = gJChronology3.seconds(); org.joda.time.Instant instant18 = gJChronology3.getGregorianCutover(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.hourOfHalfday(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(chronology16); org.junit.Assert.assertNotNull(durationField17); org.junit.Assert.assertNotNull(instant18); org.junit.Assert.assertNotNull(dateTimeField19); } @Test @Ignore public void test1930() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1930"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.weekyear(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.hourOfDay(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.centuryOfEra(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.millisOfSecond(); int int19 = gJChronology3.getMinimumDaysInFirstWeek(); // The following exception was thrown during execution in test generation try { long long25 = gJChronology3.getDateTimeMillis((-49798848L), (int) 'a', (int) (short) 0, 0, 4); org.junit.Assert.fail("Expected exception of type org.joda.time.IllegalFieldValueException; message: Value 97 for hourOfDay must be in the range [0,23]"); } catch (org.joda.time.IllegalFieldValueException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertTrue("'" + int19 + "' != '" + 1 + "'", int19 == 1); } @Test @Ignore public void test1931() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1931"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.yearOfEra(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.centuryOfEra(); org.joda.time.DurationField durationField19 = gJChronology3.days(); org.joda.time.DurationField durationField20 = gJChronology3.days(); org.joda.time.DateTimeZone dateTimeZone21 = gJChronology3.getZone(); // The following exception was thrown during execution in test generation try { org.joda.time.chrono.GJChronology gJChronology24 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone21, (-510L), (int) (byte) 0); org.junit.Assert.fail("Expected exception of type java.lang.IllegalArgumentException; message: Invalid min days in first week: 0"); } catch (java.lang.IllegalArgumentException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(durationField19); org.junit.Assert.assertNotNull(durationField20); org.junit.Assert.assertNotNull(dateTimeZone21); } @Test @Ignore public void test1932() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1932"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DurationField durationField15 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.weekyear(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.yearOfCentury(); org.joda.time.DurationField durationField18 = gJChronology3.days(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.weekyearOfCentury(); org.joda.time.DurationField durationField20 = gJChronology3.centuries(); long long26 = gJChronology3.getDateTimeMillis(51L, 0, (int) ' ', (int) (short) 1, (int) (short) 10); org.joda.time.DurationField durationField27 = gJChronology3.halfdays(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(durationField20); org.junit.Assert.assertTrue("'" + long26 + "' != '" + 1921010L + "'", long26 == 1921010L); org.junit.Assert.assertNotNull(durationField27); } @Test public void test1933() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1933"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.centuryOfEra(); org.joda.time.DurationField durationField7 = gJChronology3.centuries(); org.joda.time.DateTimeZone dateTimeZone8 = gJChronology3.getZone(); org.joda.time.DurationField durationField9 = gJChronology3.days(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.dayOfYear(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.era(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.dayOfMonth(); org.joda.time.DurationField durationField13 = gJChronology3.halfdays(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(dateTimeZone8); org.junit.Assert.assertNotNull(durationField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(durationField13); } @Test public void test1934() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1934"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.chrono.GJChronology gJChronology10 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone7, 1665L, (int) (short) 1); org.joda.time.DurationField durationField11 = gJChronology10.months(); org.joda.time.DateTimeField dateTimeField12 = gJChronology10.yearOfEra(); org.joda.time.DateTimeField dateTimeField13 = gJChronology10.millisOfSecond(); org.joda.time.DurationField durationField14 = gJChronology10.months(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology10); org.junit.Assert.assertNotNull(durationField11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(durationField14); } @Test public void test1935() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1935"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.days(); org.joda.time.DurationField durationField8 = gJChronology3.seconds(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.minuteOfHour(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.dayOfMonth(); org.joda.time.DurationField durationField12 = gJChronology3.weeks(); org.joda.time.DurationField durationField13 = gJChronology3.months(); org.joda.time.DateTimeField dateTimeField14 = gJChronology3.clockhourOfHalfday(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(durationField12); org.junit.Assert.assertNotNull(durationField13); org.junit.Assert.assertNotNull(dateTimeField14); } @Test public void test1936() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1936"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField1 = gJChronology0.weeks(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.clockhourOfHalfday(); org.joda.time.DurationField durationField3 = gJChronology0.days(); org.joda.time.DateTimeField dateTimeField4 = gJChronology0.hourOfDay(); int int5 = gJChronology0.getMinimumDaysInFirstWeek(); org.joda.time.DurationField durationField6 = gJChronology0.hours(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(durationField1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertNotNull(durationField3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + int5 + "' != '" + 4 + "'", int5 == 4); org.junit.Assert.assertNotNull(durationField6); } @Test public void test1937() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1937"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.dayOfMonth(); org.joda.time.DurationField durationField10 = gJChronology3.halfdays(); org.joda.time.DurationField durationField11 = gJChronology3.seconds(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.weekOfWeekyear(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertNotNull(durationField11); org.junit.Assert.assertNotNull(dateTimeField12); } @Test public void test1938() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1938"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.Instant instant7 = gJChronology3.getGregorianCutover(); org.joda.time.DurationField durationField8 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.year(); org.joda.time.DurationField durationField10 = gJChronology3.seconds(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.yearOfCentury(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.dayOfMonth(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(instant7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(dateTimeField12); } @Test @Ignore public void test1939() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1939"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.yearOfEra(); org.joda.time.DurationField durationField19 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField20 = gJChronology3.era(); org.joda.time.DateTimeField dateTimeField21 = gJChronology3.clockhourOfHalfday(); org.joda.time.DateTimeField dateTimeField22 = gJChronology3.weekyearOfCentury(); org.joda.time.Chronology chronology23 = gJChronology3.withUTC(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(durationField19); org.junit.Assert.assertNotNull(dateTimeField20); org.junit.Assert.assertNotNull(dateTimeField21); org.junit.Assert.assertNotNull(dateTimeField22); org.junit.Assert.assertNotNull(chronology23); } @Test @Ignore public void test1940() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1940"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.hourOfHalfday(); org.joda.time.DurationField durationField17 = gJChronology3.weeks(); org.joda.time.DurationField durationField18 = gJChronology3.seconds(); org.joda.time.DurationField durationField19 = gJChronology3.halfdays(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(durationField17); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(durationField19); } @Test public void test1941() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1941"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.year(); org.joda.time.DurationField durationField6 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.dayOfMonth(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.dayOfYear(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeZone dateTimeZone10 = gJChronology3.getZone(); org.joda.time.chrono.GJChronology gJChronology13 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone10, (long) (short) 100, (int) (byte) 1); org.joda.time.DateTimeField dateTimeField14 = gJChronology13.clockhourOfHalfday(); org.joda.time.DateTimeField dateTimeField15 = gJChronology13.millisOfSecond(); org.joda.time.DateTimeField dateTimeField16 = gJChronology13.weekOfWeekyear(); org.joda.time.DurationField durationField17 = gJChronology13.minutes(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeZone10); org.junit.Assert.assertNotNull(gJChronology13); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(durationField17); } @Test public void test1942() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1942"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.Chronology chronology4 = gJChronology3.withUTC(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.yearOfEra(); org.joda.time.DurationField durationField6 = gJChronology3.halfdays(); org.joda.time.DurationField durationField7 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.minuteOfHour(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(chronology4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(dateTimeField8); } @Test @Ignore public void test1943() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1943"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.Instant instant7 = gJChronology3.getGregorianCutover(); org.joda.time.DurationField durationField8 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.dayOfWeek(); org.joda.time.DateTimeZone dateTimeZone11 = gJChronology3.getZone(); org.joda.time.DateTimeZone dateTimeZone12 = null; org.joda.time.DateTimeZone dateTimeZone13 = null; org.joda.time.ReadableInstant readableInstant14 = null; org.joda.time.chrono.GJChronology gJChronology16 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone13, readableInstant14, (int) (short) 1); boolean boolean18 = gJChronology16.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField19 = gJChronology16.dayOfYear(); org.joda.time.DurationField durationField20 = gJChronology16.days(); org.joda.time.DurationField durationField21 = gJChronology16.seconds(); int int22 = gJChronology16.getMinimumDaysInFirstWeek(); org.joda.time.DateTimeField dateTimeField23 = gJChronology16.clockhourOfDay(); org.joda.time.Instant instant24 = gJChronology16.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology25 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone12, (org.joda.time.ReadableInstant) instant24); org.joda.time.chrono.GJChronology gJChronology26 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone11, (org.joda.time.ReadableInstant) instant24); java.lang.String str27 = gJChronology26.toString(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(instant7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeZone11); org.junit.Assert.assertNotNull(gJChronology16); org.junit.Assert.assertTrue("'" + boolean18 + "' != '" + false + "'", boolean18 == false); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(durationField20); org.junit.Assert.assertNotNull(durationField21); org.junit.Assert.assertTrue("'" + int22 + "' != '" + 1 + "'", int22 == 1); org.junit.Assert.assertNotNull(dateTimeField23); org.junit.Assert.assertNotNull(instant24); org.junit.Assert.assertNotNull(gJChronology25); org.junit.Assert.assertNotNull(gJChronology26); org.junit.Assert.assertEquals("'" + str27 + "' != '" + "GJChronology[Etc/UTC]" + "'", str27, "GJChronology[Etc/UTC]"); } @Test public void test1944() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1944"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.millisOfSecond(); org.joda.time.DurationField durationField9 = gJChronology3.seconds(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.millisOfSecond(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.weekyear(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.minuteOfHour(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(durationField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(dateTimeField12); } @Test public void test1945() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1945"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.Instant instant7 = gJChronology3.getGregorianCutover(); org.joda.time.DurationField durationField8 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.year(); org.joda.time.DurationField durationField10 = gJChronology3.minutes(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.yearOfCentury(); org.joda.time.DurationField durationField13 = gJChronology3.days(); org.joda.time.Instant instant14 = gJChronology3.getGregorianCutover(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.dayOfYear(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.hourOfDay(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.dayOfYear(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(instant7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(durationField13); org.junit.Assert.assertNotNull(instant14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); } @Test @Ignore public void test1946() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1946"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.minuteOfHour(); org.joda.time.DurationField durationField2 = gJChronology0.months(); org.joda.time.DateTimeField dateTimeField3 = gJChronology0.yearOfCentury(); org.joda.time.DateTimeField dateTimeField4 = gJChronology0.weekOfWeekyear(); org.joda.time.DateTimeField dateTimeField5 = gJChronology0.yearOfEra(); org.joda.time.DateTimeField dateTimeField6 = gJChronology0.yearOfEra(); java.lang.String str7 = gJChronology0.toString(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(durationField2); org.junit.Assert.assertNotNull(dateTimeField3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertEquals("'" + str7 + "' != '" + "GJChronology[Etc/UTC]" + "'", str7, "GJChronology[Etc/UTC]"); } @Test @Ignore public void test1947() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1947"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.weekyears(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.weekyear(); int int16 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DateTimeZone dateTimeZone17 = gJChronology3.getZone(); // The following exception was thrown during execution in test generation try { org.joda.time.chrono.GJChronology gJChronology20 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone17, 9L, (int) (byte) -1); org.junit.Assert.fail("Expected exception of type java.lang.IllegalArgumentException; message: Invalid min days in first week: -1"); } catch (java.lang.IllegalArgumentException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertTrue("'" + int16 + "' != '" + 1 + "'", int16 == 1); org.junit.Assert.assertNotNull(dateTimeZone17); } @Test public void test1948() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1948"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.clockhourOfHalfday(); org.joda.time.ReadablePartial readablePartial9 = null; // The following exception was thrown during execution in test generation try { long long11 = gJChronology3.set(readablePartial9, (long) (byte) 100); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(dateTimeField8); } @Test @Ignore public void test1949() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1949"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.dayOfWeek(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); org.joda.time.DateTimeField dateTimeField12 = gJChronology11.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField13 = gJChronology11.year(); org.joda.time.DurationField durationField14 = gJChronology11.centuries(); org.joda.time.DateTimeField dateTimeField15 = gJChronology11.dayOfMonth(); boolean boolean16 = gJChronology3.equals((java.lang.Object) dateTimeField15); int int17 = gJChronology3.getMinimumDaysInFirstWeek(); java.lang.String str18 = gJChronology3.toString(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.halfdayOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertTrue("'" + int17 + "' != '" + 1 + "'", int17 == 1); org.junit.Assert.assertEquals("'" + str18 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str18, "GJChronology[Etc/UTC,mdfw=1]"); org.junit.Assert.assertNotNull(dateTimeField19); } @Test @Ignore public void test1950() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1950"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.millisOfDay(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.weekyearOfCentury(); int int18 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.weekyearOfCentury(); org.joda.time.DurationField durationField20 = gJChronology3.halfdays(); org.joda.time.DateTimeField dateTimeField21 = gJChronology3.secondOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertTrue("'" + int18 + "' != '" + 1 + "'", int18 == 1); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(durationField20); org.junit.Assert.assertNotNull(dateTimeField21); } @Test public void test1951() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1951"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.days(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.centuryOfEra(); org.joda.time.DurationField durationField9 = gJChronology3.years(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.millisOfDay(); int int11 = gJChronology3.getMinimumDaysInFirstWeek(); boolean boolean13 = gJChronology3.equals((java.lang.Object) (-49798948L)); org.joda.time.ReadablePeriod readablePeriod14 = null; long long17 = gJChronology3.add(readablePeriod14, (long) '4', (int) (short) 100); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.secondOfMinute(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.yearOfEra(); org.joda.time.DurationField durationField20 = gJChronology3.weekyears(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(durationField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertTrue("'" + int11 + "' != '" + 1 + "'", int11 == 1); org.junit.Assert.assertTrue("'" + boolean13 + "' != '" + false + "'", boolean13 == false); org.junit.Assert.assertTrue("'" + long17 + "' != '" + 52L + "'", long17 == 52L); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(durationField20); } @Test public void test1952() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1952"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField5 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.hourOfDay(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.weekyearOfCentury(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.dayOfWeek(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.millisOfSecond(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(durationField5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); } @Test @Ignore public void test1953() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1953"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.dayOfWeek(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.weekyearOfCentury(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.yearOfCentury(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.hourOfHalfday(); org.joda.time.Chronology chronology19 = gJChronology3.withUTC(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(chronology19); } @Test @Ignore public void test1954() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1954"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.millisOfSecond(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.clockhourOfHalfday(); org.joda.time.DurationField durationField10 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.weekyear(); org.joda.time.DurationField durationField13 = gJChronology3.halfdays(); org.joda.time.DateTimeZone dateTimeZone14 = null; org.joda.time.ReadableInstant readableInstant15 = null; org.joda.time.chrono.GJChronology gJChronology17 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone14, readableInstant15, (int) (short) 1); org.joda.time.DateTimeField dateTimeField18 = gJChronology17.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod19 = null; long long22 = gJChronology17.add(readablePeriod19, (long) (short) 1, (int) (byte) -1); long long27 = gJChronology17.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField28 = gJChronology17.millis(); org.joda.time.DateTimeField dateTimeField29 = gJChronology17.weekyear(); org.joda.time.DurationField durationField30 = gJChronology17.halfdays(); org.joda.time.DateTimeField dateTimeField31 = gJChronology17.secondOfDay(); org.joda.time.DurationField durationField32 = gJChronology17.halfdays(); org.joda.time.DurationField durationField33 = gJChronology17.hours(); boolean boolean34 = gJChronology3.equals((java.lang.Object) gJChronology17); int int35 = gJChronology3.getMinimumDaysInFirstWeek(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(durationField13); org.junit.Assert.assertNotNull(gJChronology17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertTrue("'" + long22 + "' != '" + 1L + "'", long22 == 1L); org.junit.Assert.assertTrue("'" + long27 + "' != '" + (-61062076799990L) + "'", long27 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField28); org.junit.Assert.assertNotNull(dateTimeField29); org.junit.Assert.assertNotNull(durationField30); org.junit.Assert.assertNotNull(dateTimeField31); org.junit.Assert.assertNotNull(durationField32); org.junit.Assert.assertNotNull(durationField33); org.junit.Assert.assertTrue("'" + boolean34 + "' != '" + true + "'", boolean34 == true); org.junit.Assert.assertTrue("'" + int35 + "' != '" + 1 + "'", int35 == 1); } @Test @Ignore public void test1955() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1955"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.weekyears(); java.lang.String str15 = gJChronology3.toString(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.hourOfDay(); org.joda.time.DurationField durationField17 = gJChronology3.months(); org.joda.time.ReadablePeriod readablePeriod18 = null; long long21 = gJChronology3.add(readablePeriod18, 10L, (int) (short) -1); org.joda.time.DateTimeField dateTimeField22 = gJChronology3.millisOfDay(); org.joda.time.DateTimeField dateTimeField23 = gJChronology3.dayOfWeek(); org.joda.time.DateTimeField dateTimeField24 = gJChronology3.secondOfMinute(); org.joda.time.DateTimeField dateTimeField25 = gJChronology3.dayOfMonth(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertEquals("'" + str15 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str15, "GJChronology[Etc/UTC,mdfw=1]"); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(durationField17); org.junit.Assert.assertTrue("'" + long21 + "' != '" + 10L + "'", long21 == 10L); org.junit.Assert.assertNotNull(dateTimeField22); org.junit.Assert.assertNotNull(dateTimeField23); org.junit.Assert.assertNotNull(dateTimeField24); org.junit.Assert.assertNotNull(dateTimeField25); } @Test public void test1956() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1956"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.centuryOfEra(); org.joda.time.DurationField durationField7 = gJChronology3.centuries(); org.joda.time.DateTimeZone dateTimeZone8 = gJChronology3.getZone(); org.joda.time.DurationField durationField9 = gJChronology3.days(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.dayOfYear(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.minuteOfHour(); org.joda.time.DurationField durationField12 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField13 = gJChronology3.yearOfEra(); long long17 = gJChronology3.add((long) 'a', (long) 0, (int) (short) 100); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(dateTimeZone8); org.junit.Assert.assertNotNull(durationField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(durationField12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertTrue("'" + long17 + "' != '" + 97L + "'", long17 == 97L); } @Test @Ignore public void test1957() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1957"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.hourOfHalfday(); org.joda.time.DurationField durationField17 = gJChronology3.weeks(); org.joda.time.DurationField durationField18 = gJChronology3.seconds(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.clockhourOfDay(); org.joda.time.DurationField durationField20 = gJChronology3.minutes(); org.joda.time.DateTimeField dateTimeField21 = gJChronology3.clockhourOfDay(); long long25 = gJChronology3.add((-61062076799990L), 10L, (int) (byte) 100); org.joda.time.DateTimeField dateTimeField26 = gJChronology3.weekOfWeekyear(); org.joda.time.DateTimeField dateTimeField27 = gJChronology3.weekyear(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(durationField17); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(durationField20); org.junit.Assert.assertNotNull(dateTimeField21); org.junit.Assert.assertTrue("'" + long25 + "' != '" + (-61062076798990L) + "'", long25 == (-61062076798990L)); org.junit.Assert.assertNotNull(dateTimeField26); org.junit.Assert.assertNotNull(dateTimeField27); } @Test @Ignore public void test1958() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1958"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.era(); org.joda.time.DurationField durationField6 = gJChronology3.days(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.minuteOfHour(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); boolean boolean13 = gJChronology11.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField14 = gJChronology11.year(); org.joda.time.DateTimeZone dateTimeZone15 = gJChronology11.getZone(); org.joda.time.chrono.GJChronology gJChronology18 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone15, 1665L, (int) (short) 1); org.joda.time.Chronology chronology19 = gJChronology3.withZone(dateTimeZone15); java.lang.String str20 = gJChronology3.toString(); // The following exception was thrown during execution in test generation try { long long28 = gJChronology3.getDateTimeMillis(0, (int) (byte) 100, 0, (int) '4', 1, (int) '4', (int) (byte) 0); org.junit.Assert.fail("Expected exception of type org.joda.time.IllegalFieldValueException; message: Value 52 for hourOfDay must be in the range [0,23]"); } catch (org.joda.time.IllegalFieldValueException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertTrue("'" + boolean13 + "' != '" + false + "'", boolean13 == false); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(dateTimeZone15); org.junit.Assert.assertNotNull(gJChronology18); org.junit.Assert.assertNotNull(chronology19); org.junit.Assert.assertEquals("'" + str20 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str20, "GJChronology[Etc/UTC,mdfw=1]"); } @Test public void test1959() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1959"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.dayOfMonth(); org.joda.time.DurationField durationField10 = gJChronology3.halfdays(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.secondOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(dateTimeField12); } @Test @Ignore public void test1960() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1960"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.yearOfEra(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.centuryOfEra(); org.joda.time.DurationField durationField19 = gJChronology3.days(); org.joda.time.DurationField durationField20 = gJChronology3.days(); org.joda.time.DateTimeField dateTimeField21 = gJChronology3.hourOfHalfday(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(durationField19); org.junit.Assert.assertNotNull(durationField20); org.junit.Assert.assertNotNull(dateTimeField21); } @Test @Ignore public void test1961() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1961"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.millisOfDay(); org.joda.time.DurationField durationField17 = gJChronology3.hours(); org.joda.time.DateTimeZone dateTimeZone18 = null; org.joda.time.ReadableInstant readableInstant19 = null; org.joda.time.chrono.GJChronology gJChronology21 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone18, readableInstant19, (int) (short) 1); boolean boolean23 = gJChronology21.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField24 = gJChronology21.year(); org.joda.time.DateTimeField dateTimeField25 = gJChronology21.dayOfWeek(); org.joda.time.DateTimeZone dateTimeZone26 = null; org.joda.time.ReadableInstant readableInstant27 = null; org.joda.time.chrono.GJChronology gJChronology29 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone26, readableInstant27, (int) (short) 1); org.joda.time.DateTimeField dateTimeField30 = gJChronology29.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField31 = gJChronology29.year(); org.joda.time.DurationField durationField32 = gJChronology29.centuries(); org.joda.time.DateTimeField dateTimeField33 = gJChronology29.dayOfMonth(); boolean boolean34 = gJChronology21.equals((java.lang.Object) dateTimeField33); int int35 = gJChronology21.getMinimumDaysInFirstWeek(); org.joda.time.DurationField durationField36 = gJChronology21.months(); org.joda.time.DateTimeField dateTimeField37 = gJChronology21.secondOfMinute(); boolean boolean38 = gJChronology3.equals((java.lang.Object) gJChronology21); org.joda.time.DateTimeZone dateTimeZone39 = null; org.joda.time.ReadableInstant readableInstant40 = null; org.joda.time.chrono.GJChronology gJChronology42 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone39, readableInstant40, (int) (short) 1); org.joda.time.DateTimeField dateTimeField43 = gJChronology42.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod44 = null; long long47 = gJChronology42.add(readablePeriod44, (long) (short) 1, (int) (byte) -1); long long52 = gJChronology42.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField53 = gJChronology42.weeks(); org.joda.time.DateTimeField dateTimeField54 = gJChronology42.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField55 = gJChronology42.millisOfDay(); org.joda.time.DateTimeField dateTimeField56 = gJChronology42.weekyearOfCentury(); int int57 = gJChronology42.getMinimumDaysInFirstWeek(); org.joda.time.DateTimeField dateTimeField58 = gJChronology42.weekyearOfCentury(); boolean boolean59 = gJChronology21.equals((java.lang.Object) gJChronology42); java.lang.String str60 = gJChronology21.toString(); org.joda.time.DurationField durationField61 = gJChronology21.years(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(durationField17); org.junit.Assert.assertNotNull(gJChronology21); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + false + "'", boolean23 == false); org.junit.Assert.assertNotNull(dateTimeField24); org.junit.Assert.assertNotNull(dateTimeField25); org.junit.Assert.assertNotNull(gJChronology29); org.junit.Assert.assertNotNull(dateTimeField30); org.junit.Assert.assertNotNull(dateTimeField31); org.junit.Assert.assertNotNull(durationField32); org.junit.Assert.assertNotNull(dateTimeField33); org.junit.Assert.assertTrue("'" + boolean34 + "' != '" + false + "'", boolean34 == false); org.junit.Assert.assertTrue("'" + int35 + "' != '" + 1 + "'", int35 == 1); org.junit.Assert.assertNotNull(durationField36); org.junit.Assert.assertNotNull(dateTimeField37); org.junit.Assert.assertTrue("'" + boolean38 + "' != '" + true + "'", boolean38 == true); org.junit.Assert.assertNotNull(gJChronology42); org.junit.Assert.assertNotNull(dateTimeField43); org.junit.Assert.assertTrue("'" + long47 + "' != '" + 1L + "'", long47 == 1L); org.junit.Assert.assertTrue("'" + long52 + "' != '" + (-61062076799990L) + "'", long52 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField53); org.junit.Assert.assertNotNull(dateTimeField54); org.junit.Assert.assertNotNull(dateTimeField55); org.junit.Assert.assertNotNull(dateTimeField56); org.junit.Assert.assertTrue("'" + int57 + "' != '" + 1 + "'", int57 == 1); org.junit.Assert.assertNotNull(dateTimeField58); org.junit.Assert.assertTrue("'" + boolean59 + "' != '" + true + "'", boolean59 == true); org.junit.Assert.assertEquals("'" + str60 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str60, "GJChronology[Etc/UTC,mdfw=1]"); org.junit.Assert.assertNotNull(durationField61); } @Test public void test1962() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1962"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.year(); long long9 = gJChronology3.add((long) 10, (long) (byte) 100, (int) (short) 0); org.joda.time.DurationField durationField10 = gJChronology3.weekyears(); org.joda.time.ReadablePeriod readablePeriod11 = null; long long14 = gJChronology3.add(readablePeriod11, 3130053L, 10); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertTrue("'" + long9 + "' != '" + 10L + "'", long9 == 10L); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertTrue("'" + long14 + "' != '" + 3130053L + "'", long14 == 3130053L); } @Test public void test1963() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1963"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeZone dateTimeZone9 = gJChronology3.getZone(); org.joda.time.ReadableInstant readableInstant10 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone9, readableInstant10); org.joda.time.chrono.GJChronology gJChronology14 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone9, 1110L, (int) (short) 1); org.joda.time.DateTimeField dateTimeField15 = gJChronology14.millisOfSecond(); org.joda.time.DateTimeZone dateTimeZone16 = gJChronology14.getZone(); org.joda.time.DateTimeZone dateTimeZone17 = gJChronology14.getZone(); java.lang.Class<?> wildcardClass18 = dateTimeZone17.getClass(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertNotNull(dateTimeZone9); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(gJChronology14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeZone16); org.junit.Assert.assertNotNull(dateTimeZone17); org.junit.Assert.assertNotNull(wildcardClass18); } @Test @Ignore public void test1964() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1964"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.weeks(); org.joda.time.DurationField durationField15 = gJChronology3.years(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.era(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.millisOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); } @Test public void test1965() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1965"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.centuryOfEra(); org.joda.time.DurationField durationField7 = gJChronology3.centuries(); org.joda.time.DateTimeZone dateTimeZone8 = gJChronology3.getZone(); org.joda.time.DurationField durationField9 = gJChronology3.millis(); org.joda.time.DurationField durationField10 = gJChronology3.minutes(); org.joda.time.DurationField durationField11 = gJChronology3.minutes(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.minuteOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(dateTimeZone8); org.junit.Assert.assertNotNull(durationField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertNotNull(durationField11); org.junit.Assert.assertNotNull(dateTimeField12); } @Test @Ignore public void test1966() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1966"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.weekyears(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.monthOfYear(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.hourOfDay(); java.lang.String str17 = gJChronology3.toString(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertEquals("'" + str17 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str17, "GJChronology[Etc/UTC,mdfw=1]"); } @Test @Ignore public void test1967() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1967"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.weeks(); org.joda.time.DurationField durationField15 = gJChronology3.years(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.era(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.yearOfEra(); org.joda.time.DurationField durationField18 = gJChronology3.seconds(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(durationField18); } @Test public void test1968() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1968"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, 0L, (int) (byte) 1); org.junit.Assert.assertNotNull(gJChronology3); } @Test @Ignore public void test1969() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1969"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.yearOfEra(); org.joda.time.DateTimeZone dateTimeZone19 = null; org.joda.time.ReadableInstant readableInstant20 = null; org.joda.time.chrono.GJChronology gJChronology22 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone19, readableInstant20, (int) (short) 1); boolean boolean24 = gJChronology22.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField25 = gJChronology22.year(); org.joda.time.DateTimeZone dateTimeZone26 = gJChronology22.getZone(); org.joda.time.DateTimeZone dateTimeZone27 = null; org.joda.time.ReadableInstant readableInstant28 = null; org.joda.time.chrono.GJChronology gJChronology30 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone27, readableInstant28, (int) (short) 1); boolean boolean32 = gJChronology30.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField33 = gJChronology30.year(); org.joda.time.Instant instant34 = gJChronology30.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology36 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone26, (org.joda.time.ReadableInstant) instant34, (int) (byte) 1); org.joda.time.DateTimeZone dateTimeZone37 = null; org.joda.time.ReadableInstant readableInstant38 = null; org.joda.time.chrono.GJChronology gJChronology40 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone37, readableInstant38, (int) (short) 1); boolean boolean42 = gJChronology40.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField43 = gJChronology40.year(); org.joda.time.DateTimeZone dateTimeZone44 = gJChronology40.getZone(); org.joda.time.Chronology chronology45 = gJChronology36.withZone(dateTimeZone44); org.joda.time.ReadableInstant readableInstant46 = null; org.joda.time.chrono.GJChronology gJChronology47 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone44, readableInstant46); org.joda.time.DateTimeZone dateTimeZone48 = null; org.joda.time.ReadableInstant readableInstant49 = null; org.joda.time.chrono.GJChronology gJChronology51 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone48, readableInstant49, (int) (short) 1); org.joda.time.DateTimeField dateTimeField52 = gJChronology51.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod53 = null; long long56 = gJChronology51.add(readablePeriod53, (long) (short) 1, (int) (byte) -1); long long61 = gJChronology51.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField62 = gJChronology51.millis(); org.joda.time.DurationField durationField63 = gJChronology51.centuries(); org.joda.time.Instant instant64 = gJChronology51.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology65 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone44, (org.joda.time.ReadableInstant) instant64); org.joda.time.Chronology chronology66 = gJChronology3.withZone(dateTimeZone44); org.joda.time.DateTimeZone dateTimeZone67 = null; org.joda.time.ReadableInstant readableInstant68 = null; org.joda.time.chrono.GJChronology gJChronology70 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone67, readableInstant68, (int) (short) 1); boolean boolean72 = gJChronology70.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField73 = gJChronology70.centuryOfEra(); org.joda.time.DurationField durationField74 = gJChronology70.centuries(); org.joda.time.DateTimeZone dateTimeZone75 = gJChronology70.getZone(); org.joda.time.DurationField durationField76 = gJChronology70.millis(); org.joda.time.DateTimeField dateTimeField77 = gJChronology70.minuteOfDay(); org.joda.time.Instant instant78 = gJChronology70.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology79 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone44, (org.joda.time.ReadableInstant) instant78); org.joda.time.chrono.GJChronology gJChronology80 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone44); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(gJChronology22); org.junit.Assert.assertTrue("'" + boolean24 + "' != '" + false + "'", boolean24 == false); org.junit.Assert.assertNotNull(dateTimeField25); org.junit.Assert.assertNotNull(dateTimeZone26); org.junit.Assert.assertNotNull(gJChronology30); org.junit.Assert.assertTrue("'" + boolean32 + "' != '" + false + "'", boolean32 == false); org.junit.Assert.assertNotNull(dateTimeField33); org.junit.Assert.assertNotNull(instant34); org.junit.Assert.assertNotNull(gJChronology36); org.junit.Assert.assertNotNull(gJChronology40); org.junit.Assert.assertTrue("'" + boolean42 + "' != '" + false + "'", boolean42 == false); org.junit.Assert.assertNotNull(dateTimeField43); org.junit.Assert.assertNotNull(dateTimeZone44); org.junit.Assert.assertNotNull(chronology45); org.junit.Assert.assertNotNull(gJChronology47); org.junit.Assert.assertNotNull(gJChronology51); org.junit.Assert.assertNotNull(dateTimeField52); org.junit.Assert.assertTrue("'" + long56 + "' != '" + 1L + "'", long56 == 1L); org.junit.Assert.assertTrue("'" + long61 + "' != '" + (-61062076799990L) + "'", long61 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField62); org.junit.Assert.assertNotNull(durationField63); org.junit.Assert.assertNotNull(instant64); org.junit.Assert.assertNotNull(gJChronology65); org.junit.Assert.assertNotNull(chronology66); org.junit.Assert.assertNotNull(gJChronology70); org.junit.Assert.assertTrue("'" + boolean72 + "' != '" + false + "'", boolean72 == false); org.junit.Assert.assertNotNull(dateTimeField73); org.junit.Assert.assertNotNull(durationField74); org.junit.Assert.assertNotNull(dateTimeZone75); org.junit.Assert.assertNotNull(durationField76); org.junit.Assert.assertNotNull(dateTimeField77); org.junit.Assert.assertNotNull(instant78); org.junit.Assert.assertNotNull(gJChronology79); org.junit.Assert.assertNotNull(gJChronology80); } @Test @Ignore public void test1970() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1970"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.chrono.GJChronology gJChronology1 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField2 = gJChronology1.minuteOfHour(); org.joda.time.DateTimeZone dateTimeZone3 = null; org.joda.time.ReadableInstant readableInstant4 = null; org.joda.time.chrono.GJChronology gJChronology6 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone3, readableInstant4, (int) (short) 1); org.joda.time.DateTimeField dateTimeField7 = gJChronology6.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod8 = null; long long11 = gJChronology6.add(readablePeriod8, (long) (short) 1, (int) (byte) -1); long long16 = gJChronology6.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField17 = gJChronology6.seconds(); org.joda.time.DateTimeZone dateTimeZone18 = gJChronology6.getZone(); org.joda.time.Chronology chronology19 = gJChronology1.withZone(dateTimeZone18); org.joda.time.chrono.GJChronology gJChronology20 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField21 = gJChronology20.minuteOfHour(); long long27 = gJChronology20.getDateTimeMillis(9L, 10, 0, (int) (byte) 0, (int) (short) 10); org.joda.time.Instant instant28 = gJChronology20.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology29 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone18, (org.joda.time.ReadableInstant) instant28); org.joda.time.DateTimeZone dateTimeZone30 = null; org.joda.time.ReadableInstant readableInstant31 = null; org.joda.time.chrono.GJChronology gJChronology33 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone30, readableInstant31, (int) (short) 1); org.joda.time.DateTimeField dateTimeField34 = gJChronology33.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod35 = null; long long38 = gJChronology33.add(readablePeriod35, (long) (short) 1, (int) (byte) -1); long long43 = gJChronology33.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField44 = gJChronology33.millis(); org.joda.time.DateTimeField dateTimeField45 = gJChronology33.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField46 = gJChronology33.hourOfHalfday(); org.joda.time.DurationField durationField47 = gJChronology33.weeks(); org.joda.time.DurationField durationField48 = gJChronology33.seconds(); org.joda.time.DurationField durationField49 = gJChronology33.months(); org.joda.time.DurationField durationField50 = gJChronology33.minutes(); org.joda.time.DateTimeField dateTimeField51 = gJChronology33.clockhourOfHalfday(); org.joda.time.DateTimeField dateTimeField52 = gJChronology33.yearOfEra(); org.joda.time.Instant instant53 = gJChronology33.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology54 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone18, (org.joda.time.ReadableInstant) instant53); org.joda.time.chrono.GJChronology gJChronology55 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, (org.joda.time.ReadableInstant) instant53); org.junit.Assert.assertNotNull(gJChronology1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertNotNull(gJChronology6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertTrue("'" + long11 + "' != '" + 1L + "'", long11 == 1L); org.junit.Assert.assertTrue("'" + long16 + "' != '" + (-61062076799990L) + "'", long16 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField17); org.junit.Assert.assertNotNull(dateTimeZone18); org.junit.Assert.assertNotNull(chronology19); org.junit.Assert.assertNotNull(gJChronology20); org.junit.Assert.assertNotNull(dateTimeField21); org.junit.Assert.assertTrue("'" + long27 + "' != '" + 36000010L + "'", long27 == 36000010L); org.junit.Assert.assertNotNull(instant28); org.junit.Assert.assertNotNull(gJChronology29); org.junit.Assert.assertNotNull(gJChronology33); org.junit.Assert.assertNotNull(dateTimeField34); org.junit.Assert.assertTrue("'" + long38 + "' != '" + 1L + "'", long38 == 1L); org.junit.Assert.assertTrue("'" + long43 + "' != '" + (-61062076799990L) + "'", long43 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField44); org.junit.Assert.assertNotNull(dateTimeField45); org.junit.Assert.assertNotNull(dateTimeField46); org.junit.Assert.assertNotNull(durationField47); org.junit.Assert.assertNotNull(durationField48); org.junit.Assert.assertNotNull(durationField49); org.junit.Assert.assertNotNull(durationField50); org.junit.Assert.assertNotNull(dateTimeField51); org.junit.Assert.assertNotNull(dateTimeField52); org.junit.Assert.assertNotNull(instant53); org.junit.Assert.assertNotNull(gJChronology54); org.junit.Assert.assertNotNull(gJChronology55); } @Test public void test1971() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1971"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.dayOfWeek(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.secondOfDay(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.era(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.monthOfYear(); org.joda.time.DurationField durationField11 = gJChronology3.hours(); org.joda.time.DurationField durationField12 = gJChronology3.months(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(durationField11); org.junit.Assert.assertNotNull(durationField12); } @Test public void test1972() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1972"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.minuteOfHour(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.weekyearOfCentury(); org.joda.time.DateTimeField dateTimeField3 = gJChronology0.minuteOfHour(); org.joda.time.DateTimeField dateTimeField4 = gJChronology0.era(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertNotNull(dateTimeField3); org.junit.Assert.assertNotNull(dateTimeField4); } @Test public void test1973() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1973"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeZone dateTimeZone9 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.secondOfDay(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.dayOfYear(); org.joda.time.DateTimeZone dateTimeZone12 = null; org.joda.time.ReadableInstant readableInstant13 = null; org.joda.time.chrono.GJChronology gJChronology15 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone12, readableInstant13, (int) (short) 1); org.joda.time.DateTimeField dateTimeField16 = gJChronology15.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField17 = gJChronology15.year(); org.joda.time.DurationField durationField18 = gJChronology15.centuries(); org.joda.time.DateTimeField dateTimeField19 = gJChronology15.dayOfMonth(); long long23 = gJChronology15.add((-1L), (long) (short) 0, (int) (byte) 10); org.joda.time.DateTimeField dateTimeField24 = gJChronology15.halfdayOfDay(); org.joda.time.DateTimeZone dateTimeZone25 = gJChronology15.getZone(); org.joda.time.chrono.GJChronology gJChronology26 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone25); org.joda.time.Chronology chronology27 = gJChronology3.withZone(dateTimeZone25); org.joda.time.DateTimeField dateTimeField28 = gJChronology3.hourOfDay(); org.joda.time.DateTimeField dateTimeField29 = gJChronology3.weekyear(); org.joda.time.DateTimeField dateTimeField30 = gJChronology3.yearOfCentury(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertNotNull(dateTimeZone9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(gJChronology15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertTrue("'" + long23 + "' != '" + (-1L) + "'", long23 == (-1L)); org.junit.Assert.assertNotNull(dateTimeField24); org.junit.Assert.assertNotNull(dateTimeZone25); org.junit.Assert.assertNotNull(gJChronology26); org.junit.Assert.assertNotNull(chronology27); org.junit.Assert.assertNotNull(dateTimeField28); org.junit.Assert.assertNotNull(dateTimeField29); org.junit.Assert.assertNotNull(dateTimeField30); } @Test @Ignore public void test1974() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1974"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DurationField durationField15 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.weekyear(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.dayOfYear(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.minuteOfDay(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField20 = gJChronology3.era(); org.joda.time.DateTimeField dateTimeField21 = gJChronology3.hourOfHalfday(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(dateTimeField20); org.junit.Assert.assertNotNull(dateTimeField21); } @Test public void test1975() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1975"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.yearOfEra(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.weekOfWeekyear(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.yearOfCentury(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.hourOfDay(); org.joda.time.DateTimeField dateTimeField13 = gJChronology3.monthOfYear(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(dateTimeField13); } @Test public void test1976() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1976"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); boolean boolean13 = gJChronology11.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField14 = gJChronology11.year(); org.joda.time.Instant instant15 = gJChronology11.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology16 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone7, (org.joda.time.ReadableInstant) instant15); long long20 = gJChronology16.add((long) (short) 10, (long) 10, (int) (short) 10); org.joda.time.DurationField durationField21 = gJChronology16.minutes(); org.joda.time.ReadablePartial readablePartial22 = null; // The following exception was thrown during execution in test generation try { int[] intArray24 = gJChronology16.get(readablePartial22, (long) (short) 0); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertTrue("'" + boolean13 + "' != '" + false + "'", boolean13 == false); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(instant15); org.junit.Assert.assertNotNull(gJChronology16); org.junit.Assert.assertTrue("'" + long20 + "' != '" + 110L + "'", long20 == 110L); org.junit.Assert.assertNotNull(durationField21); } @Test public void test1977() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1977"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.year(); org.joda.time.DurationField durationField6 = gJChronology3.centuries(); java.lang.Object obj7 = null; boolean boolean8 = gJChronology3.equals(obj7); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.centuryOfEra(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.millisOfSecond(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertTrue("'" + boolean8 + "' != '" + false + "'", boolean8 == false); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); } @Test @Ignore public void test1978() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1978"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.seconds(); org.joda.time.DateTimeZone dateTimeZone15 = null; org.joda.time.ReadableInstant readableInstant16 = null; org.joda.time.chrono.GJChronology gJChronology18 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone15, readableInstant16, (int) (short) 1); org.joda.time.DateTimeField dateTimeField19 = gJChronology18.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod20 = null; long long23 = gJChronology18.add(readablePeriod20, (long) (short) 1, (int) (byte) -1); long long28 = gJChronology18.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField29 = gJChronology18.seconds(); org.joda.time.DateTimeZone dateTimeZone30 = null; org.joda.time.ReadableInstant readableInstant31 = null; org.joda.time.chrono.GJChronology gJChronology33 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone30, readableInstant31, (int) (short) 1); boolean boolean35 = gJChronology33.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField36 = gJChronology33.year(); org.joda.time.DateTimeZone dateTimeZone37 = gJChronology33.getZone(); org.joda.time.DateTimeField dateTimeField38 = gJChronology33.minuteOfDay(); org.joda.time.DateTimeZone dateTimeZone39 = gJChronology33.getZone(); org.joda.time.Chronology chronology40 = gJChronology18.withZone(dateTimeZone39); org.joda.time.chrono.GJChronology gJChronology41 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone39); org.joda.time.DateTimeZone dateTimeZone42 = null; org.joda.time.ReadableInstant readableInstant43 = null; org.joda.time.chrono.GJChronology gJChronology45 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone42, readableInstant43, (int) (short) 1); boolean boolean47 = gJChronology45.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField48 = gJChronology45.year(); org.joda.time.DateTimeField dateTimeField49 = gJChronology45.dayOfWeek(); org.joda.time.DateTimeZone dateTimeZone50 = null; org.joda.time.ReadableInstant readableInstant51 = null; org.joda.time.chrono.GJChronology gJChronology53 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone50, readableInstant51, (int) (short) 1); org.joda.time.DateTimeField dateTimeField54 = gJChronology53.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField55 = gJChronology53.year(); org.joda.time.DurationField durationField56 = gJChronology53.centuries(); org.joda.time.DateTimeField dateTimeField57 = gJChronology53.dayOfMonth(); boolean boolean58 = gJChronology45.equals((java.lang.Object) dateTimeField57); int int59 = gJChronology45.getMinimumDaysInFirstWeek(); org.joda.time.DurationField durationField60 = gJChronology45.months(); org.joda.time.DateTimeField dateTimeField61 = gJChronology45.year(); org.joda.time.DurationField durationField62 = gJChronology45.hours(); org.joda.time.DateTimeField dateTimeField63 = gJChronology45.halfdayOfDay(); org.joda.time.Instant instant64 = gJChronology45.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology65 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone39, (org.joda.time.ReadableInstant) instant64); org.joda.time.Chronology chronology66 = gJChronology3.withZone(dateTimeZone39); org.joda.time.ReadablePartial readablePartial67 = null; // The following exception was thrown during execution in test generation try { int[] intArray69 = gJChronology3.get(readablePartial67, (long) (byte) 0); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(gJChronology18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertTrue("'" + long23 + "' != '" + 1L + "'", long23 == 1L); org.junit.Assert.assertTrue("'" + long28 + "' != '" + (-61062076799990L) + "'", long28 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField29); org.junit.Assert.assertNotNull(gJChronology33); org.junit.Assert.assertTrue("'" + boolean35 + "' != '" + false + "'", boolean35 == false); org.junit.Assert.assertNotNull(dateTimeField36); org.junit.Assert.assertNotNull(dateTimeZone37); org.junit.Assert.assertNotNull(dateTimeField38); org.junit.Assert.assertNotNull(dateTimeZone39); org.junit.Assert.assertNotNull(chronology40); org.junit.Assert.assertNotNull(gJChronology41); org.junit.Assert.assertNotNull(gJChronology45); org.junit.Assert.assertTrue("'" + boolean47 + "' != '" + false + "'", boolean47 == false); org.junit.Assert.assertNotNull(dateTimeField48); org.junit.Assert.assertNotNull(dateTimeField49); org.junit.Assert.assertNotNull(gJChronology53); org.junit.Assert.assertNotNull(dateTimeField54); org.junit.Assert.assertNotNull(dateTimeField55); org.junit.Assert.assertNotNull(durationField56); org.junit.Assert.assertNotNull(dateTimeField57); org.junit.Assert.assertTrue("'" + boolean58 + "' != '" + false + "'", boolean58 == false); org.junit.Assert.assertTrue("'" + int59 + "' != '" + 1 + "'", int59 == 1); org.junit.Assert.assertNotNull(durationField60); org.junit.Assert.assertNotNull(dateTimeField61); org.junit.Assert.assertNotNull(durationField62); org.junit.Assert.assertNotNull(dateTimeField63); org.junit.Assert.assertNotNull(instant64); org.junit.Assert.assertNotNull(gJChronology65); org.junit.Assert.assertNotNull(chronology66); } @Test public void test1979() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1979"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.Instant instant7 = gJChronology3.getGregorianCutover(); org.joda.time.DurationField durationField8 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.year(); org.joda.time.DurationField durationField10 = gJChronology3.weekyears(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.weekyear(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(instant7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertNotNull(dateTimeField11); } @Test public void test1980() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1980"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField5 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.weekOfWeekyear(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.minuteOfHour(); org.joda.time.DurationField durationField8 = gJChronology3.halfdays(); org.joda.time.DateTimeZone dateTimeZone9 = null; org.joda.time.ReadableInstant readableInstant10 = null; org.joda.time.chrono.GJChronology gJChronology12 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone9, readableInstant10, (int) (short) 1); boolean boolean14 = gJChronology12.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField15 = gJChronology12.centuryOfEra(); org.joda.time.DurationField durationField16 = gJChronology12.centuries(); org.joda.time.DurationField durationField17 = gJChronology12.days(); org.joda.time.DurationField durationField18 = gJChronology12.minutes(); org.joda.time.DateTimeField dateTimeField19 = gJChronology12.year(); boolean boolean20 = gJChronology3.equals((java.lang.Object) dateTimeField19); org.joda.time.DateTimeField dateTimeField21 = gJChronology3.dayOfMonth(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(durationField5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(gJChronology12); org.junit.Assert.assertTrue("'" + boolean14 + "' != '" + false + "'", boolean14 == false); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(durationField17); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertTrue("'" + boolean20 + "' != '" + false + "'", boolean20 == false); org.junit.Assert.assertNotNull(dateTimeField21); } @Test @Ignore public void test1981() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1981"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.weeks(); org.joda.time.DurationField durationField15 = gJChronology3.years(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.era(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.secondOfDay(); long long21 = gJChronology3.add(1665L, (long) (short) 10, (int) '4'); java.lang.String str22 = gJChronology3.toString(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertTrue("'" + long21 + "' != '" + 2185L + "'", long21 == 2185L); org.junit.Assert.assertEquals("'" + str22 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str22, "GJChronology[Etc/UTC,mdfw=1]"); } @Test @Ignore public void test1982() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1982"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField5 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.weekOfWeekyear(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.minuteOfHour(); org.joda.time.Instant instant8 = gJChronology3.getGregorianCutover(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.minuteOfHour(); long long13 = gJChronology3.add((-510L), (-42L), (int) (short) -1); java.lang.String str14 = gJChronology3.toString(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(durationField5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(instant8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-468L) + "'", long13 == (-468L)); org.junit.Assert.assertEquals("'" + str14 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str14, "GJChronology[Etc/UTC,mdfw=1]"); } @Test @Ignore public void test1983() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1983"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.hourOfHalfday(); org.joda.time.DurationField durationField17 = gJChronology3.weeks(); org.joda.time.DurationField durationField18 = gJChronology3.seconds(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.weekyear(); org.joda.time.DateTimeZone dateTimeZone20 = null; org.joda.time.ReadableInstant readableInstant21 = null; org.joda.time.chrono.GJChronology gJChronology23 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone20, readableInstant21, (int) (short) 1); org.joda.time.DateTimeField dateTimeField24 = gJChronology23.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod25 = null; long long28 = gJChronology23.add(readablePeriod25, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeZone dateTimeZone29 = gJChronology23.getZone(); org.joda.time.ReadableInstant readableInstant30 = null; org.joda.time.chrono.GJChronology gJChronology31 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone29, readableInstant30); org.joda.time.chrono.GJChronology gJChronology34 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone29, 1110L, (int) (short) 1); org.joda.time.Chronology chronology35 = gJChronology3.withZone(dateTimeZone29); org.joda.time.DurationField durationField36 = gJChronology3.hours(); org.joda.time.DateTimeField dateTimeField37 = gJChronology3.dayOfYear(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(durationField17); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(gJChronology23); org.junit.Assert.assertNotNull(dateTimeField24); org.junit.Assert.assertTrue("'" + long28 + "' != '" + 1L + "'", long28 == 1L); org.junit.Assert.assertNotNull(dateTimeZone29); org.junit.Assert.assertNotNull(gJChronology31); org.junit.Assert.assertNotNull(gJChronology34); org.junit.Assert.assertNotNull(chronology35); org.junit.Assert.assertNotNull(durationField36); org.junit.Assert.assertNotNull(dateTimeField37); } @Test @Ignore public void test1984() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1984"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.yearOfEra(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.yearOfCentury(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.era(); java.lang.String str13 = gJChronology3.toString(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertEquals("'" + str13 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str13, "GJChronology[Etc/UTC,mdfw=1]"); } @Test public void test1985() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1985"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.clockhourOfDay(); org.joda.time.Chronology chronology6 = gJChronology3.withUTC(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.secondOfMinute(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.millisOfSecond(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.era(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(chronology6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); } @Test public void test1986() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1986"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.dayOfWeek(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); org.joda.time.DateTimeField dateTimeField12 = gJChronology11.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField13 = gJChronology11.year(); org.joda.time.DurationField durationField14 = gJChronology11.centuries(); org.joda.time.DateTimeField dateTimeField15 = gJChronology11.dayOfMonth(); boolean boolean16 = gJChronology3.equals((java.lang.Object) dateTimeField15); int int17 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DurationField durationField18 = gJChronology3.months(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.year(); org.joda.time.DurationField durationField20 = gJChronology3.hours(); org.joda.time.DurationField durationField21 = gJChronology3.weekyears(); org.joda.time.DateTimeField dateTimeField22 = gJChronology3.dayOfMonth(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(dateTimeField13); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertTrue("'" + boolean16 + "' != '" + false + "'", boolean16 == false); org.junit.Assert.assertTrue("'" + int17 + "' != '" + 1 + "'", int17 == 1); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(durationField20); org.junit.Assert.assertNotNull(durationField21); org.junit.Assert.assertNotNull(dateTimeField22); } @Test public void test1987() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1987"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DurationField durationField5 = gJChronology3.years(); org.joda.time.DurationField durationField6 = gJChronology3.years(); org.joda.time.DurationField durationField7 = gJChronology3.weeks(); org.joda.time.ReadablePeriod readablePeriod8 = null; // The following exception was thrown during execution in test generation try { int[] intArray10 = gJChronology3.get(readablePeriod8, (-42L)); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(durationField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(durationField7); } @Test @Ignore public void test1988() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1988"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField1 = gJChronology0.minuteOfHour(); org.joda.time.DateTimeZone dateTimeZone2 = null; org.joda.time.ReadableInstant readableInstant3 = null; org.joda.time.chrono.GJChronology gJChronology5 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone2, readableInstant3, (int) (short) 1); org.joda.time.DateTimeField dateTimeField6 = gJChronology5.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod7 = null; long long10 = gJChronology5.add(readablePeriod7, (long) (short) 1, (int) (byte) -1); long long15 = gJChronology5.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField16 = gJChronology5.seconds(); org.joda.time.DateTimeZone dateTimeZone17 = gJChronology5.getZone(); org.joda.time.Chronology chronology18 = gJChronology0.withZone(dateTimeZone17); org.joda.time.DateTimeZone dateTimeZone19 = null; org.joda.time.ReadableInstant readableInstant20 = null; org.joda.time.chrono.GJChronology gJChronology22 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone19, readableInstant20, (int) (short) 1); org.joda.time.DateTimeField dateTimeField23 = gJChronology22.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod24 = null; long long27 = gJChronology22.add(readablePeriod24, (long) (short) 1, (int) (byte) -1); long long32 = gJChronology22.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField33 = gJChronology22.seconds(); org.joda.time.DateTimeZone dateTimeZone34 = null; org.joda.time.ReadableInstant readableInstant35 = null; org.joda.time.chrono.GJChronology gJChronology37 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone34, readableInstant35, (int) (short) 1); boolean boolean39 = gJChronology37.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField40 = gJChronology37.year(); org.joda.time.DateTimeZone dateTimeZone41 = gJChronology37.getZone(); org.joda.time.DateTimeField dateTimeField42 = gJChronology37.minuteOfDay(); org.joda.time.DateTimeZone dateTimeZone43 = gJChronology37.getZone(); org.joda.time.Chronology chronology44 = gJChronology22.withZone(dateTimeZone43); org.joda.time.Chronology chronology45 = gJChronology0.withZone(dateTimeZone43); org.joda.time.DateTimeField dateTimeField46 = gJChronology0.yearOfCentury(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(dateTimeField1); org.junit.Assert.assertNotNull(gJChronology5); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertTrue("'" + long10 + "' != '" + 1L + "'", long10 == 1L); org.junit.Assert.assertTrue("'" + long15 + "' != '" + (-61062076799990L) + "'", long15 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField16); org.junit.Assert.assertNotNull(dateTimeZone17); org.junit.Assert.assertNotNull(chronology18); org.junit.Assert.assertNotNull(gJChronology22); org.junit.Assert.assertNotNull(dateTimeField23); org.junit.Assert.assertTrue("'" + long27 + "' != '" + 1L + "'", long27 == 1L); org.junit.Assert.assertTrue("'" + long32 + "' != '" + (-61062076799990L) + "'", long32 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField33); org.junit.Assert.assertNotNull(gJChronology37); org.junit.Assert.assertTrue("'" + boolean39 + "' != '" + false + "'", boolean39 == false); org.junit.Assert.assertNotNull(dateTimeField40); org.junit.Assert.assertNotNull(dateTimeZone41); org.junit.Assert.assertNotNull(dateTimeField42); org.junit.Assert.assertNotNull(dateTimeZone43); org.junit.Assert.assertNotNull(chronology44); org.junit.Assert.assertNotNull(chronology45); org.junit.Assert.assertNotNull(dateTimeField46); } @Test @Ignore public void test1989() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1989"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.millis(); org.joda.time.DurationField durationField15 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.weekyear(); org.joda.time.DurationField durationField17 = gJChronology3.weekyears(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.weekOfWeekyear(); int int19 = gJChronology3.getMinimumDaysInFirstWeek(); org.joda.time.DurationField durationField20 = gJChronology3.halfdays(); org.joda.time.chrono.GJChronology gJChronology21 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DateTimeField dateTimeField22 = gJChronology21.minuteOfHour(); org.joda.time.DateTimeZone dateTimeZone23 = null; org.joda.time.ReadableInstant readableInstant24 = null; org.joda.time.chrono.GJChronology gJChronology26 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone23, readableInstant24, (int) (short) 1); org.joda.time.DateTimeField dateTimeField27 = gJChronology26.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod28 = null; long long31 = gJChronology26.add(readablePeriod28, (long) (short) 1, (int) (byte) -1); long long36 = gJChronology26.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField37 = gJChronology26.seconds(); org.joda.time.DateTimeZone dateTimeZone38 = gJChronology26.getZone(); org.joda.time.Chronology chronology39 = gJChronology21.withZone(dateTimeZone38); org.joda.time.chrono.GJChronology gJChronology40 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone38); org.joda.time.DateTimeZone dateTimeZone41 = null; org.joda.time.ReadableInstant readableInstant42 = null; org.joda.time.chrono.GJChronology gJChronology44 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone41, readableInstant42, (int) (short) 1); boolean boolean46 = gJChronology44.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField47 = gJChronology44.year(); org.joda.time.DateTimeZone dateTimeZone48 = gJChronology44.getZone(); org.joda.time.DateTimeField dateTimeField49 = gJChronology44.millisOfSecond(); org.joda.time.DurationField durationField50 = gJChronology44.seconds(); org.joda.time.DateTimeField dateTimeField51 = gJChronology44.centuryOfEra(); org.joda.time.DurationField durationField52 = gJChronology44.seconds(); org.joda.time.DateTimeField dateTimeField53 = gJChronology44.millisOfSecond(); org.joda.time.Instant instant54 = gJChronology44.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology55 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone38, (org.joda.time.ReadableInstant) instant54); org.joda.time.Chronology chronology56 = gJChronology3.withZone(dateTimeZone38); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(durationField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(durationField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertTrue("'" + int19 + "' != '" + 1 + "'", int19 == 1); org.junit.Assert.assertNotNull(durationField20); org.junit.Assert.assertNotNull(gJChronology21); org.junit.Assert.assertNotNull(dateTimeField22); org.junit.Assert.assertNotNull(gJChronology26); org.junit.Assert.assertNotNull(dateTimeField27); org.junit.Assert.assertTrue("'" + long31 + "' != '" + 1L + "'", long31 == 1L); org.junit.Assert.assertTrue("'" + long36 + "' != '" + (-61062076799990L) + "'", long36 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField37); org.junit.Assert.assertNotNull(dateTimeZone38); org.junit.Assert.assertNotNull(chronology39); org.junit.Assert.assertNotNull(gJChronology40); org.junit.Assert.assertNotNull(gJChronology44); org.junit.Assert.assertTrue("'" + boolean46 + "' != '" + false + "'", boolean46 == false); org.junit.Assert.assertNotNull(dateTimeField47); org.junit.Assert.assertNotNull(dateTimeZone48); org.junit.Assert.assertNotNull(dateTimeField49); org.junit.Assert.assertNotNull(durationField50); org.junit.Assert.assertNotNull(dateTimeField51); org.junit.Assert.assertNotNull(durationField52); org.junit.Assert.assertNotNull(dateTimeField53); org.junit.Assert.assertNotNull(instant54); org.junit.Assert.assertNotNull(gJChronology55); org.junit.Assert.assertNotNull(chronology56); } @Test @Ignore public void test1990() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1990"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.millisOfDay(); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.secondOfMinute(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.centuryOfEra(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.centuryOfEra(); org.joda.time.ReadablePartial readablePartial20 = null; // The following exception was thrown during execution in test generation try { long long22 = gJChronology3.set(readablePartial20, 0L); org.junit.Assert.fail("Expected exception of type java.lang.NullPointerException; message: null"); } catch (java.lang.NullPointerException e) { // Expected exception. } org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(dateTimeField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(dateTimeField19); } @Test @Ignore public void test1991() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1991"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeZone dateTimeZone8 = null; org.joda.time.ReadableInstant readableInstant9 = null; org.joda.time.chrono.GJChronology gJChronology11 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone8, readableInstant9, (int) (short) 1); boolean boolean13 = gJChronology11.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField14 = gJChronology11.year(); org.joda.time.Instant instant15 = gJChronology11.getGregorianCutover(); org.joda.time.chrono.GJChronology gJChronology17 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone7, (org.joda.time.ReadableInstant) instant15, (int) (byte) 1); org.joda.time.DurationField durationField18 = gJChronology17.weeks(); org.joda.time.DurationField durationField19 = gJChronology17.weeks(); java.lang.String str20 = gJChronology17.toString(); org.joda.time.DateTimeField dateTimeField21 = gJChronology17.secondOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(gJChronology11); org.junit.Assert.assertTrue("'" + boolean13 + "' != '" + false + "'", boolean13 == false); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(instant15); org.junit.Assert.assertNotNull(gJChronology17); org.junit.Assert.assertNotNull(durationField18); org.junit.Assert.assertNotNull(durationField19); org.junit.Assert.assertEquals("'" + str20 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str20, "GJChronology[Etc/UTC,mdfw=1]"); org.junit.Assert.assertNotNull(dateTimeField21); } @Test public void test1992() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1992"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.dayOfYear(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.year(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.monthOfYear(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.minuteOfDay(); org.joda.time.DateTimeZone dateTimeZone12 = null; org.joda.time.ReadableInstant readableInstant13 = null; org.joda.time.chrono.GJChronology gJChronology15 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone12, readableInstant13, (int) (short) 1); boolean boolean17 = gJChronology15.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField18 = gJChronology15.centuryOfEra(); org.joda.time.DurationField durationField19 = gJChronology15.centuries(); org.joda.time.DurationField durationField20 = gJChronology15.days(); org.joda.time.DurationField durationField21 = gJChronology15.minutes(); org.joda.time.DateTimeField dateTimeField22 = gJChronology15.year(); boolean boolean23 = gJChronology3.equals((java.lang.Object) gJChronology15); org.joda.time.DateTimeField dateTimeField24 = gJChronology15.monthOfYear(); int int25 = gJChronology15.getMinimumDaysInFirstWeek(); org.joda.time.DateTimeField dateTimeField26 = gJChronology15.clockhourOfDay(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(gJChronology15); org.junit.Assert.assertTrue("'" + boolean17 + "' != '" + false + "'", boolean17 == false); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(durationField19); org.junit.Assert.assertNotNull(durationField20); org.junit.Assert.assertNotNull(durationField21); org.junit.Assert.assertNotNull(dateTimeField22); org.junit.Assert.assertTrue("'" + boolean23 + "' != '" + true + "'", boolean23 == true); org.junit.Assert.assertNotNull(dateTimeField24); org.junit.Assert.assertTrue("'" + int25 + "' != '" + 1 + "'", int25 == 1); org.junit.Assert.assertNotNull(dateTimeField26); } @Test public void test1993() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1993"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.year(); org.joda.time.DateTimeZone dateTimeZone7 = gJChronology3.getZone(); org.joda.time.DateTimeField dateTimeField8 = gJChronology3.millisOfSecond(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.clockhourOfHalfday(); org.joda.time.DurationField durationField10 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.weekyear(); org.joda.time.DurationField durationField13 = gJChronology3.halfdays(); org.joda.time.DateTimeField dateTimeField14 = gJChronology3.hourOfDay(); org.joda.time.DateTimeZone dateTimeZone15 = gJChronology3.getZone(); org.joda.time.DurationField durationField16 = gJChronology3.days(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(dateTimeZone7); org.junit.Assert.assertNotNull(dateTimeField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(durationField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(durationField13); org.junit.Assert.assertNotNull(dateTimeField14); org.junit.Assert.assertNotNull(dateTimeZone15); org.junit.Assert.assertNotNull(durationField16); } @Test public void test1994() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1994"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField5 = gJChronology3.year(); org.joda.time.DurationField durationField6 = gJChronology3.centuries(); org.joda.time.DateTimeField dateTimeField7 = gJChronology3.dayOfMonth(); long long11 = gJChronology3.add((-1L), (long) (short) 0, (int) (byte) 10); org.joda.time.DateTimeField dateTimeField12 = gJChronology3.halfdayOfDay(); org.joda.time.DateTimeZone dateTimeZone13 = gJChronology3.getZone(); org.joda.time.chrono.GJChronology gJChronology14 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone13); org.joda.time.DurationField durationField15 = gJChronology14.hours(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); org.junit.Assert.assertNotNull(dateTimeField7); org.junit.Assert.assertTrue("'" + long11 + "' != '" + (-1L) + "'", long11 == (-1L)); org.junit.Assert.assertNotNull(dateTimeField12); org.junit.Assert.assertNotNull(dateTimeZone13); org.junit.Assert.assertNotNull(gJChronology14); org.junit.Assert.assertNotNull(durationField15); } @Test public void test1995() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1995"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField1 = gJChronology0.weeks(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.clockhourOfHalfday(); org.joda.time.DurationField durationField3 = gJChronology0.days(); org.joda.time.DateTimeField dateTimeField4 = gJChronology0.hourOfDay(); int int5 = gJChronology0.getMinimumDaysInFirstWeek(); org.joda.time.ReadablePeriod readablePeriod6 = null; long long9 = gJChronology0.add(readablePeriod6, 53238L, (int) (byte) -1); org.joda.time.DateTimeField dateTimeField10 = gJChronology0.hourOfHalfday(); org.joda.time.DateTimeField dateTimeField11 = gJChronology0.weekyear(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(durationField1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertNotNull(durationField3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + int5 + "' != '" + 4 + "'", int5 == 4); org.junit.Assert.assertTrue("'" + long9 + "' != '" + 53238L + "'", long9 == 53238L); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeField11); } @Test public void test1996() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1996"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField1 = gJChronology0.weeks(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.clockhourOfHalfday(); org.joda.time.DateTimeField dateTimeField3 = gJChronology0.hourOfDay(); org.joda.time.DateTimeField dateTimeField4 = gJChronology0.dayOfMonth(); org.joda.time.DateTimeField dateTimeField5 = gJChronology0.minuteOfHour(); org.joda.time.DurationField durationField6 = gJChronology0.hours(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(durationField1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertNotNull(dateTimeField3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertNotNull(dateTimeField5); org.junit.Assert.assertNotNull(durationField6); } @Test public void test1997() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1997"); org.joda.time.chrono.GJChronology gJChronology0 = org.joda.time.chrono.GJChronology.getInstance(); org.joda.time.DurationField durationField1 = gJChronology0.weeks(); org.joda.time.DateTimeField dateTimeField2 = gJChronology0.clockhourOfHalfday(); org.joda.time.DateTimeField dateTimeField3 = gJChronology0.halfdayOfDay(); org.joda.time.DurationField durationField4 = gJChronology0.weeks(); org.junit.Assert.assertNotNull(gJChronology0); org.junit.Assert.assertNotNull(durationField1); org.junit.Assert.assertNotNull(dateTimeField2); org.junit.Assert.assertNotNull(dateTimeField3); org.junit.Assert.assertNotNull(durationField4); } @Test @Ignore public void test1998() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1998"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.weeks(); org.joda.time.DateTimeField dateTimeField15 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.weekyear(); java.lang.String str17 = gJChronology3.toString(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.secondOfDay(); org.joda.time.ReadablePeriod readablePeriod19 = null; long long22 = gJChronology3.add(readablePeriod19, (-71399996L), (int) '4'); org.joda.time.DurationField durationField23 = gJChronology3.weeks(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertNotNull(dateTimeField15); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertEquals("'" + str17 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str17, "GJChronology[Etc/UTC,mdfw=1]"); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertTrue("'" + long22 + "' != '" + (-71399996L) + "'", long22 == (-71399996L)); org.junit.Assert.assertNotNull(durationField23); } @Test public void test1999() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test1999"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); boolean boolean5 = gJChronology3.equals((java.lang.Object) (byte) 0); org.joda.time.DateTimeField dateTimeField6 = gJChronology3.dayOfYear(); org.joda.time.DurationField durationField7 = gJChronology3.days(); org.joda.time.DurationField durationField8 = gJChronology3.seconds(); org.joda.time.DateTimeField dateTimeField9 = gJChronology3.minuteOfHour(); org.joda.time.DateTimeField dateTimeField10 = gJChronology3.clockhourOfDay(); org.joda.time.DateTimeField dateTimeField11 = gJChronology3.dayOfMonth(); org.joda.time.DurationField durationField12 = gJChronology3.hours(); long long16 = gJChronology3.add(52L, 32L, (int) 'a'); org.joda.time.DateTimeField dateTimeField17 = gJChronology3.minuteOfHour(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertTrue("'" + boolean5 + "' != '" + false + "'", boolean5 == false); org.junit.Assert.assertNotNull(dateTimeField6); org.junit.Assert.assertNotNull(durationField7); org.junit.Assert.assertNotNull(durationField8); org.junit.Assert.assertNotNull(dateTimeField9); org.junit.Assert.assertNotNull(dateTimeField10); org.junit.Assert.assertNotNull(dateTimeField11); org.junit.Assert.assertNotNull(durationField12); org.junit.Assert.assertTrue("'" + long16 + "' != '" + 3156L + "'", long16 == 3156L); org.junit.Assert.assertNotNull(dateTimeField17); } @Test @Ignore public void test2000() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest3.test2000"); org.joda.time.DateTimeZone dateTimeZone0 = null; org.joda.time.ReadableInstant readableInstant1 = null; org.joda.time.chrono.GJChronology gJChronology3 = org.joda.time.chrono.GJChronology.getInstance(dateTimeZone0, readableInstant1, (int) (short) 1); org.joda.time.DateTimeField dateTimeField4 = gJChronology3.clockhourOfDay(); org.joda.time.ReadablePeriod readablePeriod5 = null; long long8 = gJChronology3.add(readablePeriod5, (long) (short) 1, (int) (byte) -1); long long13 = gJChronology3.getDateTimeMillis((int) '#', (int) (short) 1, (int) (short) 10, 10); org.joda.time.DurationField durationField14 = gJChronology3.weekyears(); java.lang.String str15 = gJChronology3.toString(); org.joda.time.DateTimeField dateTimeField16 = gJChronology3.hourOfDay(); org.joda.time.DurationField durationField17 = gJChronology3.seconds(); org.joda.time.DateTimeField dateTimeField18 = gJChronology3.millisOfSecond(); org.joda.time.DateTimeField dateTimeField19 = gJChronology3.yearOfEra(); org.joda.time.DurationField durationField20 = gJChronology3.years(); org.junit.Assert.assertNotNull(gJChronology3); org.junit.Assert.assertNotNull(dateTimeField4); org.junit.Assert.assertTrue("'" + long8 + "' != '" + 1L + "'", long8 == 1L); org.junit.Assert.assertTrue("'" + long13 + "' != '" + (-61062076799990L) + "'", long13 == (-61062076799990L)); org.junit.Assert.assertNotNull(durationField14); org.junit.Assert.assertEquals("'" + str15 + "' != '" + "GJChronology[Etc/UTC,mdfw=1]" + "'", str15, "GJChronology[Etc/UTC,mdfw=1]"); org.junit.Assert.assertNotNull(dateTimeField16); org.junit.Assert.assertNotNull(durationField17); org.junit.Assert.assertNotNull(dateTimeField18); org.junit.Assert.assertNotNull(dateTimeField19); org.junit.Assert.assertNotNull(durationField20); } }
[ "P.Derakhshanfar@tudelft.nl" ]
P.Derakhshanfar@tudelft.nl
c85636f243c3934268d4161eff636c0538b24a31
4f58ac2dcf92963221dc3acb5463258f25cb18ef
/service/src/test/java/org/sgc/rak/exceptions/BadRequestExceptionTest.java
537acefef8976652ed413bd01648cc2d4fa21a24
[ "MIT" ]
permissive
bobbylight/random-acts-of-kinase
8e48a794b7d82f152417bba5746a4d0addd92207
ad27523ba331c316c77b700939c52ec80840da3c
refs/heads/master
2023-04-12T05:35:11.432393
2022-03-01T03:24:21
2022-03-01T03:24:21
90,100,517
3
0
MIT
2023-03-05T23:49:09
2017-05-03T02:41:49
Java
UTF-8
Java
false
false
456
java
package org.sgc.rak.exceptions; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import org.springframework.http.HttpStatus; public class BadRequestExceptionTest { @Test public void testConstructor() { BadRequestException e = new BadRequestException("bad request"); Assertions.assertEquals(HttpStatus.BAD_REQUEST, e.getStatus()); Assertions.assertEquals("bad request", e.getMessage()); } }
[ "robert.e.futrell@gmail.com" ]
robert.e.futrell@gmail.com
1c0e8cee22be8dcee60abc9cca405775dfe40b36
1365d7ab7bba46209f0de4ae51e659988a09d359
/GCAthletics/Droid/obj/Debug/android/src/md59562a7ef7076ff06564cbdb3de385a2a/DatePickerFragment.java
7aab03fdffe470b5403533b5c2ba675567a9445c
[]
no_license
gcAthletics/gcAthleticsApp
e437a32d32450c4b07216f576b97246ac8ed1c99
e908585d8273e13e14c9e032a2a7b924f558b756
refs/heads/master
2021-08-28T01:31:01.008126
2017-12-11T01:30:41
2017-12-11T01:30:41
107,054,532
0
0
null
null
null
null
UTF-8
Java
false
false
1,805
java
package md59562a7ef7076ff06564cbdb3de385a2a; public class DatePickerFragment extends android.app.DialogFragment implements mono.android.IGCUserPeer, android.app.DatePickerDialog.OnDateSetListener { /** @hide */ public static final String __md_methods; static { __md_methods = "n_onCreateDialog:(Landroid/os/Bundle;)Landroid/app/Dialog;:GetOnCreateDialog_Landroid_os_Bundle_Handler\n" + "n_onDateSet:(Landroid/widget/DatePicker;III)V:GetOnDateSet_Landroid_widget_DatePicker_IIIHandler:Android.App.DatePickerDialog/IOnDateSetListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\n" + ""; mono.android.Runtime.register ("GCAthletics.Droid.DatePickerFragment, GCAthletics.Droid, Version=1.0.6547.30203, Culture=neutral, PublicKeyToken=null", DatePickerFragment.class, __md_methods); } public DatePickerFragment () { super (); if (getClass () == DatePickerFragment.class) mono.android.TypeManager.Activate ("GCAthletics.Droid.DatePickerFragment, GCAthletics.Droid, Version=1.0.6547.30203, Culture=neutral, PublicKeyToken=null", "", this, new java.lang.Object[] { }); } public android.app.Dialog onCreateDialog (android.os.Bundle p0) { return n_onCreateDialog (p0); } private native android.app.Dialog n_onCreateDialog (android.os.Bundle p0); public void onDateSet (android.widget.DatePicker p0, int p1, int p2, int p3) { n_onDateSet (p0, p1, p2, p3); } private native void n_onDateSet (android.widget.DatePicker p0, int p1, int p2, int p3); private java.util.ArrayList refList; public void monodroidAddReference (java.lang.Object obj) { if (refList == null) refList = new java.util.ArrayList (); refList.add (obj); } public void monodroidClearReferences () { if (refList != null) refList.clear (); } }
[ "john.spehr@bobcats.gcsu.edu" ]
john.spehr@bobcats.gcsu.edu
c14c2576a8f166dfd5f52a13f0396479ec4bd959
9a06877515a01b4b768c6dc9b5db38f3e88336cf
/src/org/quilt/cl/TryStacks.java
cea2afb8566ece4b15820dd064b1110d601cc122
[]
no_license
ModelInference/perracotta
f8ce46eb4638e6bc99f2422167b82e9be10a7061
ad84ccc0a19da6a29742e56730f2d4a3aae4f39a
refs/heads/master
2021-01-10T16:25:53.760655
2015-12-20T00:14:11
2015-12-20T00:14:11
47,436,730
6
0
null
null
null
null
UTF-8
Java
false
false
10,926
java
/* TryStacks.java */ package org.quilt.cl; import java.util.*; import org.apache.bcel.generic.*; import org.quilt.graph.*; /** * Manages try/catch blocks. Adds subgraphs to the method * graph for each exception handler, building the graph that * GraphTransformer hangs bytecode off. * * This module must cope with the fact that the compiler allocates exception * handlers in no particular order. * * Hacked from earlier 0.5-compatible code. * * @author < a href="jdd@dixons.org">Jim Dixon</a> */ public class TryStacks { private ControlFlowGraph graph = null; private SortedBlocks blox = null; private int handlerCount = 0; private int index; // index into the arrays that follow private int tryStart[]; // bytecount position ... private int tryEnd[]; // inclusive private int handlerPC[]; // start of catch blocks private ObjectType exception[]; private boolean done []; // debugging only? /** Hash of bytecode offsets of end of try blocks. */ private Map tryEndNdx = new HashMap(); /** * Comparator for exception handlers. These need to be sorted * by tryStart (offset of beginning of try block) in ascending * order, then by tryEnd (offset of end of try block) in * descending order, then by handlerPC in ascending order. */ private class CmpHandlers implements Comparator { /** Implementation of compare. * @param o1 first handler in comparison * @param o2 second * @return -1 if o1 < o2, 0 if 01 == o2, 1 if o1 > o2 */ public int compare (Object o1, Object o2) { CodeExceptionGen a = (CodeExceptionGen) o1; CodeExceptionGen b = (CodeExceptionGen) o2; // -1 if a < b, 0 if a = b, 1 if a > b, in some sense int aStart = a.getStartPC().getPosition(); int bStart = b.getStartPC().getPosition(); // ascending order of start offset if (aStart < bStart) { return -1; } else if (aStart > bStart) { return 1; } // descending order of end offset int aEnd = a.getEndPC().getPosition(); int bEnd = b.getEndPC().getPosition(); if (aEnd < bEnd) { return 1; } else if (aEnd > bEnd) { return -1; } // ascending order of handler offset int aHandler = a.getHandlerPC().getPosition(); int bHandler = b.getHandlerPC().getPosition(); if (aHandler < bHandler) { return -1; } else if (aHandler > bHandler) { return 1; } else { return 0; } } } // CONSTRUCTOR ////////////////////////////////////////////////// /** * Constructor setting up try/catch arrays. Sorts the exception * handlers and then builds a nested control flow graph, including * the first code vertex in each try block who first vertex is a * code vertex. * * @param handlers Array of exception handlers for a method. * @param blocks Vertices indexed by position in bytecode (?). * @param g Graph for the method. */ public TryStacks ( final CodeExceptionGen[] handlers, SortedBlocks blocks, ControlFlowGraph g) { if (handlers == null || blocks == null || g == null) { throw new IllegalArgumentException("null constructor argument"); } blox = blocks; graph = g; handlerCount = handlers.length; if (handlerCount > 0) { tryStart = new int[handlerCount]; tryEnd = new int[handlerCount]; handlerPC = new int[handlerCount]; exception = new ObjectType[handlerCount]; done = new boolean [handlerCount]; // sort the handlers first by position of beginning of // try block, then by position of end of try block, then // by handler address SortedMap sm = new TreeMap(new CmpHandlers()); for (int i=0; i<handlerCount; i++) { sm.put ( handlers[i], new Integer(i) ); } Iterator it = sm.keySet().iterator(); for (int j = 0; it.hasNext(); j++ ) { Integer iInt = (Integer) sm.get ( (CodeExceptionGen) it.next() ); int i = iInt.intValue(); tryStart[j] = handlers[i].getStartPC().getPosition(); tryEnd[j] = handlers[i].getEndPC().getPosition(); handlerPC[j] = handlers[i].getHandlerPC().getPosition(); exception[j] = handlers[i].getCatchType(); done[j] = false; } Edge edge = graph.getEntry().getEdge(); for (int i = 0; i < handlerCount && !done[i]; /* */ ) { ControlFlowGraph sub = handleTry(graph, edge) ; edge = sub.getExit().getEdge(); } } // if handlerCount > 0 } /** * Initialize the graph and set up catch blocks for the i-th * try block. * * @param index Index into table of exception handlers, updated by this * method. * @param g Graph which will be parent of the graph created. * @param e On entry, edge along which graph is created * @return Subgraph created */ private ControlFlowGraph handleTry ( final ControlFlowGraph g, final Edge parentEdge ) { int start = tryStart[index]; int end = tryEnd[index]; if ( parentEdge == null) { throw new IllegalArgumentException("null edge"); } // deal with tries with multiple exception handlers ControlFlowGraph subgraph = handleTryGroup (g, parentEdge); Vertex subEntry = subgraph.getEntry(); Edge currEdge = subEntry.getEdge(); // deal with trys starting at the same bytecode offset ControlFlowGraph subsub; if ((index < handlerCount) && (tryStart[index] == start)) { subsub = handleTry (subgraph, currEdge); currEdge = subsub.getExit().getEdge(); } else { // this was the most deeply nested try block starting at // this offset, so bytecode gets assigned to vertex // hanging off the Entry's preferred edge. Create that // vertex along currEdge. currEdge = blox.add (tryStart[index - 1], currEdge ).getEdge(); } // other tries nested within this try block int nested = 0; while ((index < handlerCount) && (tryStart[index] < end)) { subsub = handleTry (subgraph, currEdge); currEdge = subsub.getExit().getEdge(); } // set up tryEnd index by graph tryEndNdx.put(subgraph, new Integer(start)); return subgraph; } /** * Deal with a try block with one or more catch blocks. * * @param i Index into handler table, updated by this method. * @param parent Parent graph. * @param parentEdge Edge along which subgraph is created. * @returns Subgraph created. */ private ControlFlowGraph handleTryGroup (final ControlFlowGraph parent, final Edge parentEdge) { int k = 1; // number of catch blocks int pos = tryStart[index]; int end = tryEnd[index]; for (int j = index + 1; j < handlerCount && tryStart[j] == pos && tryEnd[j] == end; j++) { // try blocks are identical k++; } // create a subgraph with a k-sized connector ControlFlowGraph subgraph = (ControlFlowGraph) parent.subgraph (parentEdge, k); Edge currentEdge = subgraph.getExit().getEdge(); // connect to catch blocks ComplexConnector conn = (ComplexConnector)subgraph.getEntry().getConnector(); for (int j = 0; j < k; j++) { done[index + j] = true; Edge edge = conn.getEdge(j); CodeVertex v = subgraph.insertCodeVertex (edge); v.setPos (handlerPC[index + j] ); // v.getConnector().setData ( new ConnData() ); blox.add (v); } index += k; return subgraph; } /** * Return an array of CatchData, with vertices for the beginning * and end of the try block, a vertex for the handler, and the * exception handled. * * @return Catch handler descriptions for the graph. */ public CatchData [] getCatchData() { CatchData [] cd = new CatchData[tryStart.length]; for (int i = 0; i < tryStart.length; i++) { cd [i] = new CatchData (blox.get(tryStart[i]), blox.get(tryEnd[i]), blox.get(handlerPC[i]), exception[i] ); } return cd; } /** * Return the class TryStack uses to sort exception handlers. * * @return The comparator used to sort handlers. */ public Comparator getComparator() { return new CmpHandlers(); } /** * Get the bytecode offset of end of the try block for this graph. * * @param graph A subgraph created by this package. * @return The bytecode offset of the end of the try block for this * or -1 if there is no such graph. */ public int getEndTry (final ControlFlowGraph graph) { if (tryEndNdx.containsKey(graph)) { Integer i = (Integer)tryEndNdx.get(graph); return i.intValue(); } return -1; } /** * @return Newline-terminated string description of try blocks and * handlers. */ public String toString() { String s = ""; if (handlerCount > 0) { // columns will not align properly for non-trivial cases s = " index start end handler pc\n"; for (int i = 0; i < handlerCount; i++) { s += " " + i + " [" + tryStart[i] + ".." + tryEnd[i] + "] --> " + handlerPC[i] + "\n"; } } return s; } }
[ "caro.lemieux@gmail.com" ]
caro.lemieux@gmail.com
36106a377ddf35843b892dccaa76a9bf0ab32eb5
94210ad1bd01e15bef4684884e7e3a7c8f9974df
/code/bigdata-leader-cockpit/src/main/java/com/sunmnet/bigdata/systemManage/base/systemManage/model/SystemImgModel.java
0ed06c5a205c339851f18eaaa2a08378374b92e4
[]
no_license
Bidonglei/LDJSC.BCSFXY.WEB
0e2917f01ee5383207bdb0332c8e4a7bb4bd5f32
b191e64ddc70188b912efa2997cca107ab736bd8
refs/heads/master
2023-09-02T13:43:04.086499
2021-10-14T07:38:31
2021-10-14T07:38:31
416,671,001
0
0
null
null
null
null
UTF-8
Java
false
false
1,317
java
package com.sunmnet.bigdata.systemManage.base.systemManage.model; import com.sunmnet.bigdata.systemManage.base.support.model.BaseModel; /** * 查询系统风格设置列表 * @param querySystemStyleList * @author zfb * @create 2019-01-21 * @return */ public class SystemImgModel extends BaseModel{ /** * */ private static final long serialVersionUID = 4712105242052160102L; //图片编号 private String imgNo; //图片名称 private String imgName; // 图片存储地址 private String imgUrl; //应用状态 WYY未应用 YYY已应用 private String applyStatus; //设置位置 private String setPosition; public String getImgNo() { return imgNo; } public void setImgNo(String imgNo) { this.imgNo = imgNo; } public String getImgName() { return imgName; } public void setImgName(String imgName) { this.imgName = imgName; } public String getImgUrl() { return imgUrl; } public void setImgUrl(String imgUrl) { this.imgUrl = imgUrl; } public String getApplyStatus() { return applyStatus; } public void setApplyStatus(String applyStatus) { this.applyStatus = applyStatus; } public String getSetPosition() { return setPosition; } public void setSetPosition(String setPosition) { this.setPosition = setPosition; } }
[ "haojj@sunmnet.com" ]
haojj@sunmnet.com
b55c6b5e88c4057b8351c2572785a651fa28854b
f875538ce04cb2286eca61da0b89f0ffcfe16d76
/src/test/java/monotoneStack/MonoStackTest.java
a81d482685e056028e10704040df057c42e49105
[]
no_license
cicidi/leetcode-WIP
caa8856932bbffe336e6f87bf37b5a2b1541e052
f2137a57fc11b26441f642511139110cbb120951
refs/heads/master
2021-06-27T04:54:36.815927
2020-10-23T19:27:52
2020-10-23T19:27:52
174,902,990
0
0
null
null
null
null
UTF-8
Java
false
false
2,522
java
package monotoneStack; import org.junit.jupiter.api.Assertions; import org.junit.platform.runner.JUnitPlatform; import org.junit.runner.RunWith; import java.util.ArrayList; import java.util.Arrays; import java.util.List; /** * @author walter on 2020-07-06 * Lintcode * url */ @RunWith(JUnitPlatform.class) class MonoStackTest { MonoStack monoStack = new MonoStack(); int[] input1 = new int[]{1, 2, 3, 4, 5, 6, 7, 8}; int[] input2 = new int[]{8, 7, 6, 5, 4, 3, 2, 1}; int[] input3 = new int[]{5, 7, 6, 8, 4, 11, 2, 9, 1}; @org.junit.jupiter.api.Test void ascStack() { // test case 1 List<List<Integer>> expectLifeCycle1 = new ArrayList<>(); List<Integer> stage = Arrays.asList(1, 2, 3, 4, 5, 6, 7, 8); expectLifeCycle1.add(stage); List<List<Integer>> result = monoStack.ascStack(input1); for (int i = 0; i < result.size(); i++) { Assertions.assertTrue(result.get(i).equals(expectLifeCycle1.get(i))); } //test case 2 List<Integer> stage1 = Arrays.asList(8); List<Integer> stage2 = Arrays.asList(7); List<Integer> stage3 = Arrays.asList(6); List<Integer> stage4 = Arrays.asList(5); List<Integer> stage5 = Arrays.asList(4); List<Integer> stage6 = Arrays.asList(3); List<Integer> stage7 = Arrays.asList(2); List<Integer> stage8 = Arrays.asList(1); List<List<Integer>> expectLifeCycle2 = new ArrayList<>(Arrays.asList(stage1, stage2, stage3, stage4, stage5, stage6, stage7, stage8)); result = monoStack.ascStack(input2); for (int i = 0; i < result.size(); i++) { Assertions.assertTrue(result.get(i).equals(expectLifeCycle2.get(i))); } stage1 = Arrays.asList(7); stage2 = Arrays.asList(5, 6, 8); stage3 = Arrays.asList(4, 11); stage4 = Arrays.asList(2, 9); stage5 = Arrays.asList(1); List<List<Integer>> expectLifeCycle3 = new ArrayList<>(Arrays.asList(stage1, stage2, stage3, stage4, stage5, stage6, stage7, stage8)); result = monoStack.ascStack(input3); for (int i = 0; i < result.size(); i++) { System.out.println("result : " + Arrays.toString(result.get(i).toArray())); System.out.println("expect : " + Arrays.toString(expectLifeCycle3.get(i).toArray())); Assertions.assertTrue(result.get(i).equals(expectLifeCycle3.get(i))); } } @org.junit.jupiter.api.Test void descStack() { } }
[ "cicidi@gmail.com" ]
cicidi@gmail.com
47f7252e3b4864cb76d755c2f58b8d48daad5262
d78169eda4bef7abe2263c9171b3308b0b6854f5
/febs/febs-service/src/main/java/com/febs/search/lucene/service/impl/LuceneServiceImpl.java
12f72e9436098975ebcc03a872928c4ed1d92bde
[ "Apache-2.0" ]
permissive
Agnes1030/diplomaprj
d87798ffbd2d050a2f902ae8b82d97ae01090ab6
544d6502f2fcc6f690c55958a19208fe5693d090
refs/heads/master
2023-02-13T14:40:52.841969
2021-01-10T04:32:55
2021-01-10T04:32:55
328,295,936
0
0
null
null
null
null
UTF-8
Java
false
false
5,846
java
package com.febs.search.lucene.service.impl; import java.io.IOException; import java.math.BigDecimal; import java.text.ParseException; import java.util.ArrayList; import java.util.List; import org.apache.lucene.analysis.Analyzer; import org.apache.lucene.document.Document; import org.apache.lucene.document.DoubleDocValuesField; import org.apache.lucene.document.Field; import org.apache.lucene.document.StoredField; import org.apache.lucene.document.StringField; import org.apache.lucene.document.TextField; import org.apache.lucene.index.IndexWriter; import org.apache.lucene.index.Term; import org.apache.lucene.queryparser.classic.QueryParser; import org.apache.lucene.search.BooleanClause; import org.apache.lucene.search.BooleanQuery; import org.apache.lucene.search.IndexSearcher; import org.apache.lucene.search.Query; import org.apache.lucene.search.ScoreDoc; import org.apache.lucene.search.SearcherManager; import org.apache.lucene.search.Sort; import org.apache.lucene.search.SortField; import org.apache.lucene.search.TermQuery; import org.apache.lucene.search.TopDocs; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.febs.common.domain.QueryRequest; import com.febs.search.lucene.service.LuceneService; import com.febs.shop.domain.Product; import com.github.pagehelper.PageInfo; /** * @ClassName LuceneServiceImpl **/ @Service public class LuceneServiceImpl implements LuceneService { @Autowired private IndexWriter indexWriter; @Autowired private Analyzer analyzer; @Autowired private SearcherManager searcherManager; @Override public void createProductIndex(List<Product> productList) throws IOException { for (Product p : productList) { this.createProductIndex(p); } } @Override public PageInfo searchProduct(QueryRequest queryRequest, Product product) throws Exception, ParseException { searcherManager.maybeRefresh(); IndexSearcher indexSearcher = searcherManager.acquire(); BooleanQuery.Builder builder = new BooleanQuery.Builder(); Sort sort = new Sort(); // 排序规则 sort.setSort(new SortField("id", SortField.Type.LONG, true)); // 模糊匹配,匹配词 String keyStr = product.getTitle(); if (product != null && product.getTitle() != null) { // 输入空格,不进行模糊查询 if (!"".equals(keyStr.replaceAll(" ", ""))) { builder.add(new QueryParser("title", analyzer).parse(keyStr), BooleanClause.Occur.MUST); } } // 按keywords检索分类 String keywrods = product.getKeywords(); if (product != null && product.getKeywords() != null) { // 输入空格,不进行模糊查询 if (!"".equals(keywrods.replaceAll(" ", ""))) { builder.add(new QueryParser("keywords", analyzer).parse(keywrods), BooleanClause.Occur.MUST); } } // 精确查询 if (product != null && product.getId() != null) { builder.add(new TermQuery(new Term("id", String.valueOf(product.getId()))), BooleanClause.Occur.MUST); } PageInfo pageInfo = new PageInfo(); pageInfo.setPageNum(queryRequest.getPageNum() == 0 ? 1 : queryRequest.getPageNum()); pageInfo.setPageSize(queryRequest.getPageSize() == 0 ? 10 : queryRequest.getPageSize()); Query query = builder.build(); ScoreDoc sd; int currentPage = pageInfo.getPageNum(); int pageSize = pageInfo.getPageSize(); if (pageInfo.getPageNum() == 1) { sd = null; } else { int num = pageSize * (currentPage - 1);// 获取上一页的最后是多少 TopDocs td = indexSearcher.search(query, num, sort); sd = td.scoreDocs[num - 1]; } TopDocs topDocs = indexSearcher.searchAfter(sd, query, currentPage * pageSize, sort); pageInfo.setTotal(topDocs.totalHits.value); ScoreDoc[] hits = topDocs.scoreDocs; List<Product> pList = new ArrayList<Product>(); for (int i = 0; i < hits.length; i++) { Document doc = indexSearcher.doc(hits[i].doc); Product item = new Product(); item.setId(Long.parseLong(doc.get("id"))); item.setTitle(doc.get("title")); item.setThumbnail(doc.get("thumbnail")); item.setKeywords(doc.get("keywords")); item.setSummary(doc.get("summary")); item.setPrice(new BigDecimal(doc.get("price"))); if (null != doc.get("originPrice")) { item.setOriginPrice(new BigDecimal(doc.get("originPrice"))); } pList.add(item); } pageInfo.setList(pList); return pageInfo; } public void deleteProductIndexById(String id) throws IOException { indexWriter.deleteDocuments(new Term("id", id)); indexWriter.commit(); } @Override public void createProductIndex(Product product) throws IOException { Document doc = new Document(); doc.add(new StringField("id", product.getId().toString(), Field.Store.YES)); doc.add(new TextField("title", product.getTitle(), Field.Store.YES)); doc.add(new TextField("keywords", product.getKeywords(), Field.Store.YES)); doc.add(new TextField("thumbnail", product.getThumbnail(), Field.Store.YES)); doc.add(new TextField("summary", product.getSummary(), Field.Store.YES)); doc.add(new TextField("linkUrl", product.getLinkUrl(), Field.Store.YES)); doc.add(new DoubleDocValuesField("id", product.getId())); // 存储到索引库 doc.add(new StoredField("id", product.getId())); BigDecimal price = product.getPrice(); doc.add(new StoredField("price", product.getPrice().toPlainString())); if (null != product.getOriginPrice() && product.getOriginPrice().longValue() > 0) { doc.add(new StoredField("originPrice", product.getOriginPrice().toPlainString())); } // 正排索引用于排序、聚合 doc.add(new DoubleDocValuesField("price", price.doubleValue())); indexWriter.addDocument(doc); indexWriter.commit(); } @Override public void deleteAllIndex() { try { indexWriter.deleteAll(); indexWriter.commit(); } catch (IOException e) { e.printStackTrace(); } } }
[ "2818632090@qq.com" ]
2818632090@qq.com
116abad1e0acd2c7731d68f71757f8c6ed055cb6
3c96c074eb771e20d47cd4fa7269364a6349cc96
/app/src/main/java/com/henallux/dolphin_crenier_veys/view/MenuActivity.java
a385f6e78ad288b3ac17ae02d6da33ef442979bf
[]
no_license
ChachaIG/Dolphin_Crenier_Veys
ebfa8917e7df32c985303c7c834cb73aef3e9028
6d454dd8d8d36c0075acf9d559f8022ec9a3f410
refs/heads/master
2021-01-10T18:16:33.114665
2015-12-17T12:49:54
2015-12-17T12:49:54
46,414,570
0
0
null
null
null
null
UTF-8
Java
false
false
11,136
java
package com.henallux.dolphin_crenier_veys.view; import android.content.Intent; import android.content.SharedPreferences; import android.preference.PreferenceManager; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import com.henallux.dolphin_crenier_veys.InternetConnection.VerificationConnexionInternet; import com.henallux.dolphin_crenier_veys.R; import com.henallux.dolphin_crenier_veys.exception.ConnexionException; import com.henallux.dolphin_crenier_veys.model.Utilisateur; import android.widget.ExpandableListView; import android.widget.Toast; public class MenuActivity extends AppCompatActivity implements View.OnClickListener { private ExpandableListAdapter listAdaptateur; private ExpandableListView expListView; private List<String> listDataHeader; private HashMap<String, List<String>> listDataChild; private Utilisateur util; private SharedPreferences preferences; private SharedPreferences.Editor editeur; private Double adrLat; private Double adrLon; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_menu); preferences = PreferenceManager.getDefaultSharedPreferences(this.getBaseContext()); editeur = preferences.edit(); init(); } public void init() { //Toast.makeText(MenuActivity.this, getString(R.string.bienvenueMess) + " " + preferences.getString("prenomUtil",""), Toast.LENGTH_SHORT).show(); expListView = (ExpandableListView) findViewById(R.id.lvExp); prepareListData(); listAdaptateur = new ExpandableListAdapter(this, listDataHeader, listDataChild); expListView.setAdapter(listAdaptateur); navigationMenu(); } public void onClick(View v) { } private void navigationMenu() { expListView.setOnChildClickListener(new ExpandableListView.OnChildClickListener() { public boolean onChildClick(ExpandableListView parent, View v, int groupPosition, int childPosition, long id) { if (groupPosition == 0) { switch (childPosition) { case 0: try { if (VerificationConnexionInternet.estConnecteAInternet(MenuActivity.this)) { startActivity(new Intent(MenuActivity.this, AjoutActivity.class)); break; } } catch (ConnexionException ex) { ex.msgException(); } case 1: try { if (VerificationConnexionInternet.estConnecteAInternet(MenuActivity.this)) { startActivity(new Intent(MenuActivity.this, ListSuppActivity.class)); break; } } catch (ConnexionException ex) { ex.msgException(); } } } else { if (groupPosition == 2) { switch (childPosition) { case 0: try { if (VerificationConnexionInternet.estConnecteAInternet(MenuActivity.this)) { startActivity(new Intent(MenuActivity.this, TotKMActivity.class)); break; } } catch (ConnexionException ex) { ex.msgException(); } case 1: try { if (VerificationConnexionInternet.estConnecteAInternet(MenuActivity.this)) { startActivity(new Intent(MenuActivity.this, TotSalActivity.class)); break; } } catch (ConnexionException ex) { ex.msgException(); } } } else { switch (childPosition) { case 0: try { if (VerificationConnexionInternet.estConnecteAInternet(MenuActivity.this)) { startActivity(new Intent(MenuActivity.this, StatPiscineActivity.class)); break; } } catch (ConnexionException ex) { ex.msgException(); } case 1: try { if (VerificationConnexionInternet.estConnecteAInternet(MenuActivity.this)) { startActivity(new Intent(MenuActivity.this, StatDivisionActivity.class)); break; } } catch (ConnexionException ex) { ex.msgException(); } } } } return false; } }); expListView.setOnGroupClickListener(new ExpandableListView.OnGroupClickListener() { @Override public boolean onGroupClick(ExpandableListView parent, View v, int groupPosition, long id) { if (groupPosition == 1) { try { if (VerificationConnexionInternet.estConnecteAInternet(MenuActivity.this)) startActivity(new Intent(MenuActivity.this, RechActivity.class)); } catch (ConnexionException ex) { ex.msgException(); } } return false; } }); } private void prepareListData() { listDataHeader = new ArrayList<String>(); listDataChild = new HashMap<String, List<String>>(); listDataHeader.add(getString(R.string.gestionMatch)); listDataHeader.add(getString(R.string.recherche)); listDataHeader.add(getString(R.string.tot)); // listDataHeader.add(getString(R.string.stat)); List<String> subGestionMatch = new ArrayList<String>(); subGestionMatch.add(getString(R.string.ajoutMatch)); subGestionMatch.add(getString(R.string.suppMatch)); List<String> subTot = new ArrayList<String>(); subTot.add(getString(R.string.km)); subTot.add(getString(R.string.salaire)); /*List<String> subStat = new ArrayList<String>(); subStat.add(getString(R.string.piscine)); subStat.add(getString(R.string.division));*/ listDataChild.put(listDataHeader.get(0), subGestionMatch); listDataChild.put(listDataHeader.get(1), new ArrayList<String>()); listDataChild.put(listDataHeader.get(2), subTot); // listDataChild.put(listDataHeader.get(3), subStat); } @Override public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().inflate(R.menu.menu_menu, menu); return true; } @Override public boolean onOptionsItemSelected(MenuItem item) { int id = item.getItemId(); switch (id) { case R.id.ic_rech: try { if (VerificationConnexionInternet.estConnecteAInternet(MenuActivity.this)) { startActivity(new Intent(MenuActivity.this, RechActivity.class)); return true; } } catch (ConnexionException ex) { ex.msgException(); } case R.id.ic_ajout: try { if (VerificationConnexionInternet.estConnecteAInternet(MenuActivity.this)) { startActivity(new Intent(MenuActivity.this, AjoutActivity.class)); return true; } } catch (ConnexionException ex) { ex.msgException(); } /*case R.id.ic_statDiv: try { if (VerificationConnexionInternet.estConnecteAInternet(MenuActivity.this)) { startActivity(new Intent(MenuActivity.this, StatDivisionActivity.class)); return true; } } catch (ConnexionException ex) { ex.msgException(); } case R.id.ic_statPisc: try { if (VerificationConnexionInternet.estConnecteAInternet(MenuActivity.this)) { startActivity(new Intent(MenuActivity.this, StatPiscineActivity.class)); return true; } } catch (ConnexionException ex) { ex.msgException(); }*/ case R.id.ic_supp: try { if (VerificationConnexionInternet.estConnecteAInternet(MenuActivity.this)) { startActivity(new Intent(MenuActivity.this, ListSuppActivity.class)); return true; } } catch (ConnexionException ex) { ex.msgException(); } case R.id.ic_totKm: try { if (VerificationConnexionInternet.estConnecteAInternet(MenuActivity.this)) { startActivity(new Intent(MenuActivity.this, TotKMActivity.class)); return true; } } catch (ConnexionException ex) { ex.msgException(); } case R.id.ic_totSal: try { if (VerificationConnexionInternet.estConnecteAInternet(MenuActivity.this)) { startActivity(new Intent(MenuActivity.this, TotSalActivity.class)); return true; } } catch (ConnexionException ex) { ex.msgException(); } case R.id.ic_deconnect: editeur.clear(); editeur.commit(); startActivity(new Intent(MenuActivity.this, ConnexionActivity.class)); return true; } return super.onOptionsItemSelected(item); } }
[ "creniercharlotte@gmail.com" ]
creniercharlotte@gmail.com
c2d0799fa593f8a7f1105588b71ff98511877b7f
c089a02e0773643cd171d40c2af0480b6575650d
/app/src/main/java/com/macth/match/wheel/widget/adapters/NumericWheelAdapter.java
7a4d88c8811e7430b6ee40fd07b686ee6dd9bd37
[]
no_license
lpsll/Match
ba681005c254361095bd9455ad151394705e0733
0634d0631d58f6de12f935836b3bd33c6fc6dcc0
refs/heads/master
2020-01-27T10:04:09.807888
2016-11-07T02:25:20
2016-11-07T02:25:20
66,237,950
0
2
null
null
null
null
UTF-8
Java
false
false
2,396
java
/* * Copyright 2011 Yuri Kanivets * * 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.macth.match.wheel.widget.adapters; import android.content.Context; /** * Numeric Wheel adapter. */ public class NumericWheelAdapter extends AbstractWheelTextAdapter { /** The default min value */ public static final int DEFAULT_MAX_VALUE = 9; /** The default max value */ private static final int DEFAULT_MIN_VALUE = 0; // Values private int minValue; private int maxValue; // format private String format; /** * Constructor * @param context the current context */ public NumericWheelAdapter(Context context) { this(context, DEFAULT_MIN_VALUE, DEFAULT_MAX_VALUE); } /** * Constructor * @param context the current context * @param minValue the wheel min value * @param maxValue the wheel max value */ public NumericWheelAdapter(Context context, int minValue, int maxValue) { this(context, minValue, maxValue, null); } /** * Constructor * @param context the current context * @param minValue the wheel min value * @param maxValue the wheel max value * @param format the format string */ public NumericWheelAdapter(Context context, int minValue, int maxValue, String format) { super(context); this.minValue = minValue; this.maxValue = maxValue; this.format = format; } @Override public CharSequence getItemText(int index) { if (index >= 0 && index < getItemsCount()) { int value = minValue + index; return format != null ? String.format(format, value) : Integer.toString(value); } return null; } @Override public int getItemsCount() { return maxValue - minValue + 1; } }
[ "943394615@qq.com" ]
943394615@qq.com
ea24056f242e2f47da9f043f4203bfbb1c4b75d5
30bb8e6c9279a532aea32e04193755216b706f04
/src/test/java/helpers/Log.java
7a4a481a79f2df591d6c817ee383ceea2e7cded0
[]
no_license
vijayasankar/IntelliJ-PushToPlay
1edc8a4a01b21433a26bad246d9c82bb6b0707c6
161e4481f7bcd20b628bb88aec6986158ebf0be6
refs/heads/master
2021-01-09T20:04:41.842183
2016-06-23T21:16:17
2016-06-23T21:16:17
61,837,359
0
0
null
null
null
null
UTF-8
Java
false
false
515
java
package helpers; import org.apache.log4j.Logger; /** * Created by vr1470 on 20-Jun-16. * Copyright Solnet SOlutions 2016 */ public class Log { private static Logger Log = Logger.getLogger(Log.class.getName()); public static void startTestCase(String sTestCaseName){ Log.info("Started Test case"); } public static void endTestCase(String sTestCaseName){ Log.info("Ended Test Case"); } public static void info(String message) { Log.info(message); } }
[ "vijay.rajagopal@solnet.co.nz" ]
vijay.rajagopal@solnet.co.nz
d98c0044aaf9ceae31e08eaa7a127c2e1d682bf6
c60b5e270ff84d88905349e0984228cff4454101
/binaryTree4/HasPathSum.java
10f5711b95a448deb68fb01c831ae601a00cfece
[]
no_license
shriraamparthasarathy/problems
10f897ea03ca25f129314cbeecc36e5c86338329
f1d247b73b2ca4b08b38ba8cb971d8c15edac68c
refs/heads/master
2023-01-24T04:48:50.396492
2020-12-05T12:10:17
2020-12-05T12:10:17
265,172,010
0
0
null
null
null
null
WINDOWS-1252
Java
false
false
1,487
java
package binaryTree4; //Given a binary tree and a number, return true if the tree has a root-to-leaf path such that // adding up all the values along the path equals the given number. Return false if no such // path can be found. class HasPathSum { static class Node { int data; Node left, right; Node(int item) { data = item; left = right = null; } } Node root; /* Strategy: subtract the node value from the sum when recurring down, and check to see if the sum is 0 when you run out of tree. */ boolean haspathSum(Node node, int sum) { if(node==null) return sum==0; return haspathSum(node.left,sum-node.data)||haspathSum(node.right,sum-node.data); } public static void main(String args[]) { int sum = 21; /* Constructed binary tree is 10 / \ 8 2 / \ / 3 5 2 */ HasPathSum tree = new HasPathSum(); tree.root = new Node(10); tree.root.left = new Node(8); tree.root.right = new Node(2); tree.root.left.left = new Node(3); tree.root.left.right = new Node(5); tree.root.right.left = new Node(2); if (tree.haspathSum(tree.root, sum)) System.out.println("There is a root to leaf path with sum " + sum); else System.out.println("There is no root to leaf path with sum " + sum); } } //algo //Recursively check if left or right child has path sum equal to ( number – value at current node)
[ "noreply@github.com" ]
shriraamparthasarathy.noreply@github.com
c010defb7bbc1dcae1a2f791c51c61707485271b
b553dbffaea01d004cd2cab517780e746809f73c
/Brief_13/src/main/java/ahmims/BasmaOnlineStore/config/JwtTokenFilterConfig.java
ab41f82e67c56fb054c927f2b9022eb1b917cf4a
[]
no_license
AHmims/SimplonLine-Briefs-2eme
0a6ab695ce70b24f7a55f93cba3d4472dd1f1ed4
150551ea8cfd6452f28f1f84b37b73e851ed55e4
refs/heads/main
2023-08-16T14:50:10.925705
2021-09-19T12:49:31
2021-09-19T12:49:31
319,383,036
1
4
null
2020-12-17T14:13:30
2020-12-07T16:45:40
Java
UTF-8
Java
false
false
970
java
package ahmims.BasmaOnlineStore.config; import ahmims.BasmaOnlineStore.security.JwtManager; import ahmims.BasmaOnlineStore.security.JwtTokenFilter; import org.springframework.security.config.annotation.SecurityConfigurerAdapter; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.web.DefaultSecurityFilterChain; import org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter; public class JwtTokenFilterConfig extends SecurityConfigurerAdapter<DefaultSecurityFilterChain, HttpSecurity> { private JwtManager jwtManager; public JwtTokenFilterConfig(JwtManager jwtManager) { this.jwtManager = jwtManager; } @Override public void configure(HttpSecurity http) throws Exception { JwtTokenFilter customFilter = new JwtTokenFilter(jwtManager); http.addFilterBefore(customFilter, UsernamePasswordAuthenticationFilter.class); } }
[ "ali.hmims99@gmail.com" ]
ali.hmims99@gmail.com
d164ec4ca8e837cfec16e4fb6a9231ad271be70c
59dfae15f93d1c13a4b479166713b6baf743e712
/com/vmware/vsphere/client/vsandp/core/sessionmanager/vlsi/client/sso/LookupSvcFactory.java
f7fd76af414ddcb4308df3ea7708ba29be9aa602
[]
no_license
haiclover/h5-vsan-service-decompiled
952b4f851c87f09048f2586800a4f51f448011d7
3eb10aa1bd77a8eca0f0ba0da8ce601bc77000b0
refs/heads/main
2023-06-16T05:08:01.860720
2021-07-05T18:19:23
2021-07-05T18:19:23
383,229,735
1
0
null
null
null
null
UTF-8
Java
false
false
1,379
java
/* */ package com.vmware.vsphere.client.vsandp.core.sessionmanager.vlsi.client.sso; /* */ /* */ import com.vmware.vim.binding.lookup.ServiceInstance; /* */ import com.vmware.vsphere.client.vsandp.core.sessionmanager.vlsi.client.AbstractConnectionFactory; /* */ import com.vmware.vsphere.client.vsandp.core.sessionmanager.vlsi.client.VlsiConnection; /* */ import com.vmware.vsphere.client.vsandp.core.sessionmanager.vlsi.client.VlsiSettings; /* */ /* */ /* */ /* */ /* */ /* */ public class LookupSvcFactory /* */ extends AbstractConnectionFactory<LookupSvcConnection, VlsiSettings> /* */ { /* */ protected LookupSvcConnection buildConnection(VlsiSettings id) { /* 16 */ return new LookupSvcConnection(); /* */ } /* */ /* */ /* */ public void onConnect(VlsiSettings id, LookupSvcConnection connection) { /* 21 */ super.onConnect(id, connection); /* */ /* 23 */ ServiceInstance si = (ServiceInstance)connection.createStub(ServiceInstance.class, "ServiceInstance"); /* 24 */ connection.content = si.retrieveServiceContent(); /* */ } /* */ } /* Location: /Users/haidv/Downloads/h5-vsan-service.jar!/com/vmware/vsphere/client/vsandp/core/sessionmanager/vlsi/client/sso/LookupSvcFactory.class * Java compiler version: 7 (51.0) * JD-Core Version: 1.1.3 */
[ "haidv@haidvs-MacBook-Pro.local" ]
haidv@haidvs-MacBook-Pro.local
f3765cafb6b6ae21767e62f6fa36d80022a48a1e
31ba8fb34c1cdb46a1586aff779de4a132457ebb
/app/src/main/java/com/example/project/pethouse/activity/BookActivity.java
f26a440ebf9c2536d926d12f74cd892f7ccb69b3
[]
no_license
loowilliam/Pethouse
53103ca582591962a8775132cd6ef6c6ccda9db8
91e966129168f3fa3bf7f172248271a70434256b
refs/heads/master
2023-01-30T08:29:18.881678
2020-11-29T16:36:02
2020-11-29T16:36:02
316,992,330
0
0
null
null
null
null
UTF-8
Java
false
false
4,175
java
package com.example.project.pethouse.activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.ArrayAdapter; import android.widget.Button; import android.widget.EditText; import android.widget.ImageView; import android.widget.RadioButton; import android.widget.RadioGroup; import android.widget.Spinner; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import com.example.project.pethouse.R; import com.example.project.pethouse.SharedPreference.SharedPref; import com.example.project.pethouse.model.HeaderBooking; import com.example.project.pethouse.model.MsPet; import com.example.project.pethouse.model.MsUser; import com.example.project.pethouse.repository.MsPetRepository; import com.example.project.pethouse.repository.MsUserRepository; /* Edited By: Eric Date: Thursday, 25 April 2020 0:16 Purpose: Making Book Activity */ public class BookActivity extends AppCompatActivity { private Spinner DropDownPetType; private RadioGroup radioSexGroup; private RadioButton radioSexButton, radioMale, radioFemale; private Button ButtonContinue; private ImageView ImageViewBack; private EditText PetName, PetAge, PetDesc; private HeaderBooking booking; @Override protected void onCreate(@Nullable Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_book); String[] TypeList = new String[]{ "Dog", "Cat" }; ImageViewBack = findViewById(R.id.iv_backbutton); DropDownPetType = findViewById(R.id.spinner_type); ArrayAdapter<String> adapterType = new ArrayAdapter<>(BookActivity.this, android.R.layout.simple_spinner_dropdown_item, TypeList); DropDownPetType.setAdapter(adapterType); ButtonContinue = findViewById(R.id.btn_continue); PetName = findViewById(R.id.et_name); PetAge = findViewById(R.id.et_age); PetDesc = findViewById(R.id.et_description); radioMale = findViewById(R.id.radioMale); radioFemale = findViewById(R.id.radioFemale); Intent intent = getIntent(); booking = (HeaderBooking) intent.getSerializableExtra("HeaderBooking"); ImageViewBack.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { finish(); } }); ButtonContinue.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { String strPetType = DropDownPetType.getSelectedItem().toString(); String strPetName = PetName.getText().toString().trim(); int Gender = radioSexGroup.getCheckedRadioButtonId(); String strPetAge = PetAge.getText().toString().trim(); String strPetDesc = PetDesc.getText().toString().trim(); MsPet msPet = new MsPet(); SharedPref SharedPref = new SharedPref(getApplicationContext()); MsUser MsUser = SharedPref.loadUser(); msPet.setPetOwnerName(MsUser.getUserName()); msPet.setPetType(strPetType); msPet.setPetName(strPetName); if(Gender == radioMale.getId()){ msPet.setPetGender("Male"); }else if(Gender==radioFemale.getId()){ msPet.setPetGender("Female"); } msPet.setPetAge(strPetAge); msPet.setPetDesc(strPetDesc); Intent intentToDetail = new Intent(BookActivity.this, TransactionDetailActivity.class); intentToDetail.putExtra("HeaderBooking", booking); intentToDetail.putExtra("MsPet", msPet); startActivity(intentToDetail); } }); //panggil radio button addOnListenerOnButton(); } private void addOnListenerOnButton(){ radioSexGroup = (RadioGroup) findViewById(R.id.radioSex); //disini kita bisa menambahkan kalo sudah menekan booking } }
[ "williamloo987@gmail.com" ]
williamloo987@gmail.com
c54adbb014ee83521850bb4100e5b346b71d89d5
13ef8279d3f19ce7d4c031f4f6f9be2a323cb78e
/hazelcast/src/main/java/com/hazelcast/nio/tcp/handlermigration/IOSelectorLoadCalculator.java
eae48bac05379c66115e72f6f3a2c30a7db6709b
[ "Apache-2.0" ]
permissive
y-higuchi/hazelcast
724554817ccc434d51f844ac079f902a21762724
26511b02bf47e0632f854c5c62d5902a674dd122
refs/heads/master
2021-01-18T01:08:02.060286
2015-04-07T05:17:13
2015-04-07T05:17:13
33,526,166
1
1
null
2015-04-07T06:28:47
2015-04-07T06:28:46
null
UTF-8
Java
false
false
8,147
java
/* * Copyright (c) 2008-2015, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.hazelcast.nio.tcp.handlermigration; import com.hazelcast.logging.ILogger; import com.hazelcast.logging.LoggingService; import com.hazelcast.nio.tcp.AbstractIOSelector; import com.hazelcast.nio.tcp.IOSelector; import com.hazelcast.nio.tcp.MigratableHandler; import com.hazelcast.util.ItemCounter; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import java.util.concurrent.CopyOnWriteArraySet; import static com.hazelcast.util.StringUtil.getLineSeperator; /** * Calculates a state describing utilization of IOSelector(s) and creates a mapping between IOSelector -> Handler. * * This class is not thread-safe with the exception of * {@link #addHandler(MigratableHandler)} and * {@link #removeHandler(MigratableHandler)} * */ class IOSelectorLoadCalculator { private final ILogger log; //all known IO selectors. we assume no. of selectors is constant during a lifespan of a member private final AbstractIOSelector[] selectors; private final Map<IOSelector, Set<MigratableHandler>> selectorToHandlers; //no. of events per handler since an instance started private final ItemCounter<MigratableHandler> lastEventCounter = new ItemCounter<MigratableHandler>(); //no. of events per IOSelector since last calculation private final ItemCounter<IOSelector> selectorEvents = new ItemCounter<IOSelector>(); //no. of events per handler since last calculation private final ItemCounter<MigratableHandler> handlerEventsCounter = new ItemCounter<MigratableHandler>(); //contains all known handlers private final Set<MigratableHandler> handlers = new CopyOnWriteArraySet<MigratableHandler>(); private final BalancerState state; IOSelectorLoadCalculator(AbstractIOSelector[] selectors, LoggingService loggingService) { this.log = loggingService.getLogger(IOSelectorLoadCalculator.class); this.selectors = new AbstractIOSelector[selectors.length]; System.arraycopy(selectors, 0, this.selectors, 0, selectors.length); this.selectorToHandlers = new HashMap<IOSelector, Set<MigratableHandler>>(); for (AbstractIOSelector selector : selectors) { selectorToHandlers.put(selector, new HashSet<MigratableHandler>()); } this.state = new BalancerState(selectorToHandlers, handlerEventsCounter); } /** * Recalculates a new state. Returned instance of {@link com.hazelcast.nio.tcp.handlermigration.BalancerState} are recycled * between invocations therefore they are valid for the last invocation only. * * @return recalculated state */ BalancerState getState() { clearWorkingState(); calculateNewWorkingState(); calculateNewFinalState(); printDebugTable(); return state; } private void calculateNewFinalState() { state.minimumEvents = Long.MAX_VALUE; state.maximumEvents = Long.MIN_VALUE; state.sourceSelector = null; state.destinationSelector = null; for (AbstractIOSelector selector : selectors) { long eventCount = selectorEvents.get(selector); if (eventCount > state.maximumEvents) { state.maximumEvents = eventCount; state.sourceSelector = selector; } if (eventCount < state.minimumEvents) { state.minimumEvents = eventCount; state.destinationSelector = selector; } } } private void calculateNewWorkingState() { for (MigratableHandler handler : handlers) { calculateHandlerState(handler); } } private void calculateHandlerState(MigratableHandler handler) { long handlerEventCount = getEventCountSinceLastCheck(handler); handlerEventsCounter.set(handler, handlerEventCount); IOSelector owner = handler.getOwner(); selectorEvents.add(owner, handlerEventCount); Set<MigratableHandler> handlersOwnedBy = selectorToHandlers.get(owner); handlersOwnedBy.add(handler); } private long getEventCountSinceLastCheck(MigratableHandler handler) { long totalNoOfEvents = handler.getEventCount(); Long lastNoOfEvents = lastEventCounter.getAndSet(handler, totalNoOfEvents); return totalNoOfEvents - lastNoOfEvents; } private void clearWorkingState() { handlerEventsCounter.reset(); selectorEvents.reset(); for (Set<MigratableHandler> handlerSet : selectorToHandlers.values()) { handlerSet.clear(); } } void addHandler(MigratableHandler handler) { handlers.add(handler); } void removeHandler(MigratableHandler handler) { handlers.remove(handler); } private void printDebugTable() { if (!log.isFinestEnabled()) { return; } IOSelector minSelector = state.destinationSelector; IOSelector maxSelector = state.sourceSelector; if (minSelector == null || maxSelector == null) { return; } StringBuilder sb = new StringBuilder(getLineSeperator()) .append("------------") .append(getLineSeperator()); Long noOfEventsPerSelector = selectorEvents.get(minSelector); sb.append("Min Selector ") .append(minSelector) .append(" received ") .append(noOfEventsPerSelector) .append(" events. "); sb.append("It contains following handlers: "). append(getLineSeperator()); appendSelectorInfo(minSelector, selectorToHandlers, sb); noOfEventsPerSelector = selectorEvents.get(maxSelector); sb.append("Max Selector ") .append(maxSelector) .append(" received ") .append(noOfEventsPerSelector) .append(" events. "); sb.append("It contains following handlers: ") .append(getLineSeperator()); appendSelectorInfo(maxSelector, selectorToHandlers, sb); sb.append("Other Selectors: ") .append(getLineSeperator()); for (AbstractIOSelector selector : selectors) { if (!selector.equals(minSelector) && !selector.equals(maxSelector)) { noOfEventsPerSelector = selectorEvents.get(selector); sb.append("Selector ") .append(selector) .append(" contains ") .append(noOfEventsPerSelector) .append(" and has these handlers: ") .append(getLineSeperator()); appendSelectorInfo(selector, selectorToHandlers, sb); } } sb.append("------------") .append(getLineSeperator()); log.finest(sb.toString()); } private void appendSelectorInfo(IOSelector minSelector, Map<IOSelector, Set<MigratableHandler>> selectorToHandlers, StringBuilder sb) { Set<MigratableHandler> handlerSet = selectorToHandlers.get(minSelector); for (MigratableHandler selectionHandler : handlerSet) { Long noOfEventsPerHandler = handlerEventsCounter.get(selectionHandler); sb.append(selectionHandler) .append(": ") .append(noOfEventsPerHandler) .append(getLineSeperator()); } sb.append(getLineSeperator()); } }
[ "jaromir.hamala@gmail.com" ]
jaromir.hamala@gmail.com
8b8bc2001f880edaa4315434b5427df7073d713c
b00a6e458f5907fa12cb2f2d8c60110a3934829f
/CmapToOWL2.0/classes/DistConcept.java
a131166fb0ee820579699dc06205983f06c71092
[]
no_license
noorbakerally/JAVA-CODE
03ea7124af28c7ceec7c418d23dba8234de74626
83f4f1bb512fe04ddcbc8381820fd9ef335bb147
refs/heads/master
2021-01-21T03:09:59.647970
2013-12-17T02:18:39
2013-12-17T02:18:39
null
0
0
null
null
null
null
ISO-8859-3
Java
false
false
506
java
/** * */ package classes; /** * Clase para manipular los conceptos del cluster en la desambiguación * @author Amhed * */ public class DistConcept { private double link; private String term; public DistConcept(double link, String term) { this.link = link; this.term = term; } public String getTerm() { return term; } public void setTerm(String term) { this.term = term; } public double getLink() { return link; } public void setLink(double link) { this.link = link; } }
[ "alestar@gmail.com" ]
alestar@gmail.com
624be8d08aba45d096f538d68d3fcdddc94bdb1e
161602325d0ad71cf72f8f5bfb99c8b365e590fb
/laichaojie1601v20180619/src/main/java/com/example/laichaojie1601v20180619/bean/MyData.java
8628f1ef194d5e85614ac97b8caa3d7a779d1483
[]
no_license
GG-Bood/zhoukao
811f20ec50d2cf6974d25e99a6e4fbebdf8e3d70
320aac325ffcf378d2886b1b0c7f396cf679b2d3
refs/heads/master
2020-03-19T20:54:34.169615
2018-06-19T02:09:52
2018-06-19T02:09:52
136,922,167
0
0
null
null
null
null
UTF-8
Java
false
false
791
java
package com.example.laichaojie1601v20180619.bean; public class MyData { /** * msg : 登录成功 * code : 0 * data : {"age":null,"appkey":"770f5b35194cb46c","appsecret":"DAF145434D87578718CC32A246C9F50D","createtime":"2017-11-07T18:36:43","email":null,"gender":null,"icon":null,"mobile":"18256189819","money":null,"nickname":null,"password":"8F669074CAF5513351A2DE5CC22AC04C","token":"ACC1909F8EC2AD669F9095D77C063381","uid":1648,"username":"18256189819"} */ private String msg; private String code; public String getMsg() { return msg; } public void setMsg(String msg) { this.msg = msg; } public String getCode() { return code; } public void setCode(String code) { this.code = code; } }
[ "2574646171@qq.com" ]
2574646171@qq.com
72b9fc4f592867c07db464beb426606dd8b18877
0be59f68c4d3a59b421fdf191be6a9ee4838916e
/src/main/java/com/yc/test/entity/StudentDto.java
637f2c8bc760a898e9bd05c42a2dc9062029b17b
[ "Apache-2.0" ]
permissive
yc122166131/cms-yc-test
b0c00a662c79d7c225bc3074d7af5c0c5cb650f4
9df4cea6ff9a1b8cf881ab345fcd06a5cec4b8de
refs/heads/master
2021-01-02T22:28:41.010240
2017-09-22T09:01:48
2017-09-22T09:01:48
99,326,531
0
0
null
null
null
null
GB18030
Java
false
false
624
java
package com.yc.test.entity; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlRootElement; @SuppressWarnings("restriction") @XmlRootElement(name="yc_student") public class StudentDto implements Serializable{ /** * 创建大对象 用来 存储 List 等 数据结构 */ private static final long serialVersionUID = -2132260582736739232L; private List<Student> students =new ArrayList<Student>(0); public List<Student> getStudents() { return students; } public void setStudents(List<Student> students) { this.students = students; } }
[ "yc122166131@vip.qq.com" ]
yc122166131@vip.qq.com
91f90345ffeef1dbe6a00f4c18ce63c081918677
9ac0b9ae36538bec2f97f2ce194fd4ec51fae745
/app/src/main/java/a/a/c/d.java
2873434df26dddf5b0dd6db8d8cbed743ff3c60b
[]
no_license
siyamkhan/HomeAutomaation
f7fceefb9d59f55f4c268d65501affa5e2d148e1
114945fd602cbed1bf4b857dd184abb62b40f851
refs/heads/master
2020-09-01T18:32:21.695359
2019-11-01T19:27:34
2019-11-01T19:27:34
219,026,745
0
0
null
null
null
null
UTF-8
Java
false
false
437
java
package a.a.a.a.a.c; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; @Retention(RetentionPolicy.RUNTIME) public @interface d { Class<?>[] a(); } /* Location: C:\Users\Siyam\Desktop\Home automation with java source files\Decompile tools\New folder\dex2jar-0.0.9.15-master\classes_dex2jar.jar!\a\a\a\a\a\c\d.class * Java compiler version: 6 (50.0) * JD-Core Version: 1.0.7 */
[ "siyamk756@gmail.com" ]
siyamk756@gmail.com
c172c8fd7a0fb411cb17aecaa8ad078bd7b930d5
8191bea395f0e97835735d1ab6e859db3a7f8a99
/f737922a0ddc9335bb0fc2f3ae5ffe93_source_from_JADX/java_files/asv.java
6d60372b1a10bc43fa56d9e1182f0f8fce0704ad
[]
no_license
msmtmsmt123/jadx-1
5e5aea319e094b5d09c66e0fdb31f10a3238346c
b9458bb1a49a8a7fba8b9f9a6fb6f54438ce03a2
refs/heads/master
2021-05-08T19:21:27.870459
2017-01-28T04:19:54
2017-01-28T04:19:54
null
0
0
null
null
null
null
UTF-8
Java
false
false
3,122
java
public class asv extends aud { private ans VH; private int gn; private asl$a tp; private int u7; public asv(anb anb, int i) { super(anb); this.gn = i << 5; } public asv(aqg aqg) { this(aqg, aqg.v_()); } public ans gn() { return this.VH; } public asv u7() { if (this.VH instanceof asv) { return (asv) this.VH; } return null; } void DW(ans ans) { this.VH = ans; } void j6(asl$a asl_a) { this.tp = asl_a; } asl$a tp() { asl$a asl_a = this.tp; if (asl_a != null) { this.tp = null; } return asl_a; } void EQ() { this.VH = null; if (this.tp != null) { this.tp.clear(); this.tp.enqueue(); this.tp = null; } } public boolean we() { return this.VH != null; } public boolean J0() { return yS() != 0; } public int J8() { return (this.gn >> 5) & 7; } int Ws() { return this.gn >>> 12; } void DW(int i) { this.gn = (i << 12) | (this.gn & 4095); } boolean QX() { return (this.gn & 1) != 0; } void XL() { this.gn |= 1; } public boolean aM() { return (this.gn & 2) != 0; } void j3() { this.gn |= 2; } protected void VH() { this.gn &= -3; } boolean Mr() { return (this.gn & 4) != 0; } void j6(boolean z) { if (z) { this.gn |= 4; } else { this.gn &= -5; } } boolean U2() { return (this.gn & 8) != 0; } void a8() { this.gn |= 8; } int lg() { return gW(); } void FH(int i) { Zo(i); } int rN() { return this.u7; } void Hw(int i) { this.u7 = i; } int er() { return this.u7; } void v5(int i) { this.u7 = i; } public void j6(asz asz) { } public String toString() { StringBuilder stringBuilder = new StringBuilder(); stringBuilder.append("ObjectToPack["); stringBuilder.append(anj.j6(J8())); stringBuilder.append(" "); stringBuilder.append(DW()); if (QX()) { stringBuilder.append(" wantWrite"); } if (aM()) { stringBuilder.append(" reuseAsIs"); } if (Mr()) { stringBuilder.append(" doNotDelta"); } if (U2()) { stringBuilder.append(" edge"); } if (Ws() > 0) { stringBuilder.append(" depth=" + Ws()); } if (we()) { if (u7() != null) { stringBuilder.append(" base=inpack:" + u7().DW()); } else { stringBuilder.append(" base=edge:" + gn().DW()); } } if (J0()) { stringBuilder.append(" offset=" + yS()); } stringBuilder.append("]"); return stringBuilder.toString(); } }
[ "eggfly@qq.com" ]
eggfly@qq.com
1e927d22b5eb01cc9ae717206860170136ee4f63
63684a67755fc43e10013fc9d2efb2ca3367754e
/src/com/acn/yrs/controller/TaskManagerController.java
c5a88e9625941c62552d13f16a2dd8ebced39f39
[]
no_license
kromwelr/Base
ac79fab1a8dc10f32a08420a1493416cea2bbaf2
c1c3dbe94801c74d63e0d80b1e1f42f0481ec970
refs/heads/master
2021-01-01T03:45:12.427857
2016-05-25T09:32:06
2016-05-25T09:32:06
59,622,759
0
0
null
null
null
null
UTF-8
Java
false
false
2,224
java
package com.acn.yrs.controller; import java.text.ParseException; import java.util.Date; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; import com.acn.yrs.domain.Task; import com.acn.yrs.service.TaskManagerService; @RestController public class TaskManagerController { @Autowired TaskManagerService taskManagerService; @RequestMapping(value = "/tasks", method = RequestMethod.GET, headers = "Accept=application/json") public List<Task> getAllTasks() { List<Task> tasks = taskManagerService.getAllTasks(); return tasks; } @RequestMapping(value = "/tasks/archive/{taskIds}", method = RequestMethod.POST, headers = "Accept=application/json") public List<Task> archiveAllTasks(@PathVariable int[] taskIds) throws ParseException { for (int i = 0; i < taskIds.length; i++) { taskManagerService.archiveTask(taskIds[i]); } List<Task> tasks = taskManagerService.getAllTasks(); return tasks; } @RequestMapping(value = "/tasks/{taskId}/{taskStatus}", method = RequestMethod.POST, headers = "Accept=application/json") public List<Task> changeTaskStatus(@PathVariable int taskId, @PathVariable String taskStatus) throws ParseException { taskManagerService.changeTaskStatus(taskId, taskStatus); return taskManagerService.getAllTasks(); } @RequestMapping(value = "/tasks/insert/{taskName}/{taskDesc}/{taskPriority}/{taskStatus}", method = RequestMethod.POST, headers = "Accept=application/json") public List<Task> addTask(@PathVariable String taskName, @PathVariable String taskDesc, @PathVariable String taskPriority, @PathVariable String taskStatus) throws ParseException { Task task = new Task(); task.setTaskName(taskName); task.setTaskDescription(taskDesc); task.setTaskPriority(taskPriority); task.setTaskStatus(taskStatus); task.setTaskStartTime(new Date()); task.setTaskEndTime(new Date()); taskManagerService.addTask(task); return taskManagerService.getAllTasks(); } }
[ "kromwel.b.rebosura@accenture.com" ]
kromwel.b.rebosura@accenture.com
62d9950c308e4eebeae51da395c1db05bb2c3f15
eecf92252c90ff96b5bfa7592b0d61c62c23688e
/src/CS151/Canvas.java
b183f9b9ddbac7f8aa5e1c15e4b7fa6ee32f0351
[]
no_license
mikemonson/Whiteboard
182dc112164db52a433b22b0dce6d5263b3bddab
adbadc3043cc7433b806fe5e1cfe2fc65429a932
refs/heads/master
2020-06-16T11:09:39.586904
2016-11-28T23:08:54
2016-11-28T23:08:54
null
0
0
null
null
null
null
UTF-8
Java
false
false
1,320
java
package CS151; import java.util.Observable; import java.util.Observer; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.scene.layout.Pane; public class Canvas extends Pane implements Observer{ /* * The shapes list in the canvas is effectively the "document" * the user is editing; whatever is in that list, it is being * edited. Removing a shape from this list removes it from the * document as well. */ ObservableList<DShape> shapes; Canvas() { super(); this.setStyle("-fx-background-color: white;"); this.setPrefSize(400, 400); shapes = FXCollections.observableArrayList(); } // loops through the list of shapes and draws them public void paintComponent() { for (int i = 0; i < shapes.size(); i++) shapes.get(i).draw(); } public ObservableList<DShape> getShapes() { return shapes; } public ObservableList<DShapeModel> getShapeModels() { ObservableList<DShapeModel> models = FXCollections.observableArrayList(); for (DShape each : shapes) models.add(each.getModel()); return models; } public void addShapes(DShape shape) { this.shapes.add(shape); } @Override public void update(Observable arg0, Object arg1) { // TODO Auto-generated method stub } }
[ "juraszeklukasz@gmail.com" ]
juraszeklukasz@gmail.com
ed9418f95f1fb7e353731377aa14b68b53275b5f
13185dc44df07c01ce7b9f00bee5ed240f729a02
/src/main/java/ru/cb/organizations/service/OrganizationServiceImpl.java
6b316e31a753123efc0e1b03dfe26573ac3557c5
[]
no_license
zoxy1/CatalogProject
f05afd710e38f236745e62e5ae6b2e79307176df
5073aad39640ca58d77fa1e41d635c20d615a505
refs/heads/master
2020-03-18T14:35:28.462903
2018-05-28T06:08:44
2018-05-28T06:08:44
134,855,985
0
0
null
null
null
null
UTF-8
Java
false
false
1,305
java
package ru.cb.organizations.service; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import ru.cb.organizations.entity.Organization; import ru.cb.organizations.repository.OrganizationRepository; import java.util.List; @Service("jpaOrganizationService") @Repository @Transactional public class OrganizationServiceImpl implements OrganizationService { @Autowired private OrganizationRepository organizationRepository; @Override public Organization addOrganization(Organization organization) { return organizationRepository.saveAndFlush(organization); } @Override public void delete(long id) { organizationRepository.delete(id); } @Override public List<Organization> getByString(String string) { return organizationRepository.findByNameOrgContaining(string, string, string, string); } @Override public Organization editOrganization(Organization organization) { return organizationRepository.saveAndFlush(organization); } @Override public List<Organization> getAll() { return organizationRepository.findAll(); } }
[ "zoxy1@yandex.ru" ]
zoxy1@yandex.ru
0ef9d77bdb1091596b5272e086810f0da08cd40b
3434dd8cef5605a1403d0d9225f50480c209c3e8
/src/java/org/foi/nwtis/nikfluks/helperi/TestKomandi.java
1c7dc8aecbb601f14547092565205dcadc69a1b6
[]
no_license
nikfluks/NWTiS_projekt_1
f7a1cd23d3f2c984d3b8ec520ac523da7cb58d2d
94c4f6e30934580de81146b0947c2a56953a71f2
refs/heads/master
2020-04-05T14:23:40.207114
2018-11-09T23:26:05
2018-11-09T23:26:05
156,926,994
0
0
null
null
null
null
UTF-8
Java
false
false
1,732
java
/* * 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.foi.nwtis.nikfluks.helperi; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.net.Socket; import java.nio.charset.StandardCharsets; /** * * @author Nikola */ public class TestKomandi { StringBuilder odgovor; public static void main(String[] args) { TestKomandi tk = new TestKomandi(); tk.preuzmiKontrolu(); } public void preuzmiKontrolu() { String komandaZaSlanje = "KORISNIK nikfluks3; LOZINKA 123; KRENI;"; System.out.println("komandaZaSlanje: " + komandaZaSlanje); try { Socket socket = new Socket("localhost", 15323); InputStream is = socket.getInputStream(); OutputStream os = socket.getOutputStream(); os.write(komandaZaSlanje.getBytes()); os.flush(); socket.shutdownOutput(); odgovor = new StringBuilder(); int znak; //ako nije UTF-8 hrvatske znakove ne interpretira dobro kad dodu preko soketa BufferedReader in = new BufferedReader(new InputStreamReader(is, StandardCharsets.UTF_8.displayName())); while ((znak = in.read()) != -1) { odgovor.append((char) znak); } System.out.println("Odgovor: " + odgovor); in.close(); } catch (IOException ex) { System.err.println("Greska kod TestKomandi: " + ex.getLocalizedMessage()); } } }
[ "flukscro@gmail.com" ]
flukscro@gmail.com
c3c08149243394f9e3f5e8624b822f64ec2b9612
76d925e0ce1f60ac5eb363eb99775dbed06a2c46
/bit106-java-basic/src/step25/ex01/Exam01_3.java
7595de4a459d95e21a0cd71302821b1a736f89d8
[]
no_license
psk041e/bitcamp
44750dbf9644773b1822db31301d8f55218d9256
66e69439d00f989246a2866ecccab796ebce6997
refs/heads/master
2021-01-24T10:28:06.712161
2018-08-10T07:50:42
2018-08-10T07:50:42
123,054,168
1
0
null
null
null
null
UTF-8
Java
false
false
1,428
java
// JDBC 프로그래밍 개요 - JDBC 드라이버 준비 package step25.ex01; import java.sql.DriverManager; // JDBC 드라이버 다운로드 및 설정 // 1) 직접 설정하기 // - java-basic/lib 폴더 생성 // - c:\Program Files(x86)\MySQL\Connector J 8.0\mysql-connector-java-8.0.11 // - java-basic/lib 폴더에 붙여넣기 // - 컴파일과 실행할 때 .jar 파일을 사용할 수 있도록 CLASSPATH에 추가한다. // - project 컨텍스트 메뉴/build path/configure build path.../Libraries/Add Jars... public class Exam01_3 { public static void main(String[] args) throws Exception { // 1) JDBC 드라이버 로딩 // => MySQL 최근 드라이버는 인스턴스를 생성하면 자동으로 DriverManager에 등록된다. new com.mysql.cj.jdbc.Driver(); // DriverManager에 자동 등록된 것을 확인해보자! java.sql.Driver driver = DriverManager.getDriver("jdbc:mysql:"); // 뒤에 아무것도 쓰지 않더라도 :까지 써줘야 한다. System.out.println("JDBC 드라이버 로딩 및 등록 완료!"); // 해당 드라이버가 등록되지 않았으면 예외가 발생할 것이다. // 등록되지 않은 드라이버를 요구해봐라! 예외가 발생할 것이다. driver = DriverManager.getDriver("jdbc:oracle:"); // 예외발생! } }
[ "seogyeong@LG-PC" ]
seogyeong@LG-PC
37ca5062cbf261f1ca1d2c9320122bb717c717b9
d6d6d964c31b245fc90a17001f22a627e525df57
/src/test/java/com/edjaz/blog/security/jwt/TokenProviderTest.java
8f86503b50d69534bf7b691136552d45b244b533
[]
no_license
edjaz/blog
b439f4e8442a6ba75b47c0dd9cdfdc8642827033
3eb2a5f00438922669d9535f932ef00e00b7b539
refs/heads/master
2021-05-08T22:00:22.367652
2018-01-31T20:31:14
2018-01-31T20:31:14
119,658,258
0
0
null
null
null
null
UTF-8
Java
false
false
3,686
java
package com.edjaz.blog.security.jwt; import com.edjaz.blog.security.AuthoritiesConstants; import io.github.jhipster.config.JHipsterProperties; import io.jsonwebtoken.Jwts; import io.jsonwebtoken.SignatureAlgorithm; import org.junit.Before; import org.junit.Test; import org.mockito.Mockito; import org.springframework.security.authentication.UsernamePasswordAuthenticationToken; import org.springframework.security.core.Authentication; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.authority.SimpleGrantedAuthority; import org.springframework.test.util.ReflectionTestUtils; import java.util.ArrayList; import java.util.Collection; import java.util.Date; import static org.assertj.core.api.Assertions.assertThat; public class TokenProviderTest { private final String secretKey = "e5c9ee274ae87bc031adda32e27fa98b9290da83"; private final long ONE_MINUTE = 60000; private JHipsterProperties jHipsterProperties; private TokenProvider tokenProvider; @Before public void setup() { jHipsterProperties = Mockito.mock(JHipsterProperties.class); tokenProvider = new TokenProvider(jHipsterProperties); ReflectionTestUtils.setField(tokenProvider, "secretKey", secretKey); ReflectionTestUtils.setField(tokenProvider, "tokenValidityInMilliseconds", ONE_MINUTE); } @Test public void testReturnFalseWhenJWThasInvalidSignature() { boolean isTokenValid = tokenProvider.validateToken(createTokenWithDifferentSignature()); assertThat(isTokenValid).isEqualTo(false); } @Test public void testReturnFalseWhenJWTisMalformed() { Authentication authentication = createAuthentication(); String token = tokenProvider.createToken(authentication, false); String invalidToken = token.substring(1); boolean isTokenValid = tokenProvider.validateToken(invalidToken); assertThat(isTokenValid).isEqualTo(false); } @Test public void testReturnFalseWhenJWTisExpired() { ReflectionTestUtils.setField(tokenProvider, "tokenValidityInMilliseconds", -ONE_MINUTE); Authentication authentication = createAuthentication(); String token = tokenProvider.createToken(authentication, false); boolean isTokenValid = tokenProvider.validateToken(token); assertThat(isTokenValid).isEqualTo(false); } @Test public void testReturnFalseWhenJWTisUnsupported() { String unsupportedToken = createUnsupportedToken(); boolean isTokenValid = tokenProvider.validateToken(unsupportedToken); assertThat(isTokenValid).isEqualTo(false); } @Test public void testReturnFalseWhenJWTisInvalid() { boolean isTokenValid = tokenProvider.validateToken(""); assertThat(isTokenValid).isEqualTo(false); } private Authentication createAuthentication() { Collection<GrantedAuthority> authorities = new ArrayList<>(); authorities.add(new SimpleGrantedAuthority(AuthoritiesConstants.ANONYMOUS)); return new UsernamePasswordAuthenticationToken("anonymous", "anonymous", authorities); } private String createUnsupportedToken() { return Jwts.builder() .setPayload("payload") .signWith(SignatureAlgorithm.HS512, secretKey) .compact(); } private String createTokenWithDifferentSignature() { return Jwts.builder() .setSubject("anonymous") .signWith(SignatureAlgorithm.HS512, "e5c9ee274ae87bc031adda32e27fa98b9290da90") .setExpiration(new Date(new Date().getTime() + ONE_MINUTE)) .compact(); } }
[ "dimitri@d-kahn.net" ]
dimitri@d-kahn.net
dadb96640ac4c0affd4f294e4768d890b5f5ba5f
85ada9bcd30fa719711e5d3db6ca6e0b93a05913
/Sistema(NetBeans)/BiblioSystem/src/ConnectTelas/Funcionario.java
4f670cd0591fe31418a0ea4e21a19edbbc7a6002
[]
no_license
RafaelBregion/ProjetoBiblioteca
e6eb83e46267cfe0b3c887362bb5f4b5cac53ddb
227f40006118df878763b436f3527959b973d666
refs/heads/master
2020-09-20T12:52:53.690963
2019-11-27T18:22:56
2019-11-27T18:22:56
224,484,287
0
0
null
null
null
null
UTF-8
Java
false
false
4,892
java
package ConnectTelas; public class Funcionario { private int id_funcionario; private String nome_funcionario; private String cpf_funcionario; private String dataNascimento_funcionario; private String sexo_funcionario; private String formacao_funcionario; private String email_funcionario; private String telefone_funcionario; private String celular_funcionario; private String logradouro_funcionario; private String numero_funcionario; private String bairro_funcionario; private String cidade_funcionario; private String estado_funcionario; private String cep_funcionario; private Double salario_funcionario; private String dataAdmissao_funcionario; private String usuario_funcionario; private String senha_usuario; public int getId_funcionario() { return id_funcionario; } public void setId_funcionario(int id_funcionario) { this.id_funcionario = id_funcionario; } public String getNome_funcionario() { return nome_funcionario; } public void setNome_funcionario(String nome_funcionario) { this.nome_funcionario = nome_funcionario; } public String getCpf_funcionario() { return cpf_funcionario; } public void setCpf_funcionario(String cpf_funcionario) { this.cpf_funcionario = cpf_funcionario; } public String getDataNascimento_funcionario() { return dataNascimento_funcionario; } public void setDataNascimento_funcionario(String dataNascimento_funcionario) { this.dataNascimento_funcionario = dataNascimento_funcionario; } public String getSexo_funcionario() { return sexo_funcionario; } public void setSexo_funcionario(String sexo_funcionario) { this.sexo_funcionario = sexo_funcionario; } public String getFormacao_funcionario() { return formacao_funcionario; } public void setFormacao_funcionario(String formacao_funcionario) { this.formacao_funcionario = formacao_funcionario; } public String getEmail_funcionario() { return email_funcionario; } public void setEmail_funcionario(String email_funcionario) { this.email_funcionario = email_funcionario; } public String getTelefone_funcionario() { return telefone_funcionario; } public void setTelefone_funcionario(String telefone_funcionario) { this.telefone_funcionario = telefone_funcionario; } public String getCelular_funcionario() { return celular_funcionario; } public void setCelular_funcionario(String celular_funcionario) { this.celular_funcionario = celular_funcionario; } public String getLogradouro_funcionario() { return logradouro_funcionario; } public void setLogradouro_funcionario(String logradouro_funcionario) { this.logradouro_funcionario = logradouro_funcionario; } public String getNumero_funcionario() { return numero_funcionario; } public void setNumero_funcionario(String numero_funcionario) { this.numero_funcionario = numero_funcionario; } public String getBairro_funcionario() { return bairro_funcionario; } public void setBairro_funcionario(String bairro_funcionario) { this.bairro_funcionario = bairro_funcionario; } public String getCidade_funcionario() { return cidade_funcionario; } public void setCidade_funcionario(String cidade_funcionario) { this.cidade_funcionario = cidade_funcionario; } public String getEstado_funcionario() { return estado_funcionario; } public void setEstado_funcionario(String estado_funcionario) { this.estado_funcionario = estado_funcionario; } public String getCep_funcionario() { return cep_funcionario; } public void setCep_funcionario(String cep_funcionario) { this.cep_funcionario = cep_funcionario; } public Double getSalario_funcionario() { return salario_funcionario; } public void setSalario_funcionario(Double salario_funcionario) { this.salario_funcionario = salario_funcionario; } public String getDataAdmissao_funcionario() { return dataAdmissao_funcionario; } public void setDataAdmissao_funcionario(String dataAdmissao_funcionario) { this.dataAdmissao_funcionario = dataAdmissao_funcionario; } public String getUsuario_funcionario() { return usuario_funcionario; } public void setUsuario_funcionario(String usuario_funcionario) { this.usuario_funcionario = usuario_funcionario; } public String getSenha_usuario() { return senha_usuario; } public void setSenha_usuario(String senha_usuario) { this.senha_usuario = senha_usuario; } }
[ "rafaelblourenco@hotmail.com" ]
rafaelblourenco@hotmail.com
41fde690edfeb59a99604b48c99c703c99929ae9
f60855e2d59e360817d71a558906f5c5aec2d9eb
/TeamRadar/src/com/nut/teamradar/GroupSimpleDetailActivity.java
8c0111c52f3d62576ea14c5912aefae541bca283
[]
no_license
naibiaozhou/TeamRadar
f33e71d98f2e9bb4150e01bfcc92805d9283f4ba
925da2387b7ee91c695144747d6d2bd20f8984f5
refs/heads/master
2021-01-21T14:35:32.982497
2019-12-01T09:50:12
2019-12-01T09:50:12
95,307,247
0
0
null
null
null
null
UTF-8
Java
false
false
5,127
java
/** * Copyright (C) 2013-2014 EaseMob Technologies. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.nut.teamradar; import android.app.ProgressDialog; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.ProgressBar; import android.widget.TextView; import android.widget.Toast; import com.easemob.chat.EMChatManager; import com.easemob.chat.EMGroup; import com.easemob.chat.EMGroupInfo; import com.easemob.chat.EMGroupManager; import com.easemob.exceptions.EaseMobException; public class GroupSimpleDetailActivity extends BaseActivity { private Button btn_add_group; private TextView tv_admin; private TextView tv_name; private TextView tv_introduction; private EMGroup group; private String groupid; private ProgressBar progressBar; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_group_simle_details); tv_name = (TextView) findViewById(R.id.name); tv_admin = (TextView) findViewById(R.id.tv_admin); btn_add_group = (Button) findViewById(R.id.btn_add_to_group); tv_introduction = (TextView) findViewById(R.id.tv_introduction); progressBar = (ProgressBar) findViewById(R.id.loading); EMGroupInfo groupInfo = (EMGroupInfo) getIntent().getSerializableExtra("groupinfo"); String groupname = null; if(groupInfo != null){ groupname = groupInfo.getGroupName(); groupid = groupInfo.getGroupId(); }else{ group = PublicGroupsSeachActivity.searchedGroup; if(group == null) return; groupname = group.getGroupName(); groupid = group.getGroupId(); } tv_name.setText(groupname); if(group != null){ showGroupDetail(); return; } new Thread(new Runnable() { public void run() { //浠庢湇鍔″櫒鑾峰彇璇︽儏 try { group = EMGroupManager.getInstance().getGroupFromServer(groupid); runOnUiThread(new Runnable() { public void run() { showGroupDetail(); } }); } catch (final EaseMobException e) { e.printStackTrace(); final String st1 = getResources().getString(R.string.Failed_to_get_group_chat_information); runOnUiThread(new Runnable() { public void run() { progressBar.setVisibility(View.INVISIBLE); Toast.makeText(GroupSimpleDetailActivity.this, st1+e.getMessage(), 1).show(); } }); } } }).start(); } //鍔犲叆缇よ亰 public void addToGroup(View view){ String st1 = getResources().getString(R.string.Is_sending_a_request); final String st2 = getResources().getString(R.string.Request_to_join); final String st3 = getResources().getString(R.string.send_the_request_is); final String st4 = getResources().getString(R.string.Join_the_group_chat); final String st5 = getResources().getString(R.string.Failed_to_join_the_group_chat); final ProgressDialog pd = new ProgressDialog(this); // getResources().getString(R.string) pd.setMessage(st1); pd.setCanceledOnTouchOutside(false); pd.show(); new Thread(new Runnable() { public void run() { try { //濡傛灉鏄痬embersOnly鐨勭兢锛岄渶瑕佺敵璇峰姞鍏ワ紝涓嶈兘鐩存帴join if(group.isMembersOnly()){ EMGroupManager.getInstance().applyJoinToGroup(groupid, st2); }else{ EMGroupManager.getInstance().joinGroup(groupid); } runOnUiThread(new Runnable() { public void run() { pd.dismiss(); if(group.isMembersOnly()) Toast.makeText(GroupSimpleDetailActivity.this, st3, 0).show(); else Toast.makeText(GroupSimpleDetailActivity.this, st4, 0).show(); btn_add_group.setEnabled(false); } }); } catch (final EaseMobException e) { e.printStackTrace(); runOnUiThread(new Runnable() { public void run() { pd.dismiss(); Toast.makeText(GroupSimpleDetailActivity.this, st5+e.getMessage(), 0).show(); } }); } } }).start(); } private void showGroupDetail() { progressBar.setVisibility(View.INVISIBLE); //鑾峰彇璇︽儏鎴愬姛锛屽苟涓旇嚜宸变笉鍦ㄧ兢涓紝鎵嶈鍔犲叆缇よ亰鎸夐挳鍙偣鍑� if(!group.getMembers().contains(EMChatManager.getInstance().getCurrentUser())) btn_add_group.setEnabled(true); tv_name.setText(group.getGroupName()); tv_admin.setText(group.getOwner()); tv_introduction.setText(group.getDescription()); } public void back(View view){ finish(); } }
[ "znb211@163.com" ]
znb211@163.com
88b94fd866652f23dbca61489a55a563d4f50f94
eb4a7e5839a978200e563d17daa0495290b811d8
/src/main/java/br/edu/unoesc/modelo/Aluno.java
7c6e103a0a6b0a793493394f17bfdb8d6e75dd4d
[]
no_license
agosti/ProjetoHibernate
0d314ebbbb7f2d876d37c194818b61790f83312f
9775fa4d17dc3d9b759750f790bb418e9d564666
refs/heads/master
2021-01-10T14:58:56.517953
2016-03-23T13:41:47
2016-03-23T13:41:47
54,557,336
0
1
null
null
null
null
UTF-8
Java
false
false
1,987
java
package br.edu.unoesc.modelo; import java.util.ArrayList; import java.util.Date; import java.util.List; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.ManyToOne; import javax.persistence.NamedQueries; import javax.persistence.NamedQuery; import javax.persistence.OneToMany; import javax.persistence.Temporal; import javax.persistence.TemporalType; import lombok.AllArgsConstructor; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import lombok.ToString; @Getter @Setter @NoArgsConstructor @AllArgsConstructor @EqualsAndHashCode(of = "nome") @ToString(of = { "codigo", "nome" }) @Entity // @Table(name="CAD_ALUNO") @NamedQueries({ @NamedQuery(name = Aluno.FILTRA_POR_NOME, query = "select a from Aluno a where upper(a.nome) like ?1 "), @NamedQuery(name = Aluno.FILTRA_POR_DATA, query = "select a from Aluno a where a.data between ?1 and ?2 ") }) public class Aluno implements MinhaEntidade { public static final String FILTRA_POR_NOME = "FILTRA_POR_NOME"; public static final String FILTRA_POR_DATA = "FILTRA_POR_DATA"; @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long codigo; // @Column(name = "NM_ALUNO", nullable = false, length = 60, unique = true) @Column(nullable = false, length = 60) private String nome; @Column(nullable = false) @Temporal(TemporalType.TIMESTAMP) private Date data; // Associacao com Formacao @ManyToOne(optional = true, fetch = FetchType.EAGER) private Formacao formacao; @OneToMany(mappedBy = "aluno", targetEntity = Endereco.class, fetch=FetchType.EAGER, cascade = CascadeType.ALL) private List<Endereco> enderecos = new ArrayList<>(); public void adicionar(Endereco endereco) { this.enderecos.add(endereco); } }
[ "cristiano.agosti@camtwo.com.br" ]
cristiano.agosti@camtwo.com.br
692cdadfe14345410ef92d312a0956a3493db846
5ec2884d933d9a4cb10b7406627c3f56cdbb7eeb
/BinhDuong/YTDTWeb_O/src/com/iesvn/yte/dieutri/ajax/GetXaAction.java
546297aa585bf7d516b1f463b195baf82cba6802
[]
no_license
i-boy/YTDT_BD
5ab75a296a677eb30c565ec9d5a59be986dc180d
9e64400d31d00249691fed5e0f6804c79ccbd3d7
refs/heads/master
2021-01-11T05:17:22.803007
2016-09-21T16:04:09
2016-09-21T16:04:09
68,835,164
0
0
null
null
null
null
UTF-8
Java
false
false
1,431
java
package com.iesvn.yte.dieutri.ajax; import java.util.List; import com.iesvn.yte.Action; import com.iesvn.yte.dieutri.delegate.DieuTriUtilDelegate; import com.iesvn.yte.entity.DmXa; import com.iesvn.yte.util.Utils; public class GetXaAction extends Action { public String performAction(String request) throws Exception { StringBuffer buf = new StringBuffer(); List listDmXa = null; try { DieuTriUtilDelegate dtutilDelegate = DieuTriUtilDelegate.getInstance(); listDmXa = dtutilDelegate.findByNgayGioCN( Double.parseDouble(request), "DmXa", "dmxaNgaygiocn"); } catch (Exception ex) { } buf.append("<list>"); //buf.append("<record MaSo='' Ten='' NgayChinhSua='' />"); if (listDmXa != null) { for (Object obj : listDmXa) { DmXa xa = (DmXa) obj; //xa.getDmxaNgaygiocn() String ten = xa.getDmxaTen(); ten = Utils.findAndreplace(ten); String huyenMaso = ""; if (xa.getDmhuyenMaso() != null) { huyenMaso = xa.getDmhuyenMaso().getDmhuyenMaso().toString(); } buf.append("<record MaSo='" + xa.getDmxaMaso() + "' Ma='" + xa.getDmxaMa() + "' Ten='" + ten + "' DMHUYEN_MASO='" + huyenMaso + "' DMXA_DEFA='" + Utils.reFactorString(xa.getDmxaDefa()) + "' DT='" + Utils.reFactorString(xa.getDmxaChon()) + "' NgayChinhSua='" + xa.getDmxaNgaygiocn() + "' />"); } } buf.append("</list>"); return buf.toString(); } }
[ "iboy.vn@gmail.com" ]
iboy.vn@gmail.com
2fff595d813dadf93d6e3dddbdb9ae28c6dd899c
f7464d97794e0aabaaf7db6a8dd556d6ee5a976c
/library/src/org/webpki/sks/SKSException.java
612f3eb70695384b281a99755ff7d6dfb3c1fce4
[]
no_license
cyberphone/openkeystore.old
dbc03abfa0c3ec211cdb29d29b0f2b20210698cb
342f3c290473bf0dd225099188b567b6ef26979e
refs/heads/master
2021-10-23T15:08:03.993450
2018-03-10T08:30:19
2018-03-10T08:30:19
32,799,128
1
0
null
null
null
null
UTF-8
Java
false
false
2,578
java
/* * Copyright 2006-2016 WebPKI.org (http://webpki.org). * * 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 * * https://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.webpki.sks; import java.io.IOException; @SuppressWarnings("serial") public class SKSException extends IOException { /* Non-fatal error returned when there is something wrong with a supplied PIN or PUK code. See getKeyProtectionInfo */ public static final int ERROR_AUTHORIZATION = 0x01; /* Operation is not allowed */ public static final int ERROR_NOT_ALLOWED = 0x02; /* No persistent storage available for the operation */ public static final int ERROR_STORAGE = 0x03; /* MAC does not match supplied data */ public static final int ERROR_MAC = 0x04; /* Various cryptographic errors */ public static final int ERROR_CRYPTO = 0x05; /* Provisioning session not found */ public static final int ERROR_NO_SESSION = 0x06; /* Key not found */ public static final int ERROR_NO_KEY = 0x07; /* Unknown or not fitting algorithm */ public static final int ERROR_ALGORITHM = 0x08; /* Invalid or unsupported option */ public static final int ERROR_OPTION = 0x09; /* Internal error */ public static final int ERROR_INTERNAL = 0x0A; /* External: Arbitrary error */ public static final int ERROR_EXTERNAL = 0x0B; /* External: User aborting PIN (or similar) error */ public static final int ERROR_USER_ABORT = 0x0C; /* External: Device not available */ public static final int ERROR_NOT_AVAILABLE = 0x0D; int error; public SKSException(String e, int error) { super(e); this.error = error; } public SKSException(Throwable t, int error) { super(t); this.error = error; } public SKSException(Throwable t) { super(t); this.error = ERROR_INTERNAL; } public SKSException(String e) { this(e, ERROR_INTERNAL); } public int getError() { return error; } }
[ "anders.rundgren.net@gmail.com" ]
anders.rundgren.net@gmail.com
2a93cec05d0cfac2e488b3265d87549d891bcc2d
a0a259f41cca761c437c8060b2890fbe8f54f287
/library/src/main/java/com/tkpphr/android/editor/view/dialog/SaveFileNameInputDialog.java
df5a25011fc25eac8758fb3cd5f8fd5358f511e4
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
tkpphr/AndroidEditor
0b6367b7d6ade393f18bf5b6da89b5e9e35a0c7e
6e776a8ca0af931aa3e453159dc2844f638ccd8b
refs/heads/master
2020-04-04T23:09:25.711333
2018-12-05T10:05:26
2018-12-05T10:05:26
156,348,952
0
0
null
null
null
null
UTF-8
Java
false
false
4,686
java
/* Copyright 2018 tkpphr 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.tkpphr.android.editor.view.dialog; import android.app.Activity; import android.app.Dialog; import android.content.Context; import android.content.DialogInterface; import android.os.Build; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v7.app.AlertDialog; import android.support.v7.app.AppCompatDialogFragment; import android.view.View; import com.tkpphr.android.editor.R; import com.tkpphr.android.editor.util.Editor; import com.tkpphr.android.editor.view.customview.SaveFileNameInputView; public class SaveFileNameInputDialog extends AppCompatDialogFragment{ private SaveFileNameInputView saveFileInputView; private OnNameInputFinishedListener onNameInputFinishedListener; public static SaveFileNameInputDialog newInstance(Editor<?> fileDataEditor){ SaveFileNameInputDialog instance=new SaveFileNameInputDialog(); Bundle args=new Bundle(); args.putSerializable("editor",fileDataEditor); instance.setArguments(args); return instance; } @Override public void onAttach(Context context) { super.onAttach(context); if (context instanceof OnNameInputFinishedListener) { onNameInputFinishedListener = (OnNameInputFinishedListener) context; } } @Override public void onAttach(Activity activity) { super.onAttach(activity); if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.LOLLIPOP_MR1) { if (activity instanceof OnNameInputFinishedListener) { onNameInputFinishedListener = (OnNameInputFinishedListener) activity; } } } @NonNull @Override public Dialog onCreateDialog(Bundle savedInstanceState) { if(getTargetFragment() instanceof OnNameInputFinishedListener){ onNameInputFinishedListener =(OnNameInputFinishedListener)getTargetFragment(); }else if(getParentFragment() instanceof OnNameInputFinishedListener){ onNameInputFinishedListener =(OnNameInputFinishedListener)getParentFragment(); } final Editor<?> editor=(Editor<?>) getArguments().getSerializable("editor"); if(editor==null){ setShowsDialog(false); dismiss(); return new AlertDialog.Builder(getContext()).create(); } View view=View.inflate(getContext(),R.layout.edtr_dialog_save_file_name_input,null); saveFileInputView=(SaveFileNameInputView)view; if(savedInstanceState==null) { saveFileInputView.setEditor(editor); } saveFileInputView.setOnInputErrorChangedListener(new SaveFileNameInputView.OnInputErrorChangedListener() { @Override public void onInputErrorChanged(boolean isInputErrorEnabled) { ((AlertDialog)getDialog()).getButton(AlertDialog.BUTTON_POSITIVE).setEnabled(!isInputErrorEnabled); } }); return new AlertDialog.Builder(getContext()) .setTitle(R.string.edtr_save_to) .setMessage(R.string.edtr_hint_enter_save_name) .setView(view) .setPositiveButton(R.string.edtr_ok, new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialogInterface, int i) { if(onNameInputFinishedListener !=null){ onNameInputFinishedListener.onNameInputFinished(saveFileInputView.getText()); } } }) .setNegativeButton(R.string.edtr_cancel,null) .create(); } @Override public void onResume() { super.onResume(); if(saveFileInputView!=null && getDialog()!=null){ ((AlertDialog)getDialog()).getButton(AlertDialog.BUTTON_POSITIVE).setEnabled(!saveFileInputView.isInputErrorEnabled()); } } public interface OnNameInputFinishedListener { void onNameInputFinished(String name); } }
[ "tkpphr@gmail.com" ]
tkpphr@gmail.com
5eeac911402408571db13a548f8dd2b3c607a7a5
e7dcfcf9f21058712fac939e0b6c963599ff59d8
/0623,2020/homework/RandonNumberTest.java
c4c644d9785c2ac6ec5db339fafd88757120bfaf
[]
no_license
yurimnim/JAVA_101
6a54c50841eeb990b87c277f14501c47d09d0ea0
9b1d90af3c37ae46cfe35d65e0dd78b6eeef0e6f
refs/heads/master
2023-01-07T00:38:08.884511
2020-11-09T01:41:40
2020-11-09T01:41:40
272,456,275
3
0
null
null
null
null
UTF-8
Java
false
false
538
java
import java.util.Scanner; import java.util.Ramdom; class RandomNumberTest { public static void main(String[] args) { Scanner.sc = new Scanner(System.in); int input; Ramdom rand = new Ramdom(); int luckyNumber = rand.nextInt(101); System.out.println("+++++++!숫자맞추기 게임!++++++++"); do { System.out.println("1 부터 100 까지의 수를 입력하세요!"); input = nextInt(); if(input > 0 && input < 101) { break; } } while(true); } }
[ "noreply@github.com" ]
yurimnim.noreply@github.com
88d409063e54bdd517ee1579084c2e734aff47ec
440bc6492e107f9cfcdd06ca717ff8a8cafe56c3
/src/gea/types/CENTROID.java
eb3200fd8a4b563f9204eafc7f02b9fd9ba57416
[]
no_license
acalvoa/SISGEOB-GEOCGR
0f2aaa58fb29053a906a16069ee4c323d79fe17c
ab1cb4eaeb99a71d0cbcfb8614e754f8a74d4033
refs/heads/master
2021-06-27T07:26:58.076414
2017-09-15T12:00:34
2017-09-15T12:00:34
103,652,624
0
0
null
null
null
null
UTF-8
Java
false
false
1,237
java
package gea.types; import gea.utils.geoutils.ConversorCoordenadas; import gea.utils.geoutils.GeoAlgorithm; import org.json.JSONArray; import org.json.JSONML; import org.json.JSONObject; public class CENTROID extends Type{ String gml; JSONObject coord = null; public CENTROID(String GML){ super(); this.gml = GML; } public void GMLCONVERT(String GML){ this.extract_polygon(JSONML.toJSONObject(GML)); } public void GMLCONVERT(){ this.extract_polygon(JSONML.toJSONObject(this.gml)); } public void extract_polygon(JSONObject poly){ ConversorCoordenadas conversor = new ConversorCoordenadas(); coord = new JSONObject(); JSONObject temp = poly; String[] cor = temp.getJSONArray("childNodes").getJSONObject(0).getJSONArray("childNodes").getString(0).split(","); coord.put("lng", cor[0]); coord.put("lat", cor[1]); } public JSONObject getCoord() { return coord; } @Override public String toString(){ if(this.gml != null){ this.GMLCONVERT(); return coord.toString(); } else{ coord = new JSONObject(); return coord.toString(); } } public static String GetSQL(String field) { // TODO Auto-generated method stub return "SDO_UTIL.TO_GMLGEOMETRY("+field+") AS "+field+","; } }
[ "angelo.calvoa@gmail.com" ]
angelo.calvoa@gmail.com
2494cd5e5ec9e29d496d21a69aebe3e227514087
31c76aeffb0e1be74fad16427ae62161cb21d678
/netty/src/main/java/com/sohu/smc/common/http/server/HttpProtocolPageParser.java
bdcb22e50018da019e9af893ac6812994a369081
[]
no_license
kuntang/java.component
9f12305afead3b0dfbb045fc510d0d6c2b6569cb
4e0cd136a3bb8025b3f26ada7e58dc9abd3e4c9e
refs/heads/master
2021-01-10T07:57:18.021961
2016-08-30T11:31:13
2016-08-30T11:31:13
45,286,924
1
0
null
null
null
null
GB18030
Java
false
false
5,898
java
package com.sohu.smc.common.http.server; import org.jboss.netty.handler.codec.http.HttpRequest; import org.jboss.netty.handler.codec.http.HttpResponse; import java.io.File; import java.io.IOException; import java.util.Date; import java.util.concurrent.*; import java.util.concurrent.atomic.AtomicLong; /** * Created by tangkun.tk on 2015/1/1. */ public class HttpProtocolPageParser { // 网页相关的html,js,css文件基准路径. private static String basePath; public static ConcurrentMap<String,byte[]> fileMap = new ConcurrentHashMap<String, byte[]>(); public static ConcurrentMap<String,Long> fileModifyTimeMap = new ConcurrentHashMap<String, Long>(); private static byte[] emptyByteArray = new byte[0]; private static AtomicLong counter = new AtomicLong(0); private static final ScheduledExecutorService scheduler = Executors .newScheduledThreadPool(5); static { long delay = 20 * 1000L; scheduler.scheduleAtFixedRate(new FlushHtmlFileTask(), 0, delay, TimeUnit.MILLISECONDS); } public static class FlushHtmlFileTask implements Runnable{ @Override public void run() { File file = new File(basePath); recursionHtmlFile("",file); } } public static void recursionHtmlFile(String path,File file){ if(file == null){ return; } String name = null; if(!path.contains("/")){ name = ""; }else{ name = path+file.getName(); } if(file.isDirectory()){ File files[] = file.listFiles(); for(File item : files){ recursionHtmlFile(name + "/", item); } }else { System.out.println("name: "+name); if(fileModifyTimeMap.containsKey(name)){ File targetFile = new File(basePath+name); if(fileModifyTimeMap.get(name) != targetFile.lastModified()) { byte[] value = new byte[0]; try { value = FileUtil.getFileContent(targetFile); if(value != null || value.length > 10){ fileMap.put(name,value); fileModifyTimeMap.put(name,file.lastModified()); System.out.println("刷新文件"+name); } } catch (IOException e) { e.printStackTrace(); } } } return; } } public static boolean checkHtmlPage(String uri){ if(uri.endsWith(".html") || uri.endsWith(".css") ||uri.endsWith(".js") || uri.endsWith(".jpg") || uri.endsWith(".png") || uri.endsWith("gif") || uri.endsWith(".otf") || uri.endsWith(".eot") || uri.endsWith(".svg") || uri.endsWith(".ttf") || uri.endsWith(".woff")){ return true; } return false; } public static byte[] getPageBytes(String uri,String[] uriSplits,HttpRequest request,HttpResponse response) throws IOException { if(uri.endsWith(".html") ){ response.setHeader("Content-Type", "text/html; charset=UTF-8"); return getPageByteByName(uriSplits,request,response); } if( uri.endsWith(".css") ){ response.setHeader("Content-Type", "text/css"); return getPageByteByName(uriSplits,request,response); } if( uri.endsWith(".js") ){ response.setHeader("Content-Type", "application/javascript"); return getPageByteByName(uriSplits,request,response); } if( uri.endsWith(".jpg") ){ response.setHeader("Content-Type", "image/jpeg"); return getPageByteByName(uriSplits,request,response); } if( uri.endsWith(".png") || uri.endsWith("gif")){ response.setHeader("Content-Type", "image/jpeg"); return getPageByteByName(uriSplits,request,response); } if(uri.endsWith(".otf") || uri.endsWith(".eot") || uri.endsWith(".svg") || uri.endsWith(".ttf") || uri.endsWith(".woff")){ response.setHeader("Content-Type","application/font-woff"); return getPageByteByName(uriSplits,request,response); } return (uri+"page not exist.").getBytes(); } private static byte[] getPageByteByName(String[] uriSplits,HttpRequest request,HttpResponse response) throws IOException { // 设置缓存时间和过期时间 3个月 long expires = 3*30*24*60*60*1000L; response.setHeader("Cache-Control","private, max-age="+expires); long time = System.currentTimeMillis()+expires; response.setHeader("Expires",new Date(time)); if(HttpServerHandler.checkLastModify(request, response)){ return emptyByteArray; } String endStr = ""; if(uriSplits.length>1){ for(int i=1;i<uriSplits.length;i++){ endStr += "/"+uriSplits[i]; } } if(fileMap.containsKey(endStr)){ System.out.println("获取缓存中的web文件"+endStr); return fileMap.get(endStr); }else{ // File file = new File(); File file = new File(basePath+endStr); System.out.println("获取磁盘中的web文件"+endStr); byte[] value = FileUtil.getFileContent(file); if(value != null || value.length > 10){ fileMap.put(endStr,value); fileModifyTimeMap.put(endStr,file.lastModified()); } return value; } } public static String getBasePath() { return basePath; } public static void setBasePath(String basePath) { HttpProtocolPageParser.basePath = basePath; } }
[ "tangkun.tk@alibaba-inc.com" ]
tangkun.tk@alibaba-inc.com
ad20b9470bedef13c0e36f6949230cab6a15aed3
71090c7d4ed6b1ab2fc3720832a598a904a48ffe
/itriputils/src/main/java/cn/itrip/common/Dto.java
e349e1875e2cece954bf70eb12327999213f16a6
[]
no_license
lixinhong01/itrip02
6ad90e6b1f3b92d488860c144862ef2340b5bcd6
aaa97f218a41604e76d2d1ddc483529bc88ebf88
refs/heads/master
2022-12-21T10:16:50.374426
2019-08-17T07:19:18
2019-08-17T07:19:18
202,839,494
0
0
null
2022-12-16T05:54:37
2019-08-17T05:25:47
Java
UTF-8
Java
false
false
923
java
package cn.itrip.common; /** * 数据传输对象(后端输出对象) * @param <T> * Created by hanlu on 2017/5/7. */ public class Dto<T>{ private String success; //判断系统是否出错做出相应的true或者false的返回,与业务无关,出现的各种异常 private String errorCode;//该错误码为自定义,一般0表示无错 private String msg;//对应的提示信息 private T data;//具体返回数据内容(pojo、自定义VO、其他) public T getData() { return data; } public void setData(T data) { this.data = data; } public String getSuccess() { return success; } public void setSuccess(String success) { this.success = success; } public String getErrorCode() { return errorCode; } public void setErrorCode(String errorCode) { this.errorCode = errorCode; } public String getMsg() { return msg; } public void setMsg(String msg) { this.msg = msg; } }
[ "356489791@qq.com" ]
356489791@qq.com
693624ec72c567c2cd956d00d0564c1319dcc95f
b5b386d99804df7bfaf74fc9b5a8da3904754393
/spring-cloud-docker/spring-cloud/microservice-gateway-zuul/src/main/java/com/itmuch/cloud/study/ZuulApplication.java
a49c7ae72fba842bf93e0304abbdf38318685836
[ "Apache-2.0" ]
permissive
18224061508/resource
69261a6cb7787fde6823d171ce1b061732dfb29c
5dbc41415cb45ca1f897741cb30e547d3e9a5c4d
refs/heads/master
2020-03-27T19:10:09.785677
2018-12-09T13:06:52
2018-12-09T13:06:52
146,969,520
0
0
null
null
null
null
UTF-8
Java
false
false
482
java
package com.itmuch.cloud.study; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.velocity.VelocityTemplateAvailabilityProvider; import org.springframework.cloud.netflix.zuul.EnableZuulProxy; @SpringBootApplication @EnableZuulProxy public class ZuulApplication{ public static void main(String[] args) { SpringApplication.run(ZuulApplication.class, args); } }
[ "1016638604@qq.com" ]
1016638604@qq.com
89405a40f96369c4fbe9c64947ea6d54049ba132
98ee2e5b3442837ce6c57adfe65ef7387f0b57bf
/src/com/zhm/designPattern/project/adapter/TwoPlugExtends.java
da464bdb70606b765b52d2d857378c937b759227
[]
no_license
hongming-github/DesignPattern
e808bd4197ccf7dd99dfcfa8b3039a3162a63613
84e3c19a2992ee35b52946012d6b6c8ac2f8779d
refs/heads/master
2022-08-07T20:11:10.543282
2018-11-28T15:55:46
2018-11-28T15:55:46
156,731,494
0
0
null
null
null
null
UTF-8
Java
false
false
305
java
package com.zhm.designPattern.project.adapter; /** * Created by zhm on 2018/8/21. */ public class TwoPlugExtends extends GBTwoPlug implements ThreePlugInterface { @Override public void powerWithThree() { System.out.println("借助继承适配器"); this.powerWithTwo(); } }
[ "306490609@qq.com" ]
306490609@qq.com
3dfd5da2bdb8f0a47b08bd71a9d1d3787424fefc
e9ca085a38f1d422b5d38662616aef4978b9cc1d
/thinking-in-spring/spring-bean/src/main/java/thinking/in/spring/bean/factory/DefaultUserFactory.java
9e6e6fd23c61a1b9778bfba360cb708f31e5eecc
[]
no_license
Hecate7/lesson-demo
daec071b15d074be860bf10f89b669a141b9f2f6
377e098fa7f1d345cce0d973cca6f05dfcaa539a
refs/heads/master
2023-01-02T18:40:55.869686
2020-10-27T10:56:15
2020-10-27T10:56:15
296,517,764
0
0
null
null
null
null
UTF-8
Java
false
false
101
java
package thinking.in.spring.bean.factory; public class DefaultUserFactory implements UserFactory { }
[ "liu" ]
liu
6ba84aed0205f4bbd54bf892be4d3681321643e2
a840a5e110b71b728da5801f1f3e591f6128f30e
/src/test/java/com/google/security/zynamics/reil/translators/mips/LuiTranslatorTest.java
fb6f904a157e1bd8a5e7cd53aa8bc5852537577f
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
tpltnt/binnavi
0a25d2fde2c6029aeef4fcfec8eead5c8e51f4b4
598c361d618b2ca964d8eb319a686846ecc43314
refs/heads/master
2022-10-20T19:38:30.080808
2022-07-20T13:01:37
2022-07-20T13:01:37
107,143,332
0
0
Apache-2.0
2023-08-20T11:22:53
2017-10-16T15:02:35
Java
UTF-8
Java
false
false
3,872
java
/* Copyright 2014 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package com.google.security.zynamics.reil.translators.mips; import static org.junit.Assert.assertEquals; import com.google.common.collect.Lists; import com.google.security.zynamics.reil.OperandSize; import com.google.security.zynamics.reil.ReilInstruction; import com.google.security.zynamics.reil.TestHelpers; import com.google.security.zynamics.reil.interpreter.CpuPolicyMips; import com.google.security.zynamics.reil.interpreter.EmptyInterpreterPolicy; import com.google.security.zynamics.reil.interpreter.Endianness; import com.google.security.zynamics.reil.interpreter.InterpreterException; import com.google.security.zynamics.reil.interpreter.ReilInterpreter; import com.google.security.zynamics.reil.interpreter.ReilRegisterStatus; import com.google.security.zynamics.reil.translators.InternalTranslationException; import com.google.security.zynamics.reil.translators.StandardEnvironment; import com.google.security.zynamics.reil.translators.mips.LuiTranslator; import com.google.security.zynamics.zylib.disassembly.ExpressionType; import com.google.security.zynamics.zylib.disassembly.IInstruction; import com.google.security.zynamics.zylib.disassembly.MockInstruction; import com.google.security.zynamics.zylib.disassembly.MockOperandTree; import com.google.security.zynamics.zylib.disassembly.MockOperandTreeNode; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; import java.math.BigInteger; import java.util.ArrayList; import java.util.List; @RunWith(JUnit4.class) public class LuiTranslatorTest { private final ReilInterpreter interpreter = new ReilInterpreter(Endianness.LITTLE_ENDIAN, new CpuPolicyMips(), new EmptyInterpreterPolicy()); private final StandardEnvironment environment = new StandardEnvironment(); private final LuiTranslator translator = new LuiTranslator(); private final ArrayList<ReilInstruction> instructions = new ArrayList<ReilInstruction>(); @Test public void testLaOne() throws InternalTranslationException, InterpreterException { interpreter.setRegister("$v1", BigInteger.ZERO, OperandSize.DWORD, ReilRegisterStatus.DEFINED); final MockOperandTree operandTree1 = new MockOperandTree(); operandTree1.root = new MockOperandTreeNode(ExpressionType.SIZE_PREFIX, "b4"); operandTree1.root.m_children.add(new MockOperandTreeNode(ExpressionType.REGISTER, "$v1")); final MockOperandTree operandTree2 = new MockOperandTree(); operandTree2.root = new MockOperandTreeNode(ExpressionType.SIZE_PREFIX, "b4"); operandTree2.root.m_children.add(new MockOperandTreeNode(ExpressionType.IMMEDIATE_INTEGER, String.valueOf(0x123L))); final List<MockOperandTree> operands = Lists.newArrayList(operandTree1, operandTree2); final IInstruction instruction = new MockInstruction("lui", operands); translator.translate(environment, instruction, instructions); interpreter.interpret(TestHelpers.createMapping(instructions), BigInteger.valueOf(0x100)); // check correct outcome assertEquals(2, TestHelpers.filterNativeRegisters(interpreter.getDefinedRegisters()).size()); assertEquals(BigInteger.valueOf(0x1230000L), interpreter.getVariableValue("$v1")); assertEquals(BigInteger.ZERO, BigInteger.valueOf(interpreter.getMemorySize())); } }
[ "cblichmann@google.com" ]
cblichmann@google.com
9a365552f7364b51a53691433b5f442dcf545aee
c8de7488ed6b5181eb49954002eac5f4f2311eaa
/Sources/API/src/main/java/pl/north93/northplatform/api/global/network/NetworkControllerRpc.java
741ba7187d68ce6ba062c99fbf2b5e749e8dd1db
[]
no_license
northpl93/NorthPlatform
9a72b4c071444b6de408a5e4b2b2bdd54092a448
94808b22cf905c792df850dd0e179bbe9152257c
refs/heads/master
2023-07-10T06:22:34.018751
2021-08-06T19:17:42
2021-08-06T19:17:42
151,781,268
39
1
null
null
null
null
UTF-8
Java
false
false
899
java
package pl.north93.northplatform.api.global.network; import java.util.UUID; import pl.north93.northplatform.api.global.network.server.ServerState; import pl.north93.northplatform.api.global.redis.rpc.annotation.DoNotWaitForResponse; public interface NetworkControllerRpc { /** * Nic nie robi. */ void ping(); // default - 1 sec timeout /** * Wyłącza kontroler sieci. */ @DoNotWaitForResponse void stopController(); /** * Zmienia stan serwera o podanym UUID * * @param serverId unikalny identyfikator serwera * @param serverState nowy stan serwera */ @DoNotWaitForResponse void updateServerState(UUID serverId, ServerState serverState); /** * Usuwa serwer o podanym UUID * * @param serverId unikalny identyfikator serwera */ @DoNotWaitForResponse void removeServer(UUID serverId); }
[ "northpl93@gmail.com" ]
northpl93@gmail.com
7c29402253ceb9f6f0bcdab388f3ecb2f5a36d0f
e9affefd4e89b3c7e2064fee8833d7838c0e0abc
/aws-java-sdk-dms/src/main/java/com/amazonaws/services/databasemigrationservice/model/transform/DescribeMetadataModelAssessmentsRequestProtocolMarshaller.java
c9ac405c49080aee9c507d55ed401f357400a66c
[ "Apache-2.0" ]
permissive
aws/aws-sdk-java
2c6199b12b47345b5d3c50e425dabba56e279190
bab987ab604575f41a76864f755f49386e3264b4
refs/heads/master
2023-08-29T10:49:07.379135
2023-08-28T21:05:55
2023-08-28T21:05:55
574,877
3,695
3,092
Apache-2.0
2023-09-13T23:35:28
2010-03-22T23:34:58
null
UTF-8
Java
false
false
2,993
java
/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file 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.amazonaws.services.databasemigrationservice.model.transform; import javax.annotation.Generated; import com.amazonaws.SdkClientException; import com.amazonaws.Request; import com.amazonaws.http.HttpMethodName; import com.amazonaws.services.databasemigrationservice.model.*; import com.amazonaws.transform.Marshaller; import com.amazonaws.protocol.*; import com.amazonaws.protocol.Protocol; import com.amazonaws.annotation.SdkInternalApi; /** * DescribeMetadataModelAssessmentsRequest Marshaller */ @Generated("com.amazonaws:aws-java-sdk-code-generator") @SdkInternalApi public class DescribeMetadataModelAssessmentsRequestProtocolMarshaller implements Marshaller<Request<DescribeMetadataModelAssessmentsRequest>, DescribeMetadataModelAssessmentsRequest> { private static final OperationInfo SDK_OPERATION_BINDING = OperationInfo.builder().protocol(Protocol.AWS_JSON).requestUri("/") .httpMethodName(HttpMethodName.POST).hasExplicitPayloadMember(false).hasPayloadMembers(true) .operationIdentifier("AmazonDMSv20160101.DescribeMetadataModelAssessments").serviceName("AWSDatabaseMigrationService").build(); private final com.amazonaws.protocol.json.SdkJsonProtocolFactory protocolFactory; public DescribeMetadataModelAssessmentsRequestProtocolMarshaller(com.amazonaws.protocol.json.SdkJsonProtocolFactory protocolFactory) { this.protocolFactory = protocolFactory; } public Request<DescribeMetadataModelAssessmentsRequest> marshall(DescribeMetadataModelAssessmentsRequest describeMetadataModelAssessmentsRequest) { if (describeMetadataModelAssessmentsRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { final ProtocolRequestMarshaller<DescribeMetadataModelAssessmentsRequest> protocolMarshaller = protocolFactory.createProtocolMarshaller( SDK_OPERATION_BINDING, describeMetadataModelAssessmentsRequest); protocolMarshaller.startMarshalling(); DescribeMetadataModelAssessmentsRequestMarshaller.getInstance().marshall(describeMetadataModelAssessmentsRequest, protocolMarshaller); return protocolMarshaller.finishMarshalling(); } catch (Exception e) { throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e); } } }
[ "" ]
ed153bb9ac9f1b39c6c436e4f6ba58a17d5e8b2c
5a3e794b1c4cfc5be6fcadb0f44486d1406d64d3
/Fatuous.java
7d2944820a908091cecdccd9f1c3aeb0494ab942
[]
no_license
judsonwebb/JavaOOP
08a8df90bcea806a5936062d33130108c3c8a372
89416214669a05c774332cba8afdb00bb79ee935
refs/heads/master
2020-03-15T14:35:14.391912
2018-05-04T22:06:24
2018-05-04T22:06:24
132,192,605
0
0
null
null
null
null
UTF-8
Java
false
false
1,784
java
/* Program Name: Fatuous Author: Noah Webb Class: AP Computer Science Date: 11/15/16 Program description: Fatuous calculates the values of specific dice rolls. What I learned from this program: How to use complex nested decision-making. Difficulties: Arranging the nesting appropiately took some time. */ import java.util.*; import java.io.*; public class Fatuous { public static void main (String args[]) { Scanner keyboard = new Scanner(System.in); int value; System.out.print("Enter P: "); int p = keyboard.nextInt(); System.out.print("Enter Q: "); int q = keyboard.nextInt(); if (p%2==0)//even { if (q%2==0)//even { if (p == q) { value = 3*p; } else { value = p+q; } } else//odd { value = 2*p + q; } } else//odd { if (q%2==0)//even { value = p+ 2*q ; } else//odd { if (p ==q) { value = 3*q; } else { value = p+q; } } } System.out.println("Value = "+value); } } /*Sample Output: Enter P: 2 Enter Q: 5 Value = 9 Enter P: 4 Enter Q: 4 Value = 12 Enter P: 6 Enter Q: 2 Value = 8 Enter P: 1 Enter Q: 3 Value = 4 Enter P: 5 Enter Q: 5 Value = 15 Enter P: 1 Enter Q: 2 Value = 5 */
[ "noreply@github.com" ]
judsonwebb.noreply@github.com
81cf11412364b870a3953f3cd4b2c32f29836b71
9f7a4994b83f966b6820858ed32c06eaae4820ea
/Reto6_gr44/src/Controller_pkg/ItemHospital.java
a19b3fcf753b95e04694a94d7e7c3d0f214e4fb3
[]
no_license
DiegoCoPi/Reto_Semanas_6_7
949f8764f84e9f538347227f14c1100fb69c0403
94e8a651602d2a7f1bd920cb33f2b25fa3f05769
refs/heads/main
2023-07-25T12:54:17.386226
2021-08-18T11:42:28
2021-08-18T11:42:28
397,579,510
0
0
null
null
null
null
UTF-8
Java
false
false
912
java
/* * 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 Controller_pkg; /** * * @author Diego Corrales */ public class ItemHospital { private int idHospital; private String Hospital; public ItemHospital(int idHospital, String Hospital) { this.idHospital = idHospital; this.Hospital = Hospital; } public int getIdHospital() { return idHospital; } public void setIdHospital(int idHospital) { this.idHospital = idHospital; } public String getHospital() { return Hospital; } public void setHospital(String Hospital) { this.Hospital = Hospital; } @Override public String toString(){ return getHospital(); } }
[ "noreply@github.com" ]
DiegoCoPi.noreply@github.com
0d4719a6781f6bca1adbf288701ff54991d1ca54
dd52fad49c285bf6d759b35f24ad466a6aaa67a7
/PTN_Server(2015)/src/com/nms/db/bean/equipment/card/CardInst.java
f5edd4eecfa1bb906b0b8adaae0c6d85c5eb9400
[]
no_license
pengchong1989/sheb_serice
a5c46113f822342dfe98c5c232b5df21cb1ac6b6
3ce6550e8eb39f38871b4481af2987f238a368da
refs/heads/master
2021-08-30T05:52:24.235809
2017-12-16T08:47:06
2017-12-16T08:47:06
114,067,650
0
0
null
null
null
null
UTF-8
Java
false
false
3,589
java
package com.nms.db.bean.equipment.card; import java.util.List; import com.nms.db.bean.equipment.port.PortInst; import com.nms.db.bean.equipment.slot.SlotInst; import com.nms.model.equipment.slot.SlotService_MB; import com.nms.model.util.Services; import com.nms.ui.frame.ViewDataObj; import com.nms.ui.manager.ConstantUtil; import com.nms.ui.manager.ExceptionManage; import com.nms.ui.manager.UiUtil; /** * 板卡 实体类 * @author Administrator * */ public class CardInst extends ViewDataObj { /** * */ private static final long serialVersionUID = 1L; private int id; private int siteId;//网元ID private int equipId;//设备ID private int slotId;//槽位ID private String cardName;//板卡名称 private String cardType;//板卡类型 private String imagePath;//图片路径 private int cardx; private int cardy; private List<PortInst> portList;//端口列表 private SlotInst slotInst;//槽位 private int tdmLoopback; private String snmpName;//北向厂商友好名称 private String installedSerialNumber;//安装序列号 public String getInstalledSerialNumber() { return installedSerialNumber; } public void setInstalledSerialNumber(String installedSerialNumber) { this.installedSerialNumber = installedSerialNumber; } public String getSnmpName() { return snmpName; } public void setSnmpName(String snmpName) { this.snmpName = snmpName; } public int getTdmLoopback() { return tdmLoopback; } public void setTdmLoopback(int tdmLoopback) { this.tdmLoopback = tdmLoopback; } public int getId() { return id; } public void setId(int id) { this.id = id; } public int getSiteId() { return siteId; } public void setSiteId(int siteId) { this.siteId = siteId; } public int getEquipId() { return equipId; } public void setEquipId(int equipId) { this.equipId = equipId; } public int getSlotId() { return slotId; } public void setSlotId(int slotId) { this.slotId = slotId; } public String getCardName() { return cardName; } public void setCardName(String cardName) { this.cardName = cardName; } public String getCardType() { return cardType; } public void setCardType(String cardType) { this.cardType = cardType; } public String getImagePath() { return imagePath; } public void setImagePath(String imagePath) { this.imagePath = imagePath; } public int getCardx() { return cardx; } public void setCardx(int cardx) { this.cardx = cardx; } public int getCardy() { return cardy; } public void setCardy(int cardy) { this.cardy = cardy; } public List<PortInst> getPortList() { return portList; } public void setPortList(List<PortInst> portList) { this.portList = portList; } public SlotInst getSlotInst() { return slotInst; } public void setSlotInst(SlotInst slotInst) { this.slotInst = slotInst; } @SuppressWarnings("unchecked") @Override public void putObjectProperty() { SlotService_MB slotService = null; SlotInst slotInst = null; try { slotService = (SlotService_MB) ConstantUtil.serviceFactory.newService_MB(Services.SLOT); slotInst = new SlotInst(); slotInst.setId(getSlotId()); slotInst = slotService.select(slotInst).get(0); getClientProperties().put("name", getCardName()); getClientProperties().put("number", slotInst.getNumber()); getClientProperties().put("cardName", getCardName()); getClientProperties().put("slotType", slotInst.getSlotType()); } catch (Exception e) { ExceptionManage.dispose(e,this.getClass()); }finally{ UiUtil.closeService_MB(slotService); } } }
[ "pengchong@jiupaicn.com" ]
pengchong@jiupaicn.com
07498f67e119f11e2e2efdbd1aba9356575bd0b5
e82511e37a77dcc0fea545a023414a8bb74f5fcd
/src/main/java/us/ihmc/jOctoMap/tools/JOctoMapTools.java
461bcda8d8d2a27f192f9852a432f4481ba4a39c
[]
no_license
ihmcrobotics/joctomap
37ccb1cc49d6281da4c364dd05a3f975a5b808e2
1d7c1a79f6ffa58aad5147d75bd2bb74ba1a4564
refs/heads/master
2023-08-09T14:20:30.338715
2022-09-08T22:12:27
2022-09-08T22:12:27
110,272,982
1
1
null
null
null
null
UTF-8
Java
false
false
840
java
package us.ihmc.jOctoMap.tools; public abstract class JOctoMapTools { /** * Compute log-odds from probability: */ public static float logodds(double probability) { return (float) (Math.log(probability / (1.0 - probability))); } /** * Compute probability from logodds: */ public static double probability(double logodds) { return 1.0 - (1.0 / (1.0 + Math.exp(logodds))); } public static void checkIfDepthValid(int depthToCheck, int treeDepth) { if (depthToCheck < 0 || depthToCheck > treeDepth) throw new RuntimeException("Given depth is invalid: " + depthToCheck); } public static double nanoSecondsToSeconds(long timeInNanoSeconds) { return (timeInNanoSeconds) / 1e9; } public static double square(double x) { return x * x; } }
[ "sbertrand@ihmc.us" ]
sbertrand@ihmc.us
134bc0623ea02cc91074078372319ad70f28c0d9
38683e7aff0bb3e41ca7e544830ae1078080da44
/src/main/java/br/com/xptosystems/address/CitiesComparator.java
4f2a9a76b389594edecc25a36e4b0d554a3a86a2
[]
no_license
brunovschettini/xpto
85446ae843157369cdfa06fe4b620b258973e69f
c0cef53e94923165e08f2400aa57970a2e495781
refs/heads/master
2021-09-15T23:42:30.934839
2018-06-12T22:24:11
2018-06-12T22:24:11
null
0
0
null
null
null
null
UTF-8
Java
false
false
450
java
package br.com.xptosystems.address; import java.util.Comparator; public class CitiesComparator extends Cities implements Comparator { public int compare(Cities c1, Cities c2) { return c1.getName().compareTo(c2.getName()); } @Override public int compare(Object o1, Object o2) { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } }
[ "bruno.rtools@outlook.com" ]
bruno.rtools@outlook.com
9f7e743317e628bc95f96758af0f15fbe6e76850
2cf46e97937b8aad3a13f021fab43bde1f7003fc
/main/java/com/bridgelabz/addressbookproblem/BookAddress.java
21843f96202e172667480986f3da5f4e686bf4cd
[]
no_license
shindeanant/addressBookProblems
1574582dbb51e07393b328df4ad236b5ab819d4e
bafd8a1c890aba9599ae2ff91e4a7317c34ea52f
refs/heads/master
2023-08-28T03:10:01.143031
2021-10-29T07:31:59
2021-10-29T07:31:59
null
0
0
null
null
null
null
UTF-8
Java
false
false
10,867
java
package com.bridgelabz.addressbookproblem; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Scanner; import java.util.*; import java.util.stream.Collectors; public class BookAddress { public ArrayList<BookAddress> contact = new ArrayList<>(); public Scanner sc = new Scanner(System.in); // class members public String first_name; public String last_name; public String address; public String city; public String state; public String zip; public String phone_number; public String email; public boolean flag; public BookAddress() { System.out.println("Welcome to adress book program"); // welcome message } public BookAddress(String first_name, String last_name, String address, String city, String state, String zip, String phone_number, String email) { this.first_name = first_name; this.last_name = last_name; this.address = address; this.city = city; this.state = state; this.zip = zip; this.phone_number = phone_number; this.email = email; } // parameterized constructors for initializing class members public void insertContact() { System.out.println("Enter the contact details"); System.out.println("first Name:"); String first_name = sc.nextLine(); if (duplicateCheck(first_name) == false) { System.out.println("last name:"); String last_name = sc.nextLine(); System.out.println("address:"); String address = sc.nextLine(); System.out.println("city:"); String city = sc.nextLine(); System.out.println("state:"); String state = sc.nextLine(); System.out.println("zip:"); String zip = sc.nextLine(); System.out.println("phone number:"); String phone_number = sc.nextLine(); System.out.println("E-mail:"); String email = sc.nextLine(); contact.add(new BookAddress(first_name, last_name, address, city, state, zip, phone_number, email)); } } // method to display the addressbook public void display() { flag = false; System.out.println("Enter the person whose contact to be displayed"); // to display desired contact String name2 = sc.next(); for (int j = 0; j < contact.size(); j++) { BookAddress object = contact.get(j); if (object.first_name.equals(name2)) { flag = true; System.out.println("First Name:" + object.first_name); System.out.println("Last Name:" + object.last_name); System.out.println("Address:" + object.address); System.out.println("City:" + object.city); System.out.println("State:" + object.state); System.out.println("Zip:" + object.zip); System.out.println("Phone number:" + object.phone_number); System.out.println("E-mail:" + object.email); // call display function } } if (flag == false) System.out.println("Contact doesn't exist"); } public void display_addressbook() { if (contact.size() == 0) // to display all the contacts of the address book { System.out.println("Address Book is Empty"); } else { System.out.println("Address book contains following contacts!!!"); for (int j = 0; j < contact.size(); j++) { BookAddress object = contact.get(j); System.out.println("Contact details of person" + j); System.out.println("first Name:" + object.first_name); System.out.println("last name:" + object.last_name); System.out.println("address:" + object.address); System.out.println("city:" + object.city); System.out.println("state:" + object.state); System.out.println("zip:" + object.zip); System.out.println("phone number:" + object.phone_number); System.out.println("E-mail:" + object.email); // call display function } } } // method to edit the address book object itself modified public void edit() { System.out.println("Enter the person whose contact to be edited"); String name = sc.next(); int flag = 0; for (int j = 0; j < contact.size(); j++) { BookAddress object = contact.get(j); if (object.first_name.equals(name)) { flag = 1; System.out.println("first Name:" + object.first_name); System.out.println("last name:" + object.last_name); System.out.println("address:" + object.address); System.out.println("city:" + object.city); System.out.println("state:" + object.state); System.out.println("zip:" + object.zip); System.out.println("phone number:" + object.phone_number); System.out.println("E-mail:" + object.email); System.out.println( "Enter the number which you want to edit\n1.first name\n2.last name\n3.address\n4.city\n5.state\n6.zip\n7.phone number\n8.email"); int choose = sc.nextInt(); switch (choose) { case 1: System.out.println("first name:"); object.first_name = sc.next(); break; case 2: System.out.println("last name:"); object.last_name = sc.next(); break; case 3: System.out.println("address:"); object.address = sc.next(); break; case 4: System.out.println("city:"); object.city = sc.next(); break; case 5: System.out.println("state:"); object.state = sc.next(); break; case 6: System.out.println("zip:"); object.zip = sc.next(); break; case 7: System.out.println("phone_number:"); object.phone_number = sc.next(); break; case 8: System.out.println("email:"); object.email = sc.next(); break; } } } if (flag == 0) System.out.println("Contact not found!!!"); } // method to delete a contact in address book public void delete() { flag = false; System.out.println("Enter the person whose contact to be deleted"); // to delete the contact of desired person String name1 = sc.next(); for (int j = 0; j < contact.size(); j++) { BookAddress object = contact.get(j); if (object.first_name.equals(name1)) { flag = true; contact.remove(object); // array list has built in method to remove objects } } if (flag == false) System.out.println("Contact doesnt exist"); } // method to check for duplicate first name public Boolean duplicateCheck(String name) { for (int j = 0; j < contact.size(); j++) { BookAddress object = contact.get(j); if (object.first_name.equals(name)) { System.out.println("Contact already exists!!Please enter a different contact name"); return true; } } return false; } /* * method to search a particular contact based on city or state */ public void search(String place) { for (int j = 0; j < contact.size(); j++) { BookAddress object = contact.get(j); if (object.city.equals(place) || object.state.equals(place)) { System.out.println(object.first_name + " " + object.last_name); } } } /* * method to view a particular contact based on state */ public void viewPersonByState() { Map<String, List<String>> stateMap = new HashMap<>(); for (int j = 0; j < contact.size(); j++) { BookAddress object = contact.get(j); if (stateMap.containsKey(object.state)) { List<String> temp = stateMap.get(object.state); temp.add(object.first_name); stateMap.put(object.state, temp); } else { List<String> temp = new ArrayList<>(); temp.add(object.first_name); stateMap.put(object.state, temp); } } for (Map.Entry m : stateMap.entrySet()) { System.out.println(m.getKey() + " : " + m.getValue()); System.out.println("There are " + ((List<String>) m.getValue()).size() + " persons in state " + m.getKey()); } } /* * method to view a particular contact based on city */ public void viewPersonByCity() { Map<String, List<String>> cityMap = new HashMap<>(); for (int j = 0; j < contact.size(); j++) { BookAddress object = contact.get(j); if (cityMap.containsKey(object.city)) { List<String> temp = cityMap.get(object.city); temp.add(object.first_name); cityMap.put(object.city, temp); } else { List<String> temp = new ArrayList<>(); temp.add(object.first_name); cityMap.put(object.city, temp); } } for (Map.Entry m : cityMap.entrySet()) { System.out.println(m.getKey() + " : " + m.getValue()); System.out.println("There are " + ((List<String>) m.getValue()).size() + " persons in city " + m.getKey()); } } /* * method to sort the list based on name or city or state or zip */ public void sortPersonByNameCityStateZip(int option) { Map<String, List<BookAddress>> map = new HashMap<>(); if (option == 1) { for (int j = 0; j < contact.size(); j++) { BookAddress object = contact.get(j); if (map.containsKey(object.first_name)) { List<BookAddress> temp = map.get(object.first_name); temp.add(object); map.put(object.first_name, temp); } else { List<BookAddress> temp = new ArrayList<>(); temp.add(object); map.put(object.first_name, temp); } } } else if (option == 2) { for (int j = 0; j < contact.size(); j++) { BookAddress object = contact.get(j); if (map.containsKey(object.city)) { List<BookAddress> temp = map.get(object.city); temp.add(object); map.put(object.city, temp); } else { List<BookAddress> temp = new ArrayList<>(); temp.add(object); map.put(object.city, temp); } } } else if (option == 3) { for (int j = 0; j < contact.size(); j++) { BookAddress object = contact.get(j); if (map.containsKey(object.state)) { List<BookAddress> temp = map.get(object.state); temp.add(object); map.put(object.state, temp); } else { List<BookAddress> temp = new ArrayList<>(); temp.add(object); map.put(object.state, temp); } } } else if (option == 4) { for (int j = 0; j < contact.size(); j++) { BookAddress object = contact.get(j); if (map.containsKey(object.zip)) { List<BookAddress> temp = map.get(object.zip); temp.add(object); map.put(object.zip, temp); } else { List<BookAddress> temp = new ArrayList<>(); temp.add(object); map.put(object.zip, temp); } } } else { System.out.println("choose correct option"); } Map<String, List<BookAddress>> sortedMap = map.entrySet().stream().sorted(Map.Entry.comparingByKey()) .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue, (oldValue, newValue) -> oldValue, LinkedHashMap::new)); for (Map.Entry<String, List<BookAddress>> entry : sortedMap.entrySet()) { for (BookAddress a : entry.getValue()) { System.out.println("First Name:" + a.first_name); System.out.println("Last Name:" + a.last_name); System.out.println("Address:" + a.address); System.out.println("City:" + a.city); System.out.println("State:" + a.state); System.out.println("Zip:" + a.zip); System.out.println("Phone number:" + a.phone_number); System.out.println("E-mail:" + a.email); System.out.println("--------------------------------------------"); } } } }
[ "shindeanant1997@gmail.com" ]
shindeanant1997@gmail.com
d704b63db2123883167b02386404c20fd8e835bc
f94f4aba23bf8120abf085fe1cf94e7845d675b3
/Z. Previous Work Upon Bengali/POS_tagging_by_2006331034,2006331048,20006331096/Coding for Implementation_POS/another_tagger/stem_pos_chk/src/test_potter/Main.java
7af0b00563a7bb834b174367e796ea2e4dcbc597
[]
no_license
RajibTheKing/Crime_Prediction_Bangladesh_Thesis
e2091294d44bf699dc3c2d8feb1ff96e2b5fe748
e7c8bf092c8112e21fa9fece5ea4875368683610
refs/heads/master
2020-03-17T05:23:11.780517
2018-05-14T06:47:06
2018-05-14T06:47:06
133,314,582
1
0
null
null
null
null
UTF-8
Java
false
false
12,221
java
package test_potter; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.util.StringTokenizer; import java.util.logging.Level; import java.util.logging.Logger; public class Main { public static void main(String[] args) { //CheckSuffix cs = new CheckSuffix(); //String result_pos = ""; //GuessPoS g=new GuessPoS(); // // EvaluatePoS e = new EvaluatePoS(); // e.kar_replace("C:/Users/rakib/Desktop/Thesis-15.01.11/Test/k_p_b/pos_stem_stemed.txt", "C:/Users/rakib/Desktop/Thesis-15.01.11/Test/k_p_b/final_count.txt"); // try { // FileOutputStream fos = new FileOutputStream("C:/Users/rakib/Desktop/Thesis-15.01.11/Test/k_p_b/pos_stem_stemed.txt"); FileOutputStream fos = new FileOutputStream("E://ThesisResource_pos/another_tagger/output/pos_stem_stemed.txt"); OutputStreamWriter ows = new OutputStreamWriter(fos, "UTF-8"); BufferedWriter bOutbuff = new BufferedWriter(ows); //Stemmer d = new Stemmer(); CheckSuffix d = new CheckSuffix(); EvaluatePoS ep = new EvaluatePoS(); //ep.kar_replace("C:/Users/rakib/Desktop/Thesis-15.01.11/Test/k_p_b/26.02.11/pos_stem_stemed.txt", "C:/Users/rakib/Desktop/Thesis-15.01.11/Test/k_p_b/final_count.txt"); ep.kar_replace("E://ThesisResource_pos/another_tagger/26/pos_stem_stemed.txt", "E://ThesisResource_pos/another_tagger/k_p_b/final_count.txt"); if (!d.init()) { System.out.println("Stem Failed :"); //System.exit(0); } Stemmer s = new Stemmer(d); String str; int strt; // if (d.init()) { // System.out.println("initialized"); // } // File directory = new File("C:/Users/rakib/Desktop/Thesis-15.01.11/Temporary/Sports"); File directory = new File("E://ThesisResource_pos/another_tagger/input"); File childfile[] = directory.listFiles(); for (File f : childfile) { if (f.isFile()) { try { //FileInputStream fis = new FileInputStream("C:/Users/rakib/Desktop/Thesis-15.01.11/Test/test/unique22.txt"); FileInputStream fis = new FileInputStream(f); InputStreamReader isr = new InputStreamReader(fis, "UTF-8"); BufferedReader br = new BufferedReader(isr); strt = br.read(); //FileOutputStream stemmed = new FileOutputStream("C:/Users/rakib/Desktop/Thesis-15.01.11/Test/k_p_b/Word_PosNewDstemmed.txt"); FileOutputStream stemmed = new FileOutputStream("E://ThesisResource_pos/another_tagger/k_p_b/Word_PosNewDstemmed.txt"); OutputStreamWriter stemOut = new OutputStreamWriter(stemmed, "UTF-8"); BufferedWriter stemOutbuff = new BufferedWriter(stemOut); //FileOutputStream notStemmed = new FileOutputStream("C:/Users/rakib/Desktop/Thesis-15.01.11/Test/k_p_b/Word_PosNotStemmed.txt"); FileOutputStream notStemmed = new FileOutputStream("E://ThesisResource_pos/another_tagger/k_p_b/Word_PosNotStemmed.txt"); OutputStreamWriter notStemmedOut = new OutputStreamWriter(notStemmed); BufferedWriter notstemOutbuff = new BufferedWriter(notStemmedOut); //FileOutputStream stemndic = new FileOutputStream("C:/Users/rakib/Desktop/Thesis-15.01.11/Test/k_p_bWord_PosStemNotContein.txt"); FileOutputStream stemndic = new FileOutputStream("E://ThesisResource_pos/another_tagger/k_p_b/k_p_bWord_PosStemNotContein.txt"); OutputStreamWriter outstemndic = new OutputStreamWriter(stemndic); BufferedWriter stemOutdicbuff = new BufferedWriter(outstemndic); //out.write(sout); //out.close(); /* For multiple file Reading********************************* while ((str = br.readLine()) != null) { if (str.length() != 0) { int c_position = str.indexOf(':'); if (c_position > 0) { str = str.substring(0, c_position); } str = str.trim(); //System.out.println(str); if (d.checkDictionary(str))// check whether it is in dictionary or not { System.out.println("found"); } else { String str2 = s.stem(str);//attempt to stem if word is not in dictionary if (str == str2) {// tried to stemm but failure System.out.println("Not Stemmed ---" + str2); //str = strt + str; notstemOutbuff.append("\n" + str); // Again check with Dictionary by adding RULES } else if (d.checkDictionary(str2)) {// stemmed successful and stemmed word found in dictionary System.out.println("matched: " + str + " --" + str2); //str2 += str2; stemOutbuff.append("\n" + str + " " + str2); } else {// stemmed but not in dictionary //System.out.println(str); str2 = strt + str2; stemOutdicbuff.append("\n" + str + " " + str2); } } } }*/ while ((str = br.readLine()) != null) { if (str.length() != 0) { StringTokenizer tok = new StringTokenizer(str, " \n।’!?,-"); while (tok.hasMoreTokens()) { str = tok.nextToken(); System.out.println(str); // if (str.charAt(0) > 'অ' && str.charAt(0) <= 'য়') { // // } str = str.trim(); //System.out.println(str); if (d.checkDictionary(str))// check whether it is in dictionary or not { System.out.println("fund ---- "+str + d.result_pos); //String t=s.stem(str); // result_pos = cs.dictionary_tree.get(str).toString(); s.result += str+"/"+ d.result_pos + " "; } else { String result[] = new String[2]; //String str2 = s.stem(str);//attempt to stem if word is not in dictionary result = s.stem(str).split(" ", 2); String str2 = result[0]; // System.out.println("result"+result[1]); //System.out.println("str2"+str2); // String stemPart = result[1];// if (str == null ? str2 == null : str.equals(str2)) {// tried to stemm but failure s.result += str+"/"+"unknown" + " "; String suff = ""; System.out.println("Not Stemmed ---" + str2); //String suff = d.getSuffBivokti(str2); //if(suuf) String[] pos; // if ((suff = d.getSuffBivokti(str2)) != null) { // suff = ep.replace(suff); // pos = ep.check(suff); // } else if ((suff = d.stemProtoy(str2)) != null) { // suff = ep.replace(suff); // pos = ep.check(suff); // } else if ((suff = d.stemKal(str2)) != null) { // suff = ep.replace(suff); // pos = ep.check(suff); // } else if ((suff = d.stemUposorgo(str2)) != null) { // suff = ep.replace(suff); // pos = ep.check(suff); // } else { // pos = new String[0]; // } System.out.println("suffix :---" + suff + "::::"); // for (int i = 0; i < pos.length; i++) { // String string = pos[i]; // System.out.println(string); // // } //str = strt + str; notstemOutbuff.append("\n" + str); // Again check with Dictionary by adding RULES } else if (d.checkDictionary(str2)) {// stemmed successful and stemmed word found in dictionary System.out.println("matched: " + str + " --" + str2); //str2 += str2; result[1] = ep.replace(result[1]); ep.update(str2, result[1]); stemOutbuff.append("\n" + str + " " + str2); //result += str + " " + str1 + "+" + cs.stemmed + " " + cs.result_pos + "\n"; } else {// stemmed but not in dictionary System.out.println(str); str2 = strt + str2; stemOutdicbuff.append("\n" + str + " " + str2); } } } } s.result +="\n"; } notstemOutbuff.close(); stemOutbuff.close(); stemOutdicbuff.close(); } catch (IOException ex) { Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex); } } } bOutbuff.write(s.result); bOutbuff.close(); } catch (Exception e) { e.printStackTrace(); } } }
[ "aporba.das@gmail.com" ]
aporba.das@gmail.com
b5c6b7e5f72e286b6600a17918267ab0b89b975e
744be06afef7d58b718721d572f1d4d250e3645e
/hw03-reflections/src/test/java/testframework/annotation/Before.java
27112bd0d0b31b52f7e643720ff39550f258347f
[]
no_license
anna2serg/otus-java-hw
7367005e251908e0b58518197282c45a9075d920
abac560ea92c57f7e39602cb64b76c77ee035f27
refs/heads/master
2023-07-01T08:11:19.268272
2021-07-30T19:45:57
2021-07-30T19:45:57
302,147,666
0
0
null
2021-08-01T21:02:42
2020-10-07T20:05:04
Java
UTF-8
Java
false
false
292
java
package testframework.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.METHOD}) public @interface Before { }
[ "anna2serg@gmail.com" ]
anna2serg@gmail.com
b4dae724ebf6307d105b5fe333f80360144a4635
731cc4db0b369ee6fcf32c4123a83dc5fb570b9d
/app/src/main/java/com/example/mainindimovie_ex03/activitys/PasswordChangeActivity.java
6171a3d2eb3611e9f62ccbae28078c7e1e1821d8
[]
no_license
WooHee98/INDIMOVIE
1b25b43e0c49d637762e382c114c5e108eaa8814
2a8c8efa2bebf1df716832631a4e3bb5cfefa4c8
refs/heads/master
2021-01-16T06:44:40.079930
2020-02-25T13:57:03
2020-02-25T13:57:03
243,012,481
0
0
null
null
null
null
UTF-8
Java
false
false
5,805
java
package com.example.mainindimovie_ex03.activitys; import android.content.Intent; import android.graphics.Color; import android.os.AsyncTask; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.ImageButton; import android.widget.Toast; import com.example.mainindimovie_ex03.R; import com.example.mainindimovie_ex03.StaticValues; import com.example.mainindimovie_ex03.aApi.Api; import org.apache.http.HttpResponse; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpGet; import org.apache.http.impl.client.DefaultHttpClient; import java.io.BufferedReader; import java.io.InputStreamReader; public class PasswordChangeActivity extends AppCompatActivity { EditText old, new1, new2; String password; Button button; String new11 = ""; ImageButton delete_btn; private Api api; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_password_change); old = findViewById(R.id.oldpassword); new1 = findViewById(R.id.newpassword1); new2 = findViewById(R.id.newpassword2); button = findViewById(R.id.change_btn); delete_btn = findViewById(R.id.passwordchange_delete_btn); delete_btn.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { PasswordChangeActivity.super.onBackPressed(); } }); Intent intent = getIntent(); password = intent.getStringExtra("password"); Log.d("비밀번호", password); button.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { String oldpass = old.getText().toString().trim(); if (oldpass.equals(password.trim())) { new11 = new1.getText().toString().trim(); String new22 = new2.getText().toString().trim(); if (new11.matches("^(?=.*\\d)(?=.*[~`!@#$%\\^&*()-])(?=.*[a-zA-Z]).{8,20}$")) { if (new11.equals(new22)) { //버튼클릭하고 update if(!new11.equals(oldpass)) { (new UserpassUpdateTask()).execute(); Toast.makeText(getApplicationContext(), "변경되었습니다.", Toast.LENGTH_SHORT).show(); Intent intent1 = new Intent(getApplicationContext(), MyPageActivity.class); startActivity(intent1); finish(); }else{ Toast.makeText(getApplicationContext(), "새로운 비밀번호와 현재 비밀번호를 다르게 입력해주세요.", Toast.LENGTH_SHORT).show(); } } else { //새로운 비밀번호가 다릅니다. Toast.makeText(getApplicationContext(), "새로운 비밀번호가 일치하지 않습니다.", Toast.LENGTH_SHORT).show(); } } else { //비밀번호 형식이 아닙니다. Toast.makeText(getApplicationContext(), "비밀번호가 형식에 맞지 않습니다.", Toast.LENGTH_SHORT).show(); } } else { //현재 비밀번호는 없는거 Toast.makeText(getApplicationContext(), "현재 비밀번호를 다시 입력해주세요", Toast.LENGTH_SHORT).show(); } } }); } //개인정보 수정 api통신 private class UserpassUpdateTask extends AsyncTask<String, Double, String> { @Override protected void onPreExecute() { super.onPreExecute(); } @Override protected void onPostExecute(String s) { super.onPostExecute(s); Log.d("ddd", s + ""); Log.d("ddd", "업데이트가져온"); } @Override protected String doInBackground(String... strings) { try { HttpGet httpPost = new HttpGet(api.API_URL+"/movie/UserpassupdateView/?u_password=" + new11 + "&u_idtext=" + StaticValues.u_name); HttpClient httpclient = new DefaultHttpClient(); HttpResponse response = httpclient.execute(httpPost); // StatusLine stat = response.getStatusLine(); //404 : page not found error //500 : internal server error //200 : 정상 int res = response.getStatusLine().getStatusCode(); Log.d("ddd", res + ""); if (res >= 400) { } else { InputStreamReader is = new InputStreamReader(response.getEntity().getContent(), "UTF-8"); BufferedReader reader = new BufferedReader(is); String line = null; String data = ""; while ((line = reader.readLine()) != null) { Log.d("ddd", line); data += line; } reader.close(); is.close(); Log.d("ddd", data); return data; } } catch (Exception e) { Log.d("ddd", e.toString()); e.printStackTrace(); } return ""; } } }
[ "kerri981230@naver.com" ]
kerri981230@naver.com
617427205f7e52265499492dc50d1ebf66fbb41f
8f72ac5279f78350c39c786d861ed3d250d10bc9
/src/robotambulance/Shape.java
66be969c5f4d898916a7a4e87320fcaf5494a1fa
[]
no_license
gauvainrobert/RobotAmbulance
8aa7cb148972667548c6853515a27ae510a0baef
1bd84a1a9a0f547e4229844b7c4e5ee959836b41
refs/heads/master
2020-03-09T12:24:22.469342
2018-05-30T17:58:27
2018-05-30T17:58:27
128,785,171
1
0
null
null
null
null
UTF-8
Java
false
false
73
java
package robotambulance; public enum Shape { LINE, DOUBLELINE; }
[ "Gauvain@172.17.63.158" ]
Gauvain@172.17.63.158
456c8f15fba7ad2dcdc2cdced99375352300a116
ca0e9689023cc9998c7f24b9e0532261fd976e0e
/src/com/tencent/mm/plugin/sight/encode/ui/am.java
ed6be89e04638a6e231479278d0f20e0f27fe3a1
[]
no_license
honeyflyfish/com.tencent.mm
c7e992f51070f6ac5e9c05e9a2babd7b712cf713
ce6e605ff98164359a7073ab9a62a3f3101b8c34
refs/heads/master
2020-03-28T15:42:52.284117
2016-07-19T16:33:30
2016-07-19T16:33:30
null
0
0
null
null
null
null
UTF-8
Java
false
false
569
java
package com.tencent.mm.plugin.sight.encode.ui; import android.media.MediaPlayer; import android.media.MediaPlayer.OnCompletionListener; final class am implements MediaPlayer.OnCompletionListener { am(MainSightForwardContainerView paramMainSightForwardContainerView) {} public final void onCompletion(MediaPlayer paramMediaPlayer) { if (paramMediaPlayer != null) { paramMediaPlayer.release(); } } } /* Location: * Qualified Name: com.tencent.mm.plugin.sight.encode.ui.am * Java Class Version: 6 (50.0) * JD-Core Version: 0.7.1 */
[ "reverseengineeringer@hackeradmin.com" ]
reverseengineeringer@hackeradmin.com
b26fb89ffe08e62ff825710264ca9347b62a24fa
fe4e72425e17338dd2c6e63a50e4e87fd8852ad4
/src/main/java/com/qst/giftems/model/ShoppingBagItem.java
2453f4dc4f81e368ea174256f834d4b446566d85
[]
no_license
aronachen/summary
2b34877a481c67ef854be7f587eff245ee33ee8d
efd9d19e52303facb346631ddb3675563ebd126c
refs/heads/master
2020-08-25T02:19:09.942485
2019-10-23T02:30:16
2019-10-23T02:30:16
216,947,736
0
0
null
null
null
null
UTF-8
Java
false
false
209
java
package com.qst.giftems.model; public class ShoppingBagItem { public int giftStyleId; /** 礼品款式ID */ public int quantity; /** 数量 */ public GiftStyle giftStyle; /** 礼品款式 */ }
[ "1393442003@qq.comm" ]
1393442003@qq.comm
68c5d6b4893c0c4cfdb75e0442d0a49d4b334ea5
732a14a7c8aad343b989b864ae844eab556648ba
/exercise/src/Exercise11.java
a120ea427783d9e0b0ddfff5f09fde85109ce342
[]
no_license
ksinghsengar/TTND
40dd5933cbbf7c6c8cf2d43ce49528bdf2f8666d
37ac5de2ccd4a182607cc311b2b466222d4be766
refs/heads/master
2020-12-02T22:59:49.417498
2017-07-06T16:10:54
2017-07-06T16:10:54
96,213,553
0
0
null
null
null
null
UTF-8
Java
false
false
809
java
/** * Created by krishan on 6/20/2017. */ /*11. Write a single program for following operation using overloading A) Adding 2 integer number B) Adding 2 double C) Multipling 2 float d) Multipling 2 int E) concate 2 string F) Concate 3 String*/ class Exercise11 { public int add(int a,int b) { return a+b; } double add(double a, double b) { return a+b; } float multiples(float a, float b) { return a*b; } int multipl(int a, int b) { return a*b; } String concate(String a, String b) { return a+b; } String concate(String a, String b, String c) { return a+b+c; } }
[ "kaminisingh1294@gmail.com" ]
kaminisingh1294@gmail.com
cf90aebefea60fa009368ef89ab3e43049b1aeae
24d8cf871b092b2d60fc85d5320e1bc761a7cbe2
/PMD/rev5929-6595/base-branch-5929/src/net/sourceforge/pmd/cpd/JavaTokenizer.java
a044f857afea5e0260a950f3a4ffe88ddf8d0964
[]
no_license
joliebig/featurehouse_fstmerge_examples
af1b963537839d13e834f829cf51f8ad5e6ffe76
1a99c1788f0eb9f1e5d8c2ced3892d00cd9449ad
refs/heads/master
2016-09-05T10:24:50.974902
2013-03-28T16:28:47
2013-03-28T16:28:47
9,080,611
3
2
null
null
null
null
UTF-8
Java
false
false
2,895
java
package net.sourceforge.pmd.cpd; import net.sourceforge.pmd.TargetJDK1_4; import net.sourceforge.pmd.ast.JavaParserConstants; import net.sourceforge.pmd.ast.JavaParserTokenManager; import net.sourceforge.pmd.ast.Token; import java.io.StringReader; import java.util.Properties; public class JavaTokenizer implements Tokenizer { public static final String IGNORE_LITERALS = "ignore_literals"; public static final String IGNORE_IDENTIFIERS = "ignore_identifiers"; private boolean ignoreLiterals; private boolean ignoreIdentifiers; public void setProperties(Properties properties) { ignoreLiterals = Boolean.parseBoolean(properties.getProperty(IGNORE_LITERALS, "false")); ignoreIdentifiers = Boolean.parseBoolean(properties.getProperty(IGNORE_IDENTIFIERS, "false")); } public void tokenize(SourceCode tokens, Tokens tokenEntries) { StringBuffer buffer = tokens.getCodeBuffer(); JavaParserTokenManager tokenMgr = new TargetJDK1_4().createJavaParserTokenManager(new StringReader(buffer.toString())); Token currentToken = tokenMgr.getNextToken(); boolean inDiscardingState = false; while (currentToken.image.length() > 0) { if (currentToken.kind == JavaParserConstants.IMPORT || currentToken.kind == JavaParserConstants.PACKAGE) { inDiscardingState = true; currentToken = tokenMgr.getNextToken(); continue; } if (inDiscardingState && currentToken.kind == JavaParserConstants.SEMICOLON) { inDiscardingState = false; } if (inDiscardingState) { currentToken = tokenMgr.getNextToken(); continue; } if (currentToken.kind != JavaParserConstants.SEMICOLON) { String image = currentToken.image; if (ignoreLiterals && (currentToken.kind == JavaParserConstants.STRING_LITERAL || currentToken.kind == JavaParserConstants.CHARACTER_LITERAL || currentToken.kind == JavaParserConstants.DECIMAL_LITERAL || currentToken.kind == JavaParserConstants.FLOATING_POINT_LITERAL)) { image = String.valueOf(currentToken.kind); } if (ignoreIdentifiers && currentToken.kind == JavaParserConstants.IDENTIFIER) { image = String.valueOf(currentToken.kind); } tokenEntries.add(new TokenEntry(image, tokens.getFileName(), currentToken.beginLine)); } currentToken = tokenMgr.getNextToken(); } tokenEntries.add(TokenEntry.getEOF()); } public void setIgnoreLiterals(boolean ignore) { this.ignoreLiterals = ignore; } public void setIgnoreIdentifiers(boolean ignore) { this.ignoreIdentifiers = ignore; } }
[ "joliebig@fim.uni-passau.de" ]
joliebig@fim.uni-passau.de
5d9480a5063cf2ca6e255ae7562e7b0e5b0b55bf
2199800bacba08250078457cb14d4f7986c6f6dc
/src/com/siddharth/roboboyGame/Background.java
603c9d7f45c1e800cdff89f11b25fae0dab44006
[]
no_license
Sparksidy/RoboBoy
06e111a43ab35784298ea9a6638b6fad29aa44dc
3c4389ff177dcab292b5ba1b8b676d906d4ea7f3
refs/heads/master
2016-08-12T12:15:48.183140
2015-09-30T18:30:38
2015-09-30T18:30:38
33,036,330
0
0
null
null
null
null
UTF-8
Java
false
false
563
java
package com.siddharth.roboboyGame; public class Background { private int bgX,bgY,speedX; public Background(int x,int y){ bgX = x; bgY = y; speedX = 0; } public void update(){ bgX += speedX; if(bgX <= -2160){ bgX += 4320; } } public int getBgX() { return bgX; } public int getBgY() { return bgY; } public int getSpeedX() { return speedX; } public void setBgX(int bgX) { this.bgX = bgX; } public void setBgY(int bgY) { this.bgY = bgY; } public void setSpeedX(int speedX) { this.speedX = speedX; } }
[ "sidystan@gmail.com" ]
sidystan@gmail.com
26827abfa587dd87f4cc5ff2bb925c6f545526c5
fa91450deb625cda070e82d5c31770be5ca1dec6
/Diff-Raw-Data/5/5_53048293ee79a070bb0ae6f744e09648d40be2e1/BytePointer/5_53048293ee79a070bb0ae6f744e09648d40be2e1_BytePointer_t.java
5fe4bde23c761bfef530cb86625774ea90fe7955
[]
no_license
zhongxingyu/Seer
48e7e5197624d7afa94d23f849f8ea2075bcaec0
c11a3109fdfca9be337e509ecb2c085b60076213
refs/heads/master
2023-07-06T12:48:55.516692
2023-06-22T07:55:56
2023-06-22T07:55:56
259,613,157
6
2
null
2023-06-22T07:55:57
2020-04-28T11:07:49
null
UTF-8
Java
false
false
24,139
java
/* // $Id$ // Farrago is an extensible data management system. // Copyright (C) 2005-2007 The Eigenbase Project // Copyright (C) 2005-2007 Disruptive Tech // Copyright (C) 2005-2007 LucidEra, Inc. // Portions Copyright (C) 2003-2007 John V. Sichi // // This program is free software; you can redistribute it and/or modify it // under the terms of the GNU General Public License as published by the Free // Software Foundation; either version 2 of the License, or (at your option) // any later version approved by The Eigenbase Project. // // This program 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 General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package net.sf.farrago.type.runtime; import java.io.*; import java.nio.*; import net.sf.farrago.resource.*; import org.eigenbase.sql.fun.*; import org.eigenbase.util14.*; /** * BytePointer is instantiated during execution to refer to a contiguous subset * of a byte array. It exists to avoid the need to instantiate a new object for * each variable-width value read. * * <p>NOTE: BytePointer is not declared to implement NullableValue, although it * actually provides the necessary method implementations. Instead, the * NullableValue interface is declared by generated subclasses representing * nullable types. This allows the presence of the NullableValue interface to be * used in runtime contexts where we need to determine nullability but have lost * explicit type information during code generation.</p> * * @author John V. Sichi * @version $Id$ */ public class BytePointer extends ByteArrayInputStream implements AssignableValue, CharSequence { //~ Static fields/initializers --------------------------------------------- public static final String ENFORCE_PRECISION_METHOD_NAME = "enforceBytePrecision"; public static final String SET_POINTER_METHOD_NAME = "setPointer"; public static final String GET_BYTE_COUNT_METHOD_NAME = "getByteCount"; public static final String SUBSTRING_METHOD_NAME = "substring"; public static final String OVERLAY_METHOD_NAME = "overlay"; public static final String INITCAP_METHOD_NAME = "initcap"; public static final String CONCAT_METHOD_NAME = "concat"; public static final String UPPER_METHOD_NAME = "upper"; public static final String LOWER_METHOD_NAME = "lower"; public static final String TRIM_METHOD_NAME = "trim"; public static final String POSITION_METHOD_NAME = "position"; /** * Read-only global for 0-length byte array */ public static final byte [] emptyBytes = new byte[0]; //~ Instance fields -------------------------------------------------------- // WARNING: The superclass field named count is totally misnamed; it should // be end. Watch out for this. /** * An allocate-on-demand array used when a new value must be created. */ private byte [] ownBytes; /** * two temp variables to store the substring pointers */ private int S1; private int L1; //~ Constructors ----------------------------------------------------------- /** * Creates a new BytePointer object. */ public BytePointer() { super(emptyBytes); } //~ Methods ---------------------------------------------------------------- // implement NullableValue public void setNull(boolean isNull) { if (isNull) { buf = null; } else { buf = emptyBytes; } } // implement NullableValue public boolean isNull() { return (buf == null); } // implement NullableValue public Object getNullableData() { if (buf == null) { return null; } if ((pos == 0) && (count == buf.length)) { return buf; } byte [] copy = new byte[count - pos]; System.arraycopy(buf, pos, copy, 0, count - pos); return copy; } /** * Sets the pointer to reference a buffer. * * @param buf the buffer to point into * @param pos position in buffer to point at * @param end buffer position at which valid data ends */ public void setPointer( byte [] buf, int pos, int end) { if (this.buf == null) { // if we've been set to a NULL value, someone has to explicitly // call setNull(false) before setPointer can take effect return; } this.buf = buf; this.pos = pos; this.count = end; } // implement AssignableValue public void assignFrom(Object obj) { if (obj == null) { setNull(true); } else if (obj instanceof BytePointer) { BytePointer other = (BytePointer) obj; buf = other.buf; pos = other.pos; count = other.count; } else if (obj instanceof byte []) { buf = (byte []) obj; pos = 0; count = buf.length; } else { String string = obj.toString(); if (string == null) { setNull(true); } else { setNull(false); byte [] bytes = getBytesForString(string); setPointer(bytes, 0, bytes.length); } } } /** * Pads or truncates this value according to the given precision. * * @param precision desired precision * @param needPad true if short values should be padded * @param padByte byte to pad with */ public void enforceBytePrecision( int precision, boolean needPad, byte padByte) { if (isNull()) { return; } int len = count - pos; if (len > precision) { // truncate count = pos + precision; } else if (needPad && (len < precision)) { // pad allocateOwnBytes(precision); System.arraycopy(buf, pos, ownBytes, 0, len); buf = ownBytes; for (; len < precision; ++len) { buf[len] = padByte; } pos = 0; count = precision; } } /** * Reduces the value to a substring of the current value. * * @param starting desired starting position * @param length the length. * @param useLength to indicate whether length parameter should be used. */ public void substring( int starting, int length, boolean useLength) { calcSubstringPointers( starting, length, getByteCount(), useLength); pos += S1; count = pos + L1; } /** * Assigns this value to the result of inserting bp2's value into bp1's * value at a specified starting point, possibly deleting a prefix of the * remainder of bp1 of a given length. Implements the SQL string OVERLAY * function. * * @param bp1 string1 * @param bp2 string2 * @param starting starting point * @param length length * @param useLength whether to use length parameter */ public void overlay( BytePointer bp1, BytePointer bp2, int starting, int length, boolean useLength) { if (!useLength) { length = bp2.getByteCount(); } calcSubstringPointers( starting, length, bp1.getByteCount(), true); int totalLength = bp2.getByteCount() + bp1.getByteCount() - L1; allocateOwnBytes(totalLength); if ((L1 == 0) && (starting > bp1.getByteCount())) { System.arraycopy( bp1.buf, bp1.pos, ownBytes, 0, bp1.getByteCount()); System.arraycopy( bp2.buf, bp2.pos, ownBytes, bp1.getByteCount(), bp2.getByteCount()); } else { System.arraycopy(bp1.buf, bp1.pos, ownBytes, 0, S1); System.arraycopy( bp2.buf, bp2.pos, ownBytes, S1, bp2.getByteCount()); System.arraycopy( bp1.buf, bp1.pos + S1 + L1, ownBytes, S1 + bp2.getByteCount(), bp1.getByteCount() - S1 - L1); } buf = ownBytes; pos = 0; count = totalLength; } /** * Assigns this pointer to the result of concatenating two input strings. * * @param bp1 string1 * @param bp2 string2 */ public void concat( BytePointer bp1, BytePointer bp2) { // can not be null. allocateOwnBytes(bp1.getByteCount() + bp2.getByteCount()); System.arraycopy( bp1.buf, bp1.pos, ownBytes, 0, bp1.getByteCount()); System.arraycopy( bp2.buf, bp2.pos, ownBytes, bp1.getByteCount(), bp2.getByteCount()); buf = ownBytes; pos = 0; count = bp1.getByteCount() + bp2.getByteCount(); } public int getByteCount() { return available(); } /* * implement CharSequence the Default implementation. Only works for * ISO-8859-1 If Unicode, or any other variable length encoding, it needs to * override these functions. * */ public int length() { return available(); } public char charAt(int index) { return (char) buf[pos + index]; } public CharSequence subSequence(int start, int end) { BytePointer bp = new BytePointer(); if ((start < 0) || (end < 0) || (end >= getByteCount())) { throw new IndexOutOfBoundsException(); } bp.setPointer(buf, pos + start, pos + end); return bp; } /** * upper the case for each character of the string * * @param bp1 string1 */ public void upper(BytePointer bp1) { copyFrom(bp1); for (int i = 0; i < count; i++) { if (Character.isLowerCase((char) ownBytes[i])) { ownBytes[i] = (byte) Character.toUpperCase((char) ownBytes[i]); } } } /** * lower the case for each character of the string * * @param bp1 string1 */ public void lower(BytePointer bp1) { copyFrom(bp1); for (int i = 0; i < count; i++) { if (Character.isUpperCase((char) ownBytes[i])) { ownBytes[i] = (byte) Character.toLowerCase((char) ownBytes[i]); } } } /** * initcap the string. * * @param bp1 string1 */ public void initcap(BytePointer bp1) { boolean bWordBegin = true; copyFrom(bp1); for (int i = 0; i < count; i++) { if (Character.isWhitespace((char) ownBytes[i])) { bWordBegin = true; } else { if (bWordBegin) { if (Character.isLowerCase((char) ownBytes[i])) { ownBytes[i] = (byte) Character.toUpperCase((char) ownBytes[i]); } } else { if (Character.isUpperCase((char) ownBytes[i])) { ownBytes[i] = (byte) Character.toLowerCase((char) ownBytes[i]); } } bWordBegin = false; } } } public void trim(int trimOrdinal, BytePointer bp1, BytePointer bp2) { boolean leading = false; boolean trailing = false; int i; byte trimChar; if (bp1.getByteCount() != 1) { throw FarragoResource.instance().InvalidFunctionArgument.ex( SqlStdOperatorTable.trimFunc.getName()); } copyFrom(bp2); trimChar = bp1.buf[bp1.pos]; if (trimOrdinal == SqlTrimFunction.Flag.BOTH.ordinal()) { leading = true; trailing = true; } else if (trimOrdinal == SqlTrimFunction.Flag.LEADING.ordinal()) { leading = true; } else { assert trimOrdinal == SqlTrimFunction.Flag.TRAILING.ordinal(); trailing = true; } int cnt = count; if (leading) { for (i = 0; i < cnt; i++) { if (buf[i] == trimChar) { pos++; } else { break; } } } if (trailing) { if (pos == cnt) { // already trimmed away an entire empty string; // don't do it twice! (FRG-319) return; } for (i = cnt - 1; i >= 0; i--) { if (buf[i] == trimChar) { count--; } else { break; } } } } public int position(BytePointer bp1) { if (bp1.getByteCount() == 0) { return 1; } int cnt1 = bp1.getByteCount(); int cnt = 1 + getByteCount() - cnt1; for (int i = 0; i < cnt; i++) { boolean stillMatch = true; for (int j = 0; j < cnt1; j++) { if (buf[pos + i + j] != bp1.buf[bp1.pos + j]) { stillMatch = false; break; } } if (stillMatch) { return i + 1; } } return 0; } private void copyFrom(BytePointer bp1) { allocateOwnBytes(bp1.getByteCount()); System.arraycopy( bp1.buf, bp1.pos, ownBytes, 0, bp1.getByteCount()); buf = ownBytes; pos = 0; count = bp1.getByteCount(); } /** * @sql.2003 Part 2 Section 6.29 General Rule 3 */ // we store the result in the member variables to avoid memory allocation. private void calcSubstringPointers( int S, int L, int LC, boolean useLength) { int e; if (useLength) { if (L < 0) { // If E is less than S, then it means L is negative exception. throw FarragoResource.instance().NegativeLengthForSubstring .ex(); } e = S + L; } else { e = S; if (e <= LC) { e = LC + 1; } } // f) and i) in the standard. S > LC or E < 1 if ((S > LC) || (e < 1)) { S1 = L1 = 0; } else { // f) and ii) in the standard. // calculate the E1 and L1 S1 = S - 1; if (S1 < 0) { S1 = 0; } int e1 = e; if (e1 > LC) { e1 = LC + 1; } L1 = e1 - (S1 + 1); } } private void allocateOwnBytes(int n) { if ((ownBytes == null) || (ownBytes.length < n)) { ownBytes = new byte[n]; } } /** * Writes the contents of this pointer to a ByteBuffer. * * @param byteBuffer target */ public final void writeToBuffer(ByteBuffer byteBuffer) { if (buf == null) { return; } byteBuffer.put(buf, pos, count - pos); } /** * Writes the contents of this pointer to a ByteBuffer at a given offset * without modifying the current position. * * @param byteBuffer target * @param offset starting byte offset within buffer */ public final void writeToBufferAbsolute( ByteBuffer byteBuffer, int offset) { if (buf == null) { return; } int savedPos = byteBuffer.position(); try { byteBuffer.position(offset); byteBuffer.put(buf, pos, count - pos); } finally { byteBuffer.position(savedPos); } } /** * Gets the byte representation of a string. Subclasses may override. * * @param string source * * @return byte representation */ protected byte [] getBytesForString(String string) { return string.getBytes(); } /** * Implementation for Comparable.compareTo() which assumes non-null and does * byte-for-byte comparison. * * @param other another BytePointer to be compared * * @return same as compareTo */ public int compareBytes(BytePointer other) { int i1 = pos; int i2 = other.pos; for (;; ++i1, ++i2) { if (i1 == count) { // this is either less than or equal to other depending on // whether we've reached the end of other return i2 - other.count; } if (i2 == other.count) { // we know i1 < count, so this must be greater than other return 1; } // need to convert the signed byte to unsigned. int c = (int) (0xFF & buf[i1]) - (int) (0xFF & other.buf[i2]); if (c != 0) { return c; } } } // implement Object public String toString() { if (buf == null) { return null; } int n = count - pos; byte [] bytes = new byte[n]; System.arraycopy(buf, pos, bytes, 0, n); return ConversionUtil.toStringFromByteArray(bytes, 16); } // private static fmt = new DecimalFormat; public void cast(float f, int precision) { castNoChecking(f, precision, true); } public void cast(double d, int precision) { castNoChecking(d, precision, false); } private void castNoChecking(double d, int precision, boolean isFloat) { // once precision is relaxed, we need to calculate the minimum // length and make sure the precision is >= minimum length. // if (d == 0) { if (precision >= 3) { allocateOwnBytes(3); ownBytes[0] = (byte) '0'; ownBytes[1] = (byte) 'E'; ownBytes[2] = (byte) '0'; count = 3; } else if (precision >= 1) { allocateOwnBytes(1); ownBytes[0] = (byte) '0'; count = 1; } else { // char(0) is it possible? throw FarragoResource.instance().Overflow.ex(); } buf = ownBytes; pos = 0; return; } String s = ConversionUtil.toStringFromApprox(d, isFloat); if (precision < s.length()) { throw FarragoResource.instance().Overflow.ex(); } ownBytes = s.getBytes(); buf = ownBytes; pos = 0; count = buf.length; } public void cast(boolean b, int precision) { String str = b ? NullablePrimitive.TRUE_LITERAL : NullablePrimitive.FALSE_LITERAL; if (precision < str.length()) { throw FarragoResource.instance().Overflow.ex(); } buf = str.getBytes(); pos = 0; count = buf.length; } public void cast(long l, int precision) { castDecimal(l, precision, 0); } public void cast(EncodedSqlDecimal d, int precision) { castDecimal( d.value, precision, d.getScale()); } /** * Attempts to convert this pointer's contents from a * single-byte-ASCII-encoded integer string into a long. * * @return converted value if successful, or Long.MAX_VALUE if unsuccessful * (does not necessarily indicate that cast fails, just that this fast path * can't handle it, e.g. negative/decimal/floating) */ public long attemptFastAsciiByteToLong() { // TODO jvs 17-Aug-2006: Support more cases, UNICODE, etc. int start = pos; int end = count; // pre-trim for (; start < end; ++start) { if (buf[start] != ' ') { break; } } for (; end > start; --end) { if (buf[end - 1] != ' ') { break; } } // read up to 19 digits, the most for a long value if ((start >= end) || ((end - start) > 19)) { return Long.MAX_VALUE; } long value = 0; for (int i = start; i < end; ++i) { int x = buf[i] - '0'; if ((x < 0) || (x > 9)) { return Long.MAX_VALUE; } value *= 10; value += x; } // handle overflow if (value < 0) { return Long.MAX_VALUE; } return value; } /** * Casts a decimal into a string. * * @param l long value of decimal * @param precision maximum length of string * @param scale scale of decimal */ private void castDecimal(long l, int precision, int scale) { boolean negative = false; if (l < 0) { // can not do l = -l becuase -Long.MIN_VALUE=Long.MIN_VALUE negative = true; } int len = 0; long templ; for (templ = l; templ != 0; templ = templ / 10) { len++; } if (scale > 0) { if (len > scale) { len++; } else { // NOTE: for 0.0 instead of .0 make this a +2 len = scale + 1; } } int digits = len; if (negative) { len++; } if (len > precision) { throw FarragoResource.instance().Overflow.ex(); } if ((scale == 0) && (l == 0)) { len = 1; } allocateOwnBytes(len); if ((scale == 0) && (l == 0)) { ownBytes[0] = (byte) '0'; } else { if (negative) { ownBytes[0] = (byte) '-'; } int i = 0; for (templ = l; i < digits; i++, templ = templ / 10) { int currentDigit = (int) (templ % 10); if (negative) { currentDigit = -currentDigit; } ownBytes[len - 1 - i] = (byte) ('0' + (char) currentDigit); if ((scale > 0) && (i == (scale - 1))) { i++; ownBytes[len - 1 - i] = (byte) '.'; } } } buf = ownBytes; pos = 0; count = len; } } // End BytePointer.java
[ "yuzhongxing88@gmail.com" ]
yuzhongxing88@gmail.com
8a94455d50d2028ad42ceed0167633a3062ea5df
097e0ab324fe77628ecab57890cac902a1076089
/src/uniquePaths.java
7bca06d4e28da7f12171682479250d952410fa75
[]
no_license
weiyixiong/LintCode
3b48f930c229509e78e646b84af6702673a055fc
513f6156b03c0d65720fd78f2689d4a8de52fcd9
refs/heads/master
2020-04-12T09:06:25.628920
2016-11-22T11:11:19
2016-11-22T11:11:19
43,502,918
0
0
null
null
null
null
UTF-8
Java
false
false
420
java
public class uniquePaths { public static int uniquePaths(int m, int n) { int[] v = new int[n]; for (int i = 0; i < v.length; i++) { v[i] = 1; } for (int i = 1; i < m; ++i) { for (int j = 1; j < n; ++j) { v[j] += v[j - 1]; System.out.print(v[j] + " "); } System.out.println(); } return v[n - 1]; } public static void main(String[] args) { System.out.println(uniquePaths(4, 6)); } }
[ "542111388@qq.com" ]
542111388@qq.com
067b49f9fccabdc05f1433009b384c4117918c55
c813fb87a7757ff84a36d563bcc506d73d09bd4c
/app/src/main/java/servicesideapp/youtube/com/servicesideapp/MyService.java
aa26f7c01bf868959b0d018add526613b0edf86d
[]
no_license
AnandTraveller/ServiceSideApp-master
b99b9ff4b4b7f54f740c82700786a87749c9b996
f6a997608cb82fffe4093da45bc2f58a2c869282
refs/heads/master
2021-01-13T05:54:01.266464
2017-06-21T06:46:35
2017-06-21T06:46:35
94,972,106
0
0
null
null
null
null
UTF-8
Java
false
false
3,543
java
package servicesideapp.youtube.com.servicesideapp; import android.app.Service; import android.content.Intent; import android.os.Handler; import android.os.IBinder; import android.os.Message; import android.os.Messenger; import android.os.RemoteException; import android.util.Log; import android.widget.Toast; import java.util.Random; /** * Created by anildeshpande on 19/08/16. */ public class MyService extends Service { private static final String TAG = MyService.class.getSimpleName(); private int mRandomNumber; private boolean mIsRandomGeneratorOn; private final int MIN = 0; private final int MAX = 100; public static final int GET_RANDOM_NUMBER_FLAG = 0; private class RandomNumberRequestHandler extends Handler { @Override public void handleMessage(Message msg) { switch (msg.what) { case GET_RANDOM_NUMBER_FLAG: // Its Like Adddress Mail Send // Get Message Message messageSendRandomNumber = Message.obtain(null, GET_RANDOM_NUMBER_FLAG); messageSendRandomNumber.arg1 = getRandomNumber(); // Set Value try { msg.replyTo.send(messageSendRandomNumber); // Send Back to Messenger } catch (RemoteException e) { Log.i(TAG, "" + e.getMessage()); } } super.handleMessage(msg); } } private Messenger randomNumberMessenger = new Messenger(new RandomNumberRequestHandler()); @Override public IBinder onBind(Intent intent) { Log.i("Service ", "OnBind"); return randomNumberMessenger.getBinder(); } @Override public void onRebind(Intent intent) { Log.i("Service ", "ReBind"); super.onRebind(intent); } @Override public void onStart(Intent intent, int startId) { super.onStart(intent, startId); } @Override public void onDestroy() { super.onDestroy(); Log.i("Service ", "Destroyed"); stopRandomNumberGenerator(); } @Override public int onStartCommand(Intent intent, int flags, int startId) { mIsRandomGeneratorOn = true; Log.i(TAG, "Flags : " + flags); Log.i(TAG, "Service Flag : " + Service.START_FLAG_REDELIVERY); new Thread(new Runnable() { @Override public void run() { startRandomNumberGenerator(); } }).start(); return START_REDELIVER_INTENT; // return START_STICKY; } private void startRandomNumberGenerator() { while (mIsRandomGeneratorOn) { try { Thread.sleep(1000); if (mIsRandomGeneratorOn) { // mRandomNumber = new Random().nextInt(MAX) + MIN; mRandomNumber++; Log.i(TAG, "Random Number: " + mRandomNumber); } } catch (InterruptedException e) { Log.i(TAG, "Thread Interrupted"); } } } private void stopRandomNumberGenerator() { mIsRandomGeneratorOn = false; Toast.makeText(getApplicationContext(), "Service Stopped", Toast.LENGTH_SHORT).show(); } @Override public boolean onUnbind(Intent intent) { Log.i("Service ", "unBind"); return super.onUnbind(intent); } public int getRandomNumber() { return mRandomNumber; } }
[ "anandindiaa@gmail.com" ]
anandindiaa@gmail.com
8bb298fffefcba2b3d7239b3846635353c7474f6
d1e3c80d822a36c64f758c4bd7ca75b6e63a6ecc
/robotInterpreter/Command.java
ce82726997c06f6add43fc7a16fcb09e7ffe9dd2
[]
no_license
ATkiYouness/DesignPatterns
246fa6cc05c91488496ec19b6142961577091cad
60d652935790eb35d1f38fc50f32fd856d205974
refs/heads/master
2021-01-21T00:52:13.626374
2012-12-10T16:48:27
2012-12-10T16:48:27
null
0
0
null
null
null
null
UTF-8
Java
false
false
933
java
package robotInterpreter; /* * Copyright (c) 2001, 2005. Steven J. Metsker. * * Steve Metsker makes no representations or warranties about * the fitness of this software for any particular purpose, * including the implied warranty of merchantability. * * Please use this software as you wish with the sole * restriction that you may not claim that you wrote it. */ /** * This abstract class represents a hierarchy of classes * that encapsulate commands. A command object is a request * that is dormant until a caller asks it to execute. * * Subclasses typically encapsulate some primary function, * and allow for parameters that tailor a command to a * purpose. All subclasses must implement an execute() * command, which is abstract here. */ public abstract class Command { /** * Perform the request encapsulated in this command. */ public abstract void execute(); }
[ "johnrnoone#yahoo.com" ]
johnrnoone#yahoo.com
44d49c8f0ff6848f68c29f895d35a3b95dfbd679
21cc908c06949e4e00e5f82ca6b9fbe991a6ea17
/src/com/ibm/dp/dto/DistStockDecOptionsDTO.java
7fb0c56b87c247cb75cd6b81c91ba52c6eb91f9e
[]
no_license
Beeru1/DPDTH_New
b93cca6a2dc99b64de242b024f3e48327102d3fc
80e3b364bb7634841e47fa41df7d3e633baedf72
refs/heads/master
2021-01-12T06:54:25.644819
2016-12-19T11:57:08
2016-12-19T11:57:08
76,858,059
1
0
null
null
null
null
UTF-8
Java
false
false
949
java
package com.ibm.dp.dto; import java.io.Serializable; public class DistStockDecOptionsDTO implements Serializable { String optionText; int optionValue; String optionValueAccp=""; /** * @return the optionValueAccp */ public String getOptionValueAccp() { return optionValueAccp; } /** * @param optionValueAccp the optionValueAccp to set */ public void setOptionValueAccp(String optionValueAccp) { this.optionValueAccp = optionValueAccp; } /** * @return the optionText */ public String getOptionText() { return optionText; } /** * @param optionText the optionText to set */ public void setOptionText(String optionText) { this.optionText = optionText; } /** * @return the optionValue */ public int getOptionValue() { return optionValue; } /** * @param optionValue the optionValue to set */ public void setOptionValue(int optionValue) { this.optionValue = optionValue; } }
[ "sgurugub@in.ibm.com" ]
sgurugub@in.ibm.com
283c2ce0cf93c8067a5631addd27238e59862a6a
5234441a2641a71a491141cbbcb8c21c679fe50a
/app/src/androidTest/java/com/mobile/pickup/ManagerTestSuite.java
bd69b6d16b64b2bb352819401f67b5449d01f4a1
[]
no_license
yayshine/PickUp
b3bedbab3022e31dcfa50ea3e1248226f6b81d56
baf577f49cf6bad642b7b7faf7c394279deb695f
refs/heads/master
2020-05-30T11:24:03.418045
2017-04-15T20:43:31
2017-04-15T20:43:31
82,627,703
0
1
null
2017-03-24T05:33:24
2017-02-21T02:39:57
Java
UTF-8
Java
false
false
604
java
package com.mobile.pickup; import com.mobile.pickup.CustomerManagerTest; import com.mobile.pickup.FoodItemManagerTest; import com.mobile.pickup.MenuManagerTest; import com.mobile.pickup.OrderManagerTest; import com.mobile.pickup.VendorManagerTest; import org.junit.runner.RunWith; import org.junit.runners.Suite; /** * Created by Yanqing on 4/6/17. */ // runs all database tests @RunWith(Suite.class) @Suite.SuiteClasses({CustomerManagerTest.class, FoodItemManagerTest.class, MenuManagerTest.class, OrderManagerTest.class, VendorManagerTest.class}) public class ManagerTestSuite { }
[ "yd2369@columbia.edu" ]
yd2369@columbia.edu
35487551205bae0820f18348e91097699a7f1ade
fa91450deb625cda070e82d5c31770be5ca1dec6
/Diff-Raw-Data/9/9_827ed761527d32c545bab331e94b26c444728710/LaunchTests/9_827ed761527d32c545bab331e94b26c444728710_LaunchTests_s.java
b9aebbe2d9f1eddb1121a50724e02ce70af9f53f
[]
no_license
zhongxingyu/Seer
48e7e5197624d7afa94d23f849f8ea2075bcaec0
c11a3109fdfca9be337e509ecb2c085b60076213
refs/heads/master
2023-07-06T12:48:55.516692
2023-06-22T07:55:56
2023-06-22T07:55:56
259,613,157
6
2
null
2023-06-22T07:55:57
2020-04-28T11:07:49
null
UTF-8
Java
false
false
2,745
java
/******************************************************************************* * Copyright (c) 2000, 2003 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html * * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/ package org.eclipse.jdt.debug.tests.core; import org.eclipse.core.runtime.CoreException; import org.eclipse.debug.core.ILaunch; import org.eclipse.debug.core.ILaunchConfiguration; import org.eclipse.debug.core.ILaunchListener; import org.eclipse.debug.core.ILaunchManager; import org.eclipse.jdt.debug.tests.AbstractDebugTest; /** * Tests launch notification. */ public class LaunchTests extends AbstractDebugTest implements ILaunchListener { private boolean added = false; private boolean removed = false; private boolean terminated = false; public LaunchTests(String name) { super(name); } public void testDeferredBreakpoints() throws CoreException { String typeName = "Breakpoints"; ILaunchConfiguration configuration = getLaunchConfiguration(typeName); getLaunchManager().addLaunchListener(this); ILaunch launch = configuration.launch(ILaunchManager.DEBUG_MODE, null); synchronized (this) { if (!added) { try { wait(30000); } catch (InterruptedException e) { } } } assertTrue("Launch should have been added", added); synchronized (this) { if (!terminated) { try { wait(30000); } catch (InterruptedException e) { } } } assertTrue("Launch should have been terminated", terminated); getLaunchManager().removeLaunch(launch); synchronized (this) { if (!removed) { try { wait(30000); } catch (InterruptedException e) { } } } assertTrue("Launch should have been removed", removed); } /* (non-Javadoc) * @see org.eclipse.debug.core.ILaunchListener#launchRemoved(org.eclipse.debug.core.ILaunch) */ public synchronized void launchRemoved(ILaunch launch) { removed = true; notifyAll(); } /* (non-Javadoc) * @see org.eclipse.debug.core.ILaunchListener#launchAdded(org.eclipse.debug.core.ILaunch) */ public synchronized void launchAdded(ILaunch launch) { added = true; notifyAll(); } /* (non-Javadoc) * @see org.eclipse.debug.core.ILaunchListener#launchChanged(org.eclipse.debug.core.ILaunch) */ public synchronized void launchChanged(ILaunch launch) { } }
[ "yuzhongxing88@gmail.com" ]
yuzhongxing88@gmail.com
2ea3e983cd16b3d1e1616e8bfffc24322cee0904
8599d239b37d25f7447e91be6ad7fed8980b2869
/Service/Client/src/soapservice/daoTour/ClientEntity.java
7e7964bdd9dbdcc50acae78959a3fb3fa3d722f4
[]
no_license
Valeryshchurik/Java
c2b8d54f536a3b2b36ac321a4b61e3ef83d9f47e
a278ad3194f00c4e2cb216fc8bfcd95a420ab421
refs/heads/master
2020-03-29T18:40:50.495571
2018-09-25T07:44:01
2018-09-25T07:44:01
149,190,988
0
0
null
null
null
null
UTF-8
Java
false
false
3,279
java
package soapservice.daoTour; import javax.xml.bind.JAXBElement; import javax.xml.bind.annotation.*; import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; import java.util.ArrayList; import java.util.List; /** * <p>Java class for clientEntity complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * &lt;complexType name="clientEntity"&gt; * &lt;complexContent&gt; * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; * &lt;sequence&gt; * &lt;element name="ordersById" type="{http://www.w3.org/2001/XMLSchema}IDREF" maxOccurs="unbounded" minOccurs="0"/&gt; * &lt;/sequence&gt; * &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /&gt; * &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /&gt; * &lt;/restriction&gt; * &lt;/complexContent&gt; * &lt;/complexType&gt; * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "clientEntity", propOrder = { "ordersById" }) public class ClientEntity { @XmlElementRef(name = "ordersById", type = JAXBElement.class, required = false) protected List<JAXBElement<Object>> ordersById; @XmlAttribute(name = "id") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String id; @XmlAttribute(name = "name") protected String name; /** * Gets the value of the ordersById property. * * <p> * This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a <CODE>set</CODE> method for the ordersById property. * * <p> * For example, to add a new item, do as follows: * <pre> * getOrdersById().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link JAXBElement }{@code <}{@link Object }{@code >} * * */ public List<JAXBElement<Object>> getOrdersById() { if (ordersById == null) { ordersById = new ArrayList<JAXBElement<Object>>(); } return this.ordersById; } /** * Gets the value of the id property. * * @return * possible object is * {@link String } * */ public String getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link String } * */ public void setId(String value) { this.id = value; } /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } }
[ "Valeryschurik@gmail.com" ]
Valeryschurik@gmail.com
03190e126aa34af47f9d539b1b030d1643a84262
3d51b0f26d79d669ada9b23f90f67ea86aabc0ae
/src/main/java/org/bian/dto/BQAssignmentRetrieveInputModel.java
095b784838330bd8a7923bc971efcb804e0f2da0
[ "Apache-2.0" ]
permissive
bianapis/sd-contact-center-operations-v2
2d1e48a23d77dc3a725bf8ac58505207d909fec2
2596f3b0f3df0a7232ab5712deba680ed224a16b
refs/heads/master
2020-07-24T03:09:33.642053
2019-09-16T06:44:38
2019-09-16T06:44:38
207,783,816
0
0
null
null
null
null
UTF-8
Java
false
false
2,743
java
package org.bian.dto; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import org.bian.dto.BQAssignmentRetrieveInputModelAssignmentInstanceAnalysis; import org.bian.dto.BQAssignmentRetrieveInputModelAssignmentInstanceReport; import javax.validation.Valid; /** * BQAssignmentRetrieveInputModel */ public class BQAssignmentRetrieveInputModel { private Object assignmentRetrieveActionTaskRecord = null; private String assignmentRetrieveActionRequest = null; private BQAssignmentRetrieveInputModelAssignmentInstanceReport assignmentInstanceReport = null; private BQAssignmentRetrieveInputModelAssignmentInstanceAnalysis assignmentInstanceAnalysis = null; /** * `status: Not Mapped` core-data-type-reference: BIAN::DataTypesLibrary::CoreDataTypes::UNCEFACT::Binary general-info: The retrieve service call consolidated processing record * @return assignmentRetrieveActionTaskRecord **/ public Object getAssignmentRetrieveActionTaskRecord() { return assignmentRetrieveActionTaskRecord; } public void setAssignmentRetrieveActionTaskRecord(Object assignmentRetrieveActionTaskRecord) { this.assignmentRetrieveActionTaskRecord = assignmentRetrieveActionTaskRecord; } /** * `status: Not Mapped` core-data-type-reference: BIAN::DataTypesLibrary::CoreDataTypes::UNCEFACT::Text general-info: Details of the retrieve action service request (lists requested reports) * @return assignmentRetrieveActionRequest **/ public String getAssignmentRetrieveActionRequest() { return assignmentRetrieveActionRequest; } public void setAssignmentRetrieveActionRequest(String assignmentRetrieveActionRequest) { this.assignmentRetrieveActionRequest = assignmentRetrieveActionRequest; } /** * Get assignmentInstanceReport * @return assignmentInstanceReport **/ public BQAssignmentRetrieveInputModelAssignmentInstanceReport getAssignmentInstanceReport() { return assignmentInstanceReport; } public void setAssignmentInstanceReport(BQAssignmentRetrieveInputModelAssignmentInstanceReport assignmentInstanceReport) { this.assignmentInstanceReport = assignmentInstanceReport; } /** * Get assignmentInstanceAnalysis * @return assignmentInstanceAnalysis **/ public BQAssignmentRetrieveInputModelAssignmentInstanceAnalysis getAssignmentInstanceAnalysis() { return assignmentInstanceAnalysis; } public void setAssignmentInstanceAnalysis(BQAssignmentRetrieveInputModelAssignmentInstanceAnalysis assignmentInstanceAnalysis) { this.assignmentInstanceAnalysis = assignmentInstanceAnalysis; } }
[ "team1@bian.org" ]
team1@bian.org
f0558e1a3d96459e00669f069f2334047c071ec2
20ccb239369c25f51db014ae27fb4bf6d7b4d6e0
/src/main/java/com/davidChavess/mongo/Application.java
1bfb0d3bd3882173e959abf9a69d741a78666b62
[]
no_license
DavidChavess/Workshop-SpringBoot-MongoDB
51870915bb032e5d5cff0378e6398943c9e2522e
8b0fb4ed9624273ba8a0fbc5cfcae27a45a512f0
refs/heads/master
2022-07-31T19:47:33.874233
2020-05-18T14:42:26
2020-05-18T14:42:26
null
0
0
null
null
null
null
UTF-8
Java
false
false
303
java
package com.davidChavess.mongo; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class Application { public static void main(String[] args) { SpringApplication.run(Application.class, args); } }
[ "davi.ch.fe@gmail.com" ]
davi.ch.fe@gmail.com
2b69b7ad1bde05782ec815f78b57e824d87c2215
a759c1e9806656bf26e0b93df17200aa0bfccafc
/src/main/java/com/findhouse/security/AuthProvider.java
3fd4426f9e668994837534b911d133e0450d0e25
[]
no_license
All-M1ght/findhouse
43a3776df62960fbb9db4786b847dee33e7621b0
eac4f7eb696743a202dadca22301a0ff96820a83
refs/heads/master
2020-05-24T05:57:16.289606
2019-05-17T02:19:58
2019-05-17T02:19:58
187,129,706
1
0
null
null
null
null
UTF-8
Java
false
false
1,737
java
package com.findhouse.security; import com.findhouse.entity.User; import com.findhouse.service.IUserService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.authentication.AuthenticationCredentialsNotFoundException; import org.springframework.security.authentication.AuthenticationProvider; import org.springframework.security.authentication.BadCredentialsException; import org.springframework.security.authentication.UsernamePasswordAuthenticationToken; import org.springframework.security.authentication.encoding.Md5PasswordEncoder; import org.springframework.security.core.Authentication; import org.springframework.security.core.AuthenticationException; /** * 自定义认证实现 */ public class AuthProvider implements AuthenticationProvider { @Autowired private IUserService userService; private final Md5PasswordEncoder passwordEncoder = new Md5PasswordEncoder(); @Override public Authentication authenticate(Authentication authentication) throws AuthenticationException { String userName = authentication.getName(); String inputPassword = (String) authentication.getCredentials(); User user = userService.findUserByName(userName); if (user == null) throw new AuthenticationCredentialsNotFoundException("authError"); if (this.passwordEncoder.isPasswordValid(user.getPassword(),inputPassword,user.getId())){ return new UsernamePasswordAuthenticationToken(user,null,user.getAuthorities()); } throw new BadCredentialsException("authError"); } @Override public boolean supports(Class<?> aClass) { return true; } }
[ "hhhhh1fffff@gmail.com" ]
hhhhh1fffff@gmail.com
05e1d486f592e892901dd0e9b5cdca46653e4013
5238794281e238f819d85b1119d8ea3ef5ea753d
/slst-report/src/main/java/com/slst/report/dao/CustomerStoreStatsDao.java
b684dd335ada84eecb61e966f95534918eca6f69
[]
no_license
tanghomvee/slst
3b2f55764b3ef45e40b38481607740cb3a43067e
ab5885a8be224ef090a5d0c5ff38894b8097c0a2
refs/heads/master
2020-04-11T13:02:26.041210
2018-12-14T15:38:50
2018-12-14T15:38:50
161,801,534
0
0
null
null
null
null
UTF-8
Java
false
false
1,257
java
package com.slst.report.dao; import com.slst.report.dao.model.CustomerStoreStats; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Modifying; import org.springframework.data.jpa.repository.Query; import java.util.Date; /** * Copyright (c) 2018$. ddyunf.com all rights reserved * * @author Homvee.Tang(tanghongwei@ddcloudf.com) * @version V1.0 * @Description TODO(用一句话描述该文件做什么) * @date 2018-04-16 17:16 */ public interface CustomerStoreStatsDao extends JpaRepository<CustomerStoreStats, Long> , CustomerStoreStatsDaoExt{ /** * delete * @param statsTime * @return */ @Modifying @Query(value = "delete from t_customer_store_stats where DATE_FORMAT(statsTime,'%Y-%m-%d')=DATE_FORMAT(?1,'%Y-%m-%d')" , nativeQuery = true) Integer deleteByStatsTime(Date statsTime); /** * count By Stats-Time And Yn * @param date * @param yn * @return */ @Query(value = "select count(1) from t_customer_store_stats where DATE_FORMAT(statsTime,'%Y-%m-%d')=DATE_FORMAT(?1,'%Y-%m-%d') and yn=?2" , nativeQuery = true) Integer countByStatsTimeAndYn(Date date, Integer yn); }
[ "noreply@github.com" ]
tanghomvee.noreply@github.com
75f0c2393dc192b2a854c7f98ce2e9ab8723cf13
1d8e0dfb56de4aa17a6cf65c69087451cc2fe0cd
/src/java/com/foodora/comptabilite/modele/Transaction.java
ea7ed5483dad2e5e3a713c8f22eb63b226824112
[]
no_license
KenJoelTL/Foodora-Comptabilite-API
a83b6e4df5f2daa916a0d8e4e3750fc61b813462
5df617d8b4cc719f8389abdcae667ecd96c6314b
refs/heads/master
2021-04-12T09:49:52.132417
2018-04-30T14:43:42
2018-04-30T14:43:42
126,832,082
0
0
null
2018-04-30T14:43:43
2018-03-26T13:21:02
CSS
UTF-8
Java
false
false
1,748
java
/* * 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 com.foodora.comptabilite.modele; import java.util.ArrayList; /** * * @author Joel */ public class Transaction { private int id; private int idSuccursale; private int idClient; private String date; private ArrayList<ItemTransaction> itemsCommande; private double sousTotal; private double pourboireCoursier; public Transaction() { } public int getId() { return id; } public void setId(int id) { this.id = id; } public int getIdSuccursale() { return idSuccursale; } public void setIdSuccursale(int idSuccursale) { this.idSuccursale = idSuccursale; } public int getIdClient() { return idClient; } public void setIdClient(int idClient) { this.idClient = idClient; } public String getDate() { return date; } public void setDate(String date) { this.date = date; } public ArrayList<ItemTransaction> getItemsCommande() { return itemsCommande; } public void setItemsCommande(ArrayList<ItemTransaction> itemsCommande) { this.itemsCommande = itemsCommande; } public double getSousTotal() { return sousTotal; } public void setSousTotal(double sousTotal) { this.sousTotal = sousTotal; } public double getPourboireCoursier() { return pourboireCoursier; } public void setPourboireCoursier(double pourboireCoursier) { this.pourboireCoursier = pourboireCoursier; } }
[ "joellutumba@hotmail.com" ]
joellutumba@hotmail.com
3d403a46a2c6df1029a5786c25e7c53786d6c3dd
5e6086da6079a0698a6dc0885549d769d5e99693
/pixLab/classes/Picture.java
aff8b0eecfd8b193842d16ea3cb2b5b65d6835b6
[]
no_license
kayleyseow/Picture-Lab
5c39ef9400c42ecc2710473bbcc5fe42083a6bd8
ea050cdbe6361d5a625951f0c40a2bbd12e2276f
refs/heads/master
2020-12-11T20:17:58.549817
2020-01-16T02:43:12
2020-01-16T02:43:12
233,949,793
2
1
null
null
null
null
UTF-8
Java
false
false
7,670
java
import java.awt.*; import java.awt.font.*; import java.awt.geom.*; import java.awt.image.BufferedImage; import java.text.*; import java.util.*; import java.util.List; // resolves problem with java.awt.List and java.util.List /** * A class that represents a picture. This class inherits from * SimplePicture and allows the student to add functionality to * the Picture class. * * @author Barbara Ericson ericson@cc.gatech.edu */ public class Picture extends SimplePicture { ///////////////////// constructors ////////////////////////////////// /** * Constructor that takes no arguments */ public Picture () { /* not needed but use it to show students the implicit call to super() * child constructors always call a parent constructor */ super(); } /** * Constructor that takes a file name and creates the picture * @param fileName the name of the file to create the picture from */ public Picture(String fileName) { // let the parent class handle this fileName super(fileName); } /** * Constructor that takes the width and height * @param height the height of the desired picture * @param width the width of the desired picture */ public Picture(int height, int width) { // let the parent class handle this width and height super(width,height); } /** * Constructor that takes a picture and creates a * copy of that picture * @param copyPicture the picture to copy */ public Picture(Picture copyPicture) { // let the parent class do the copy super(copyPicture); } /** * Constructor that takes a buffered image * @param image the buffered image to use */ public Picture(BufferedImage image) { super(image); } ////////////////////// methods /////////////////////////////////////// /** * Method to return a string with information about this picture. * @return a string with information about the picture such as fileName, * height and width. */ public String toString() { String output = "Picture, filename " + getFileName() + " height " + getHeight() + " width " + getWidth(); return output; } /** Method to set the blue to 0 */ public void zeroBlue() { Pixel[][] pixels = this.getPixels2D(); for (Pixel[] rowArray : pixels) { for (Pixel pixelObj : rowArray) { pixelObj.setBlue(0); } } } /** Method that mirrors the picture around a * vertical mirror in the center of the picture * from left to right */ public void mirrorVertical() { Pixel[][] pixels = this.getPixels2D(); Pixel leftPixel = null; Pixel rightPixel = null; int width = pixels[0].length; for (int row = 0; row < pixels.length; row++) { for (int col = 0; col < width / 2; col++) { leftPixel = pixels[row][col]; rightPixel = pixels[row][width - 1 - col]; rightPixel.setColor(leftPixel.getColor()); } } } /** Mirror just part of a picture of a temple */ public void mirrorTemple() { int mirrorPoint = 276; Pixel leftPixel = null; Pixel rightPixel = null; int count = 0; Pixel[][] pixels = this.getPixels2D(); // loop through the rows for (int row = 27; row < 97; row++) { // loop from 13 to just before the mirror point for (int col = 13; col < mirrorPoint; col++) { leftPixel = pixels[row][col]; rightPixel = pixels[row] [mirrorPoint - col + mirrorPoint]; rightPixel.setColor(leftPixel.getColor()); } } } /** copy from the passed fromPic to the * specified startRow and startCol in the * current picture * @param fromPic the picture to copy from * @param startRow the start row to copy to * @param startCol the start col to copy to */ public void copy(Picture fromPic, int startRow, int startCol) { Pixel fromPixel = null; Pixel toPixel = null; Pixel[][] toPixels = this.getPixels2D(); Pixel[][] fromPixels = fromPic.getPixels2D(); for (int fromRow = 0, toRow = startRow; fromRow < fromPixels.length && toRow < toPixels.length; fromRow++, toRow++) { for (int fromCol = 0, toCol = startCol; fromCol < fromPixels[0].length && toCol < toPixels[0].length; fromCol++, toCol++) { fromPixel = fromPixels[fromRow][fromCol]; toPixel = toPixels[toRow][toCol]; toPixel.setColor(fromPixel.getColor()); } } } /** Method to create a collage of several pictures */ public void createCollage() { Picture flower1 = new Picture("flower1.jpg"); Picture flower2 = new Picture("flower2.jpg"); this.copy(flower1,0,0); this.copy(flower2,100,0); this.copy(flower1,200,0); Picture flowerNoBlue = new Picture(flower2); flowerNoBlue.zeroBlue(); this.copy(flowerNoBlue,300,0); this.copy(flower1,400,0); this.copy(flower2,500,0); this.mirrorVertical(); this.write("collage.jpg"); } /** Method to show large changes in color * @param edgeDist the distance for finding edges */ public void edgeDetection(int edgeDist) { Pixel leftPixel = null; Pixel rightPixel = null; Pixel[][] pixels = this.getPixels2D(); Color rightColor = null; for (int row = 0; row < pixels.length; row++) { for (int col = 0; col < pixels[0].length-1; col++) { leftPixel = pixels[row][col]; rightPixel = pixels[row][col+1]; rightColor = rightPixel.getColor(); if (leftPixel.colorDistance(rightColor) > edgeDist) leftPixel.setColor(Color.BLACK); else leftPixel.setColor(Color.WHITE); } } } /* Main method for testing - each class in Java can have a main * method */ public static void main(String[] args) { Picture beach = new Picture("beach.jpg"); beach.explore(); beach.zeroBlue(); beach.explore(); } public void encode(Picture messagePicture){ Pixel[][] messagePixel = messagePicture.getPixels2D(); Pixel[][] pixels = this.getPixels2D(); for (Pixel[] rowArray : pixels){//make everything even for (Pixel pixelObj : rowArray){ if (pixelObj.getRed() % 2 != 0){ pixelObj.setRed(pixelObj.getRed() + 1); } } } //scan through the message Array and find the message pixels for (Pixel[] messageArray : messagePixel){ for(Pixel messageObj : messageArray){ if (messageObj.colorDistance(Color.BLACK) < 50){ Pixel pixelObj = new Pixel(this, messageObj.getX() + 20, messageObj.getY() + 20); pixelObj.setRed(pixelObj.getRed() -1); } } } } public void decode(){ Pixel[][] pixels = this.getPixels2D(); for (Pixel[] rowArray : pixels){//make everything even for (Pixel pixelObj : rowArray){ pixelObj.setRed(255 - pixelObj.getRed()); if (pixelObj.getRed() % 2 == 1){ pixelObj.setColor(Color.WHITE); } else pixelObj.setColor(Color.BLACK); } } this.explore(); } } // this } is the end of class Picture, put all new methods before this
[ "noreply@github.com" ]
kayleyseow.noreply@github.com
6b54800c5763004c7d8bc33f277599be43034415
41391b21c13eb8b52cb2b6bb647826cbb3b3dc4d
/nfcreader/src/main/java/com/hyperether/nfcreader/api/volley/VolleyRequestManager.java
b040a29b43f04dfbe12132211fcc8d609226b134
[]
no_license
SlobodanPrijic/nfc-helper-android-java
e48e604e821c794188ed01fd3b78abb1b710b90c
77445c5bb1de7bca7af4192647ed24cf1071c95e
refs/heads/master
2021-01-01T06:43:31.903113
2017-07-17T16:31:41
2017-07-17T16:31:41
97,497,233
0
0
null
null
null
null
UTF-8
Java
false
false
5,408
java
package com.hyperether.nfcreader.api.volley; import android.content.Context; import com.android.volley.AuthFailureError; import com.android.volley.DefaultRetryPolicy; import com.android.volley.Response; import com.android.volley.VolleyError; import com.android.volley.toolbox.JsonObjectRequest; import com.android.volley.toolbox.StringRequest; import org.json.JSONObject; import java.util.Map; /** * Class managing communication using Volley library * * @author Slobodan Prijic * @version 1.0 - 07/14/2017 */ class VolleyRequestManager { private VolleyResponse callback; VolleyRequestManager(VolleyResponse listener) { this.callback = listener; } /** * JSON request POST method with access token * * @param url request URL * @param method type of request * @param requestBody request body * @param requestTag request description * @param params add String params if needed * @param headers add String headers if needed */ public void addJsonRequest( String url, int method, JSONObject requestBody, String requestTag, final Map<String, String> params, final Map<String, String> headers, Context context) { try { JsonObjectRequest jsObjRequest = new JsonObjectRequest( method, url, requestBody, new Response.Listener<JSONObject>() { @Override public void onResponse(JSONObject response) { callback.onSuccess(response.toString(), null); } }, new Response.ErrorListener() { @Override public void onErrorResponse(VolleyError error) { String message = ""; int statusCode = -1; if (error != null && error.networkResponse != null) { message = new String(error.networkResponse.data); statusCode = error.networkResponse.statusCode; } callback.onError(statusCode, message); } }) { @Override public Map<String, String> getParams() throws AuthFailureError { params.put("", ""); return params; } @Override public Map<String, String> getHeaders() throws AuthFailureError { headers.put("Authorization", "KISI-LINK 75388d1d1ff0dff6b7b04a7d5162cc6c"); return headers; } }; jsObjRequest.setShouldCache(true); jsObjRequest.setRetryPolicy(new DefaultRetryPolicy(15000, 0, DefaultRetryPolicy.DEFAULT_BACKOFF_MULT)); VolleyManager.getInstance().addToRequestQueue(jsObjRequest, requestTag, context); } catch (Throwable throwable) { throwable.printStackTrace(); } } /** * String request method * * @param url url of request * @param method type of request * @param requestTag Volley tag - for repeat or cancel request * @param params add String params if needed * @param headers add String headers if needed */ void addStringRequest( String url, int method, String requestTag, final Map<String, String> params, final Map<String, String> headers, Context context) { try { StringRequest request = new StringRequest( method, url, new Response.Listener<String>() { @Override public void onResponse(String response) { callback.onSuccess(response, null); } }, new Response.ErrorListener() { @Override public void onErrorResponse(VolleyError error) { String message = ""; int statusCode = -1; if (error != null && error.networkResponse != null) { message = new String(error.networkResponse.data); statusCode = error.networkResponse.statusCode; } callback.onError(statusCode, message); } }) { @Override public Map<String, String> getParams() throws AuthFailureError { return null; } @Override public Map<String, String> getHeaders() throws AuthFailureError { // headers.put("Authorization", "KISI-LINK 75388d1d1ff0dff6b7b04a7d5162cc6c"); return headers; } }; VolleyManager.getInstance().addToRequestQueue(request, requestTag, context); } catch (Throwable throwable) { throwable.printStackTrace(); } } }
[ "slobodan.prijic@gmail.com" ]
slobodan.prijic@gmail.com
c12195dd90eaa082f59ef26f1bfee0c9138f61db
3b46fc48fcf806ce18c9cef5f91e0640fb3ec01d
/test-git/src/Wednesdaypackage/Q156.java
63f9abebbff8545870f2d86674d28b7444e33fab
[]
no_license
Dilek-technostudy/JavaHomeworks
d283ed5c7373d584c552882168b9991e94a304ce
38c07169ea7e670e8df4bd328fddd304b75580bb
refs/heads/master
2020-09-06T04:20:48.895000
2020-06-26T04:13:42
2020-06-26T04:13:42
220,319,726
0
1
null
null
null
null
UTF-8
Java
false
false
502
java
package Wednesdaypackage; class A{ public void test() { System.out.println("A"); } } class B extends A{ public void test() { System.out.println("B"); } } class C extends A { public void test() { System.out.println("C"); } } public class Q156{ public static void main(String[] args) { A b1 = new A(); A b2 = new C(); b1 = (A) b2;//line 1 A b3 = (B) b2;//line 2 hata burada b1.test(); b3.test(); } }
[ "dileknuranyildirim@gmail.com" ]
dileknuranyildirim@gmail.com
c7d84a3c2a5a598dfa807d0ff6088ac36138ff3a
b4a8b6e45bd2c1bc291414f445b8c6a641c7a9a6
/src/SyncTrash.java
544346100c651bb0948d762f49231a35850b62f6
[ "MIT" ]
permissive
mekongosdev/CT240-JAVA-Mail
c6d0f57cabf8b42b6ffd17d1b6ec3de2330fc24f
f554f7e9013eeaa29f52a34c3caa3d7822387153
refs/heads/master
2022-03-05T03:51:08.149401
2019-11-20T05:49:40
2019-11-20T05:49:40
88,144,495
0
0
null
null
null
null
UTF-8
Java
false
false
4,009
java
import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Properties; import java.util.logging.Level; import java.util.logging.Logger; import javax.mail.*; /* * 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. */ /** * * @author Sj */ public final class SyncTrash implements Runnable { private int limit = 20; private Session session; private Store Store; private final String user; private final String pass; private final String host; private final String box; private List<Mes> MessagesSync; MainForm mf; ConnectSql connect; public SyncTrash(MainForm mf, String username, String password, String host){ this.MessagesSync = new ArrayList<>(); connect = new ConnectSql(); box = mf.listbox[3]; Properties properties = new Properties(); properties.put("mail.imap.host", host); properties.put("mail.imap.port", "993"); properties.put("mail.imap.starttls.enable", "true"); // Setup authentication, get session session = Session.getInstance(properties); // emailSession.setDebug(true); try{ //create the IMAP store object and connect with the imap server Store = session.getStore("imaps"); }catch (NoSuchProviderException e){ System.out.println("not create connect"); } this.mf = mf; this.user= username; this.pass = password; this.host = host; } @Override public void run() { try{ System.out.println("Syncing Trash......."); Store.connect(host, user, pass); Folder folder = Store.getDefaultFolder().getFolder(box); folder.open(Folder.READ_ONLY); Message[] messages = folder.getMessages(); mf.isInbox(box); mf.setNumberMail(messages.length,box); //JButton[] MailButton = new JButton[messages.length]; for (int i = messages.length - 1, n = (i - limit)>=0?(i- limit):-1 ; i > n; i--) { // System.out.println("Get message "+(i+1)); Message message = messages[i]; Date sentDate = message.getSentDate(); String FromName = message.getFrom()[0].toString(); String subject = message.getSubject(); if(FromName.contains("=?UTF-8?")){ String[] temp = FromName.split(" "); FromName = temp[1]; FromName = FromName.replace("<", "").replace(">", ""); } int[] id = {(i+1)}; MessagesSync.add(new Mes(id, sentDate.toString(), FromName, subject, true)); if(!mf.isSynced(box)){ List<Mes> temp = new ArrayList<>(); temp.add(new Mes(id, sentDate.toString(), FromName, subject, true)); mf.showMailSync(temp, box); } } folder.close(false); Store.close(); }catch(MessagingException e){ System.out.println("not Syncing Trash...."); } if (mf.isSynced(box)){ mf.clearMessageBox(box); mf.showMailSync(MessagesSync, box); } mf.setMailSynced(MessagesSync,box); this.syncDB(); System.out.println("sync end...."); Thread.interrupted(); } private void syncDB(){ System.out.println("save DB"); connect.deleteTrash(); for (Mes message: MessagesSync){ connect.insertTrash(message.id[0],message.date.toString(),message.from,message.subject); } System.out.println("saved"); } }
[ "me@ngthuc.com" ]
me@ngthuc.com
4549d84e780b8a9892d23e314c34899aaea5ca16
d59cbe2bfbd436b3f6402b64c88a5540a48fc9e9
/src/com/company/Main.java
745f6cac92d38703d3f7610f62bc43aeda4a1f17
[]
no_license
VaidotasE/Java_02_07
c1b4224f82db010a69a938837b8e13c68c76c609
2692abb292a8587afe9981d82a48e8096c210563
refs/heads/master
2021-05-08T18:53:03.748213
2018-01-30T13:43:50
2018-01-30T13:43:50
119,540,711
0
0
null
null
null
null
UTF-8
Java
false
false
506
java
package com.company; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.print("Ivesk svori KG: "); float svoris = sc.nextFloat(); System.out.println("Ivesk ugi m; "); float ugis = sc.nextFloat(); System.out.println("KMI: " + skaiciuokle(svoris, ugis)); } public static float skaiciuokle (float svoris, float ugis){ return svoris/(ugis*ugis); } }
[ "vaidotas.eigelis@gmail.com" ]
vaidotas.eigelis@gmail.com
6d87e6b9a470b12d475b60d7c77d59fe3f0d37cd
f1c87a2b6de3432fe1aa6c1e675577ce6a0338c9
/NullObject/src/nullobject/Dog.java
4320314607be9bbd57f3d8c2d863a29e9e2d1114
[]
no_license
dafguerreroalpracticas/NullObject-Design-Pattern
ab4b2fe850a1cd92a466d6e4885e7e282b9745b3
7e2ff5f4acb500548dc55ee55ae81d2b3496a508
refs/heads/master
2020-06-22T11:16:55.264798
2019-07-19T05:09:38
2019-07-19T05:09:38
null
0
0
null
null
null
null
UTF-8
Java
false
false
329
java
package nullobject; /** * * @author david */ public class Dog implements Animal { String name; public Dog(String name) { this.name = name; } @Override public void makeSound() { System.out.println("woof!"); } @Override public boolean isNull() { return false; } }
[ "dafguerreroal@unal.edu.co" ]
dafguerreroal@unal.edu.co
ef335cb0b4ad674e553bd6ca3473b44387cf7a48
58ad2f777280cbe77d019a312c90f11caa2194c6
/app/src/main/java/com/example/feedapp/CreateLoginActivity.java
3bb3d70eafbbc15396fbedd64fc6d81c2a1e0480
[]
no_license
chandanrai95/FeedApp
4137f1a2d0332bf09e3451cbe96bc67207b0238e
af91caa0756166b78a8c5e7fda450a4131f9496f
refs/heads/master
2020-04-27T20:45:41.077487
2019-03-09T16:18:52
2019-03-09T16:18:52
174,667,774
0
0
null
null
null
null
UTF-8
Java
false
false
5,355
java
package com.example.feedapp; import android.app.ProgressDialog; import android.content.Intent; import android.support.annotation.NonNull; import android.support.design.widget.TextInputLayout; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.support.v7.widget.Toolbar; import android.text.TextUtils; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.Button; import android.widget.Toast; import com.google.android.gms.tasks.OnCompleteListener; import com.google.android.gms.tasks.Task; import com.google.firebase.auth.AuthResult; import com.google.firebase.auth.FirebaseAuth; import com.google.firebase.auth.FirebaseUser; import com.google.firebase.database.DatabaseReference; import com.google.firebase.database.FirebaseDatabase; import java.util.HashMap; public class CreateLoginActivity extends AppCompatActivity { private TextInputLayout mDisplayName,mDob,mEmail,mPassword; private Button mCreate; private FirebaseAuth mAuth=FirebaseAuth.getInstance(); private Toolbar mtoolbar; private DatabaseReference mdatabaseRefer; private ProgressDialog mprogress; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_create_login); init(); mCreate.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { String name=mDisplayName.getEditText().getText().toString(); String email=mEmail.getEditText().getText().toString(); String pass=mPassword.getEditText().getText().toString(); String dob=mDob.getEditText().getText().toString(); if (Util.isInternetConnection(getApplicationContext())==true) { if (!TextUtils.isEmpty(name) && !TextUtils.isEmpty(email) && !TextUtils.isEmpty(pass) && !TextUtils.isEmpty(dob)) { mprogress.setTitle("Registering User"); mprogress.setMessage("Please wait while we registering "); mprogress.setCanceledOnTouchOutside(false); mprogress.show(); createUser(name,email,pass,dob); } else { Toast.makeText(getApplicationContext(),"Please Fill Details Properly",Toast.LENGTH_SHORT).show(); } } else { Toast.makeText(getApplicationContext(),"Network Not Available",Toast.LENGTH_LONG).show(); } } }); } public void init() { mDisplayName=(TextInputLayout) findViewById(R.id.name); mDob=(TextInputLayout) findViewById(R.id.dob); mEmail=(TextInputLayout) findViewById(R.id.email); mPassword=(TextInputLayout) findViewById(R.id.password); mCreate=(Button) findViewById(R.id.create_id); mtoolbar=(Toolbar)findViewById(R.id.register_toolbar); setSupportActionBar(mtoolbar); getSupportActionBar().setDisplayHomeAsUpEnabled(true); getSupportActionBar().setHomeAsUpIndicator(R.drawable.ic_arrow_back_black_24dp); getSupportActionBar().setDisplayShowTitleEnabled(false); mtoolbar.setTitle("Create Account"); mtoolbar.setTitleTextColor(getApplicationContext().getResources().getColor(R.color.white)); mprogress=new ProgressDialog(CreateLoginActivity.this); } public void createUser(final String Name, final String Email, String Pass, final String dob) { mAuth.createUserWithEmailAndPassword(Email,Pass) .addOnCompleteListener(new OnCompleteListener<AuthResult>() { @Override public void onComplete(@NonNull Task<AuthResult> task) { mprogress.dismiss(); if(task.isSuccessful()) { FirebaseUser currentUser=FirebaseAuth.getInstance().getCurrentUser(); mdatabaseRefer= FirebaseDatabase.getInstance().getReference().child("Users").child(currentUser.getUid()); HashMap<String,String> dataMap =new HashMap<>(); dataMap.put("Name",Name); dataMap.put("Email",Email); dataMap.put("DOB",dob); mdatabaseRefer.setValue(dataMap); Toast.makeText(getApplicationContext(),"Registered Succesfully",Toast.LENGTH_SHORT).show(); startActivity(new Intent(CreateLoginActivity.this,MainActivity.class)); } else { Toast.makeText(getApplicationContext(),"Error Occured",Toast.LENGTH_SHORT).show(); } } }); } @Override public boolean onCreateOptionsMenu(Menu menu) { return super.onCreateOptionsMenu(menu); } @Override public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId()) { case android.R.id.home: onBackPressed(); return true; } return false; } }
[ "chandan.rai1995@gmail.com" ]
chandan.rai1995@gmail.com
84f88caf4dea8e2e2cecb7ac9e93a6d0b757cff0
ae3cbb127dfdcc0ba78ed9ae92fe4f31dde0d367
/collect_app/src/test/java/org/odk/collect/android/location/activities/GeoPointActivityTest.java
30987236c4b4e61cc9385481ee217044ea073f43
[ "Apache-2.0" ]
permissive
gitsemere/collect
fd4233244ae22fce31a3048578336cea3c32106b
cdeaab3cb1d2dcdf999ffe7a46f69a24041694f1
refs/heads/master
2020-05-15T14:38:08.441306
2019-04-16T08:34:36
2019-04-19T17:34:06
182,343,734
1
0
NOASSERTION
2019-04-20T01:07:23
2019-04-20T01:07:23
null
UTF-8
Java
false
false
5,751
java
package org.odk.collect.android.location.activities; import android.content.Intent; import android.location.Location; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; import org.mockito.junit.MockitoJUnit; import org.mockito.junit.MockitoRule; import org.odk.collect.android.activities.GeoPointActivity; import org.odk.collect.android.location.client.LocationClient; import org.odk.collect.android.location.client.LocationClients; import org.odk.collect.android.widgets.GeoPointWidget; import org.robolectric.Robolectric; import org.robolectric.RobolectricTestRunner; import org.robolectric.android.controller.ActivityController; import org.robolectric.shadows.ShadowActivity; import static android.app.Activity.RESULT_OK; import static android.provider.Settings.ACTION_LOCATION_SOURCE_SETTINGS; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import static org.odk.collect.android.activities.FormEntryActivity.LOCATION_RESULT; import static org.robolectric.Shadows.shadowOf; @RunWith(RobolectricTestRunner.class) public class GeoPointActivityTest extends BaseGeoActivityTest { @Rule public MockitoRule rule = MockitoJUnit.rule(); private ActivityController<GeoPointActivity> activityController; private GeoPointActivity activity; private ShadowActivity shadowActivity; @Mock LocationClient locationClient; /** * Runs {@link Before} each test. */ @Before public void setUp() throws Exception { super.setUp(); activityController = Robolectric.buildActivity(GeoPointActivity.class); activity = activityController.get(); shadowActivity = shadowOf(activity); LocationClients.setTestClient(locationClient); } @Test public void testLocationClientLifecycle() { activityController.create(); // Activity.onStart() should call LocationClient.start(). activityController.start(); verify(locationClient).start(); when(locationClient.isLocationAvailable()).thenReturn(true); when(locationClient.getLastLocation()).thenReturn(newMockLocation()); // Make sure we're requesting updates and logging our previous location: activity.onClientStart(); verify(locationClient).requestLocationUpdates(activity); verify(locationClient).getLastLocation(); // Simulate the location updating: Location firstLocation = newMockLocation(); when(firstLocation.getAccuracy()).thenReturn(0.0f); activity.onLocationChanged(firstLocation); // First update should only change dialog message (to avoid network location bug): assertFalse(shadowActivity.isFinishing()); assertEquals( activity.getDialogMessage(), activity.getAccuracyMessage(firstLocation) ); // Second update with poor accuracy should change dialog message: float poorAccuracy = (float) GeoPointWidget.DEFAULT_LOCATION_ACCURACY + 1.0f; Location secondLocation = newMockLocation(); when(secondLocation.getAccuracy()).thenReturn(poorAccuracy); activity.onLocationChanged(secondLocation); assertFalse(shadowActivity.isFinishing()); assertEquals( activity.getDialogMessage(), activity.getProviderAccuracyMessage(secondLocation) ); // Third location with good accuracy should change dialog and finish activity. float goodAccuracy = (float) GeoPointWidget.DEFAULT_LOCATION_ACCURACY - 1.0f; Location thirdLocation = newMockLocation(); when(thirdLocation.getAccuracy()).thenReturn(goodAccuracy); activity.onLocationChanged(thirdLocation); assertTrue(shadowActivity.isFinishing()); assertEquals( activity.getDialogMessage(), activity.getProviderAccuracyMessage(thirdLocation) ); assertEquals(shadowActivity.getResultCode(), RESULT_OK); Intent resultIntent = shadowActivity.getResultIntent(); String resultString = resultIntent.getStringExtra(LOCATION_RESULT); assertEquals(resultString, activity.getResultStringForLocation(thirdLocation)); } @Test public void activityShouldOpenSettingsIfLocationUnavailable() { activityController.create(); activityController.start(); when(locationClient.isLocationAvailable()).thenReturn(false); activity.onClientStart(); assertTrue(shadowActivity.isFinishing()); Intent nextStartedActivity = shadowActivity.getNextStartedActivity(); assertEquals(nextStartedActivity.getAction(), ACTION_LOCATION_SOURCE_SETTINGS); } @Test public void activityShouldOpenSettingsIfLocationClientCantConnect() { activityController.create(); activityController.start(); activity.onClientStartFailure(); assertTrue(shadowActivity.isFinishing()); Intent nextStartedActivity = shadowActivity.getNextStartedActivity(); assertEquals(nextStartedActivity.getAction(), ACTION_LOCATION_SOURCE_SETTINGS); } @Test public void activityShouldShutOffLocationClientWhenItStops() { activityController.create(); activityController.start(); verify(locationClient).start(); activityController.stop(); verify(locationClient).stop(); } public static Location newMockLocation() { return mock(Location.class); } }
[ "lognaturel@gmail.com" ]
lognaturel@gmail.com