class_name stringlengths 1 78 | java_source stringlengths 11 837k | jasm_code stringlengths 237 1.46M | java_test stringlengths 592 4.08M | java_scaffold stringlengths 2.82k 8.12k | class_idx int64 0 153k |
|---|---|---|---|---|---|
CharToGlyphMapper | /*
* Copyright 2003-2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Fou... | .version 52 0
.class public super abstract CharToGlyphMapper
.super java/lang/Object
.field public static final HI_SURROGATE_START I = 55296
.field public static final HI_SURROGATE_END I = 56319
.field public static final LO_SURROGATE_START I = 56320
.field public static final LO_SURROGATE_END I = 57343
.field p... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:20:00 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 18:20:00 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 135,100 |
CollectionUtils | import java.util.List;
public class CollectionUtils {
public static <T> boolean moveUp(List<T> list, T element) {
int index = list.indexOf(element);
if (index > 0) {
list.remove(index);
list.add(index - 1, element);
return true;
}
return false;
}
public static <T> boolean moveD... | .version 52 0
.class public super CollectionUtils
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable
.end co... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:33:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:33:29 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,101 |
AlreadyScheduledException | /*
* Vulcan Build Manager
* Copyright (C) 2005-2012 Chris Eldredge
*
* 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 versi... | .version 52 0
.class public super AlreadyScheduledException
.super java/lang/Exception
.field final name Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;)V
L5:... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:08:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:08:09 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,102 |
爬梯子 | import java.util.Scanner;
/** Created by Raymond on 2016/12/28. */
public class 爬梯子 {
public static void main(String[] args) {
爬梯子 tr = new 爬梯子();
int step, num = 0, moveNum = 0;
Scanner sc = new Scanner(System.in);
step = sc.nextInt();
moveNum = tr.up(step);
System.out.print("递归法爬梯子的方法:" + m... | .version 52 0
.class public super '爬梯子'
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 8
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:35:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 12:35:15 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,103 |
IteratorEnumeration | /*
* Copyright 2006 and onwards Sean Owen
*
* 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 ... | .version 52 0
.class final super IteratorEnumeration
.super java/lang/Object
.implements java/util/Enumeration
.field private final iterator Ljava/util/Iterator; .fieldattributes
.signature Ljava/util/Iterator<*>;
.end fieldattributes
.method <init> : (Ljava/util/Iterator;)V
.code stack 2 locals 2
L0:... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:14:33 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.Iterator;
import org.evosuite.runtime.EvoRu... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 21:14:33 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,104 |
DateUtils | import java.util.Calendar;
/**
* CopyRright (c)2013: InstantMessage Project: InstantMessageClient Module ID: 3 Comments: 获取当前时间工具类
* JDK version used: JDK 1.7 NameSpace: com.im.client.utils Author: Ellery Create Date: 2013-04-29
* 21:37 Modified By: Modified Date: Why&What is modified: Version: 0.1
*/
public class... | .version 52 0
.class public super DateUtils
.super java/lang/Object
.field rightNow Ljava/util/Calendar;
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: invokestatic Method java/util/Calendar getInstance ()... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:53:11 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Calendar;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.util.MockGregori... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 19:53:11 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,105 |
DateDemo | import java.util.Date;
/*
* Date:表示特定的瞬间,精确到毫秒。
*
* 构造方法:
* Date():根据当前的默认毫秒值创建日期对象
* Date(long date):根据给定的毫秒值创建日期对象
*/
public class DateDemo {
public static void main(String[] args) {
// 创建对象
Date d = new Date();
System.out.println("d:" + d);
// 创建对象
// long time = System.currentTimeM... | .version 52 0
.class public super DateDemo
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 12
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:50:23 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:50:23 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,106 |
HiveService | import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
/**
* JDBC with hive service
*
* @author hzou
*/
public class HiveService {
static final String DRIVER_NAME = "org.apache.hive.jdbc.HiveDriver";
private String host;
... | .version 52 0
.class public super HiveService
.super java/lang/Object
.field static final DRIVER_NAME Ljava/lang/String; = 'org.apache.hive.jdbc.HiveDriver'
.field private host Ljava/lang/String;
.field private port I
.field private dbname Ljava/lang/String;
.field private username Ljava/lang/String;
.field pri... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:12:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:12:20 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,107 |
Earthquake | public class Earthquake {
private long mDate;
private String mPlace;
private double mMagnitude;
private String mUrl;
public Earthquake(long vDate, String vPlace, double vMagnitude, String vUrl) {
mDate = vDate;
mPlace = vPlace;
mMagnitude = vMagnitude;
mUrl = vUrl;
}
public String ge... | .version 52 0
.class public super Earthquake
.super java/lang/Object
.field private mDate J
.field private mPlace Ljava/lang/String;
.field private mMagnitude D
.field private mUrl Ljava/lang/String;
.method public <init> : (JLjava/lang/String;DLjava/lang/String;)V
.code stack 3 locals 7
L0: aload_0
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:07:59 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 01:07:59 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,108 |
RequiredAttributeNotProvidedException | /*
* #%L
* BroadleafCommerce Framework
* %%
* Copyright (C) 2009 - 2013 Broadleaf Commerce
* %%
* 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/license... | .version 52 0
.class public super RequiredAttributeNotProvidedException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = 1L
.field protected attributeName Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 3
L0: aload... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:38:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:38:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,109 |
TagColor | /*
* Copyright 2009-2022 Contributors (see credits.txt)
*
* This file is part of jEveAssets.
*
* jEveAssets 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 you... | .version 52 0
.class public super TagColor
.super java/lang/Object
.field private static final VALUES [LTagColor;
.field private backgroundColor Ljava/awt/Color;
.field private foregroundColor Ljava/awt/Color;
.field private backgroundHtml Ljava/lang/String;
.field private foregroundHtml Ljava/lang/String;
.me... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:38:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.awt.Color;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 21:38:26 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,110 |
Font | /*
* OpenProdoc
*
* See the help doc files distributed with
* this work for additional information regarding copyright ownership.
* Joaquin Hierro licenses this file to You under:
*
* License GNU GPL v3 http://www.gnu.org/licenses/gpl.html
*
* you may not use this file except in compliance with the License.
*... | .version 52 0
.class public super Font
.super java/lang/Object
.field private Bold Z
.field private Italic Z
.field private Underline Z
.field private Family Ljava/lang/String;
.field private Color Ljava/lang/String;
.field private Size I
.field private CadHtml Ljava/lang/String;
.method public <init> : (ZZZ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:52:55 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:52:55 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,111 |
OSUtil | public class OSUtil {
private static String OS = System.getProperty("os.name").toLowerCase();
public static void main(String[] args) {
System.out.println(OS);
if (isWindows()) {
System.out.println("This is Windows");
} else if (isMac()) {
System.out.println("This is Mac");
} else if ... | .version 52 0
.class public super OSUtil
.super java/lang/Object
.field private static OS Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:41:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:41:51 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,112 |
AgentException | /*
* Copyright 2013 Andrej Petras <andrej@ajka-andrej.com>.
*
* 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... | .version 52 0
.class public final super AgentException
.super java/lang/Exception
.implements java/io/Serializable
.field private static final serialVersionUID J = -1344259616590560173L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespeci... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:00:00 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 15:00:00 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,113 |
DimensionTypeVO | import java.util.List;
/** Created by wangychu on 10/8/16. */
public class DimensionTypeVO {
private String typeName;
private String typeAliasName;
private long typeDataRecordCount;
private int descendantDimensionTypesNumber;
private List<DimensionTypeVO> childDimensionTypesVOList;
public String getTypeN... | .version 52 0
.class public super DimensionTypeVO
.super java/lang/Object
.field private typeName Ljava/lang/String;
.field private typeAliasName Ljava/lang/String;
.field private typeDataRecordCount J
.field private descendantDimensionTypesNumber I
.field private childDimensionTypesVOList Ljava/util/List; .fiel... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:22:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:22:28 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,114 |
DataserviceConstants | /*
* Copyright (c) 2010, WSO2 Inc. (http://www.wso2.org) 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
*
* Unles... | .version 52 0
.class public super DataserviceConstants
.super java/lang/Object
.field public static final DATASERVICE_VALIDATOR_INTERFACE_NAME Ljava/lang/String; = 'org.wso2.carbon.dataservices.core.validation.Validator'
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecia... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:48:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:48:15 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,115 |
ConfigObj | /*
* This file is part of YAPEA.
*
* YAPEA is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License (version 2)
* as published by the Free Software Foundation.
*
* YAPEA is distributed in the hope that it will be useful,
* but WITHOUT ANY WARR... | .version 52 0
.class public super ConfigObj
.super java/lang/Object
.field private encAlgo Ljava/lang/String;
.field private hashedKey Ljava/lang/String;
.field private isGpsEnabled Z
.field private panicPassword Ljava/lang/String;
.field private panicNumber I
.method public <init> : (Ljava/lang/String;Ljava/l... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:03:38 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 10:03:38 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,116 |
Queue | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you m... | .version 52 0
.class super Queue
.super java/lang/Object
.field private final lst Ljava/util/List;
.method <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: new java/util/LinkedList
L8: dup
L9: invokespecial Metho... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:28:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:28:56 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 135,117 |
ModifyMountTargetSecurityGroupsResult | /*
* Copyright 2010-2016 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 "l... | .version 52 0
.class public super ModifyMountTargetSecurityGroupsResult
.super java/lang/Object
.implements java/io/Serializable
.implements java/lang/Cloneable
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:06:14 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 15:06:14 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,118 |
PtreeNode | /***********************************************************************
*
* This file is part of KEEL-software, the Data Mining tool for regression,
* classification, clustering, pattern mining and so on.
*
* Copyright (C) 2004-2010
*
* F. Herrera (herrera@decsai.ugr.es)
* L. Sánchez (luciano@uniovi.es)
* J. ... | .version 52 0
.class public super PtreeNode
.super java/lang/Object
.field public support I
.field public itemSet [S
.field public childRef LPtreeNode;
.field public siblingRef LPtreeNode;
.method public <init> : ([S)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:32:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:32:03 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,119 |
Main | import java.io.IOException;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.InetAddress;
import java.net.SocketException;
public class Main {
public static void main(String[] args) {
try {
DatagramSocket socket = new DatagramSocket(5000);
while (true) {
byte[... | .version 52 0
.class public super Main
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 9
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:18:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.testdata.EvoSuiteLocalAddress;
import org.evosuite.ru... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:18:36 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,120 |
TestWrappedLocal2 | import java.io.File;
import java.net.MalformedURLException;
public class TestWrappedLocal2 {
public void foo() {
File file = null;
/*[*/ int i;
try {
i = 10;
int x;
file.toURL(); /*]*/
} catch (MalformedURLException e) {
}
i = 20;
}
}
| .version 52 0
.class public super TestWrappedLocal2
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:38:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:38:39 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,121 |
Solution | public class Solution {
public int[] plusOne(int[] digits) {
int carry = 1;
for (int i = digits.length - 1; i >= 0; i--) {
digits[i] += carry;
carry = digits[i] / 10;
if (digits[i] >= 10) {
digits[i] %= 10;
} else {
break;
}
}
if (carry > 0) {
int[] ... | .version 52 0
.class public super Solution
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:42:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 11:42:17 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,122 |
ReviewSolution | // Task 6 Solution
public class ReviewSolution {
// class variables
int userid;
int itemid;
int rating;
// constructor
public ReviewSolution(int userid, int itemid, int rating) {
this.userid = userid;
this.itemid = itemid;
this.rating = rating;
}
// getter (accessor) and setter (mutator) ... | .version 52 0
.class public super ReviewSolution
.super java/lang/Object
.field userid I
.field itemid I
.field rating I
.method public <init> : (III)V
.code stack 2 locals 4
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
L6: putfield Field ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:27:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:27:17 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,123 |
SurrogatePairs1 | class SurrogatePairs1 {
void m() {
System.out.println("<caret>\uD801\uDC37");
}
}
| .version 52 0
.class super SurrogatePairs1
.super java/lang/Object
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 1
.end linenumbertable
.end code
.end metho... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:05:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:05:47 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,124 |
ReadFromFile | import java.io.File;
import java.util.Scanner;
public class ReadFromFile {
public static void main(String[] args) throws Exception {
File userDataFile = new File("user.data");
Scanner fileScanner = new Scanner(userDataFile);
int firstNumber = ReadFromFile.readNumber(fileScanner);
int secondNumber = ... | .version 52 0
.class public super ReadFromFile
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:09:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.FileNotFoundException;
import java.util.Scanner;
import org.evosuite.runtime.EvoRunner;
import org.evo... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:09:52 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,125 |
ScoreUtil | import java.util.HashMap;
public class ScoreUtil {
static HashMap<String, Integer> map = new HashMap<String, Integer>();
public static void savePartie(String name, int score) {
map.put(name, score);
}
public static HashMap<String, Integer> getListScore() {
return map;
}
}
| .version 52 0
.class public super ScoreUtil
.super java/lang/Object
.field static map Ljava/util/HashMap; .fieldattributes
.signature Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Integer;>;
.end fieldattributes
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:16:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.cl... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 08:16:56 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,126 |
Dice | public class Dice {
private int side;
public Dice() {
side = 1;
}
public void roll() {
double d = Math.random() * 6;
side = (int) (d + 1);
}
public int getValue() {
return side;
}
}
| .version 52 0
.class public super Dice
.super java/lang/Object
.field private side I
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iconst_1
L6: putfield Field Dice side I
L9: return
L10:
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:18:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:18:47 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,127 |
Solution | /*
Числа Фибоначчи с помощью рекурсии
*/
public class Solution {
public static void main(String[] args) {
Solution solution = new Solution();
System.out.println(solution.fibonacci(9)); // 34
System.out.println(solution.fibonacci(5)); // 5
System.out.println(solution.fibonacci(2)); // 1
System.out... | .version 52 0
.class public super Solution
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:37:55 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:37:55 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,128 |
KeyAndPasswordDTO | public class KeyAndPasswordDTO {
private String key;
private String newPassword;
public KeyAndPasswordDTO() {}
public String getKey() {
return key;
}
public void setKey(String key) {
this.key = key;
}
public String getNewPassword() {
return newPassword;
}
public void setNewPasswor... | .version 52 0
.class public super KeyAndPasswordDTO
.super java/lang/Object
.field private key Ljava/lang/String;
.field private newPassword Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:18:30 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 16:18:30 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,129 |
SystemAreaType | /**
* 数据表映射类——企业类型数据表,可以理解为功能插件的集合,系统可以设定不同的企业类型,不同的企业类型可以包含不同的功能模块及其插件,依据此为不同进入平台的企业提供不同的功能插件
*
* @author ProteanBear
* @version 1.00 2014-07-14
*/
public class SystemAreaType {
/** 域(受保护) 名称: typeId 描述: 主键,使用时间戳格式yyyyMMddhhmmss */
protected String typeId;
/**
* 访问器 目标: typeId
*
* @return String -... | .version 52 0
.class public super SystemAreaType
.super java/lang/Object
.field protected typeId Ljava/lang/String;
.field protected typeName Ljava/lang/String;
.field protected dataRemark Ljava/lang/String;
.field protected dataDelete I
.field protected typeLevel I
.method public <init> : ()V
.code stack... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:19:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:19:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,130 |
Index | public class Index {
void m() {
int i = 0;
// int j = 8/i; //Causes a ZeroDiv warning
Object[] oo = new Object[i - 1]; // NegSize warning
oo = new Object[10];
i = oo[-1].hashCode(); // IndexNegative warning
i = oo[20].hashCode(); // IndexTooBig warning
}
}
| .version 52 0
.class public super Index
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 1
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:32:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 06:32:46 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,131 |
Max | import java.util.Comparator;
public class Max {
public static <T> T max(T v1, T v2, Comparator<T> comp) {
if (comp.compare(v1, v2) > 0) return v1;
else return v2;
}
private Max() {}
}
| .version 52 0
.class public super Max
.super java/lang/Object
.method public static max : (Ljava/lang/Object;Ljava/lang/Object;Ljava/util/Comparator;)Ljava/lang/Object;
.code stack 3 locals 3
L0: aload_2
L1: aload_0
L2: aload_1
L3: invokeinterface InterfaceMethod java/util/Comparator compar... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:44:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import java.util.Comparator;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParamet... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 07:44:15 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,132 |
CRCCalculator | /**
* Released by SPORTident under the CC BY 3.0 license.
*
* <p>This work is licensed under the Creative Commons Attribution 3.0 Unported License. To view a
* copy of this license, visit http://creativecommons.org/licenses/by/3.0/ or send a letter to
* Creative Commons, 444 Castro Street, Suite 900, Mountain View... | .version 52 0
.class public super CRCCalculator
.super java/lang/Object
.field private static final POLY I = 32773
.field private static final BITF I = 32768
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 02:42:37 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 02:42:37 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,133 |
SubmitReply | /*
* Copyright (c) 2011-2018 Genestack Limited. All Rights Reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any lat... | .version 52 0
.class public super SubmitReply
.super java/lang/Object
.field public final jobID J
.field public final queue Ljava/lang/String;
.method public <init> : (JLjava/lang/String;)V
.code stack 3 locals 4
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5:... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:25:01 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 12:25:01 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,134 |
ImageNotLoadedException | /*
* This file is part of HoloAPI.
*
* HoloAPI 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.
*
* HoloAPI is distributed in th... | .version 52 0
.class public super ImageNotLoadedException
.super java/lang/RuntimeException
.method public <init> : (Ljava/lang/String;)V
.code stack 3 locals 2
L0: aload_0
L1: new java/lang/StringBuilder
L4: dup
L5: invokespecial Method java/lang/StringBuilder <init> ()V
L8: ldc 'Imag... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:50:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 08:50:50 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,135 |
JobBean | import java.util.List;
import java.util.Map;
public class JobBean {
private int jobId = 0;
private String name;
private String description;
private String source;
private String target;
private int status = 0;
private int filterId;
private List<Integer> taskIdList;
private Map<Integer, Intege... | .version 52 0
.class public super JobBean
.super java/lang/Object
.field private jobId I
.field private name Ljava/lang/String;
.field private description Ljava/lang/String;
.field private source Ljava/lang/String;
.field private target Ljava/lang/String;
.field private status I
.field private filterId I
.fie... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:25:11 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import java.util.LinkedList;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.Ru... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 07:25:11 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,136 |
Counter | /**
* Class Counter.
*
* @author Vitaly Vasilyev
* @version $Id$
* @since 0.1
*/
public class Counter {
/**
* The method calculates the sum of even integers of two passed arguments.
*
* @param start The first number
* @param finish The second number
* @return The sum of even numbers.
*/
pub... | .version 52 0
.class public super Counter
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 8
.end linenumbertable
.end code
.end... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:24:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 15:24:16 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,137 |
Production4217 | public class Production4217 {
private String property0;
public String getProperty0() {
return property0;
}
public void setProperty0(String value) {
property0 = value;
}
private String property1;
public String getProperty1() {
return property1;
}
public void setProperty1(String value)... | .version 52 0
.class public super Production4217
.super java/lang/Object
.field private property0 Ljava/lang/String;
.field private property1 Ljava/lang/String;
.field private property2 Ljava/lang/String;
.field private property3 Ljava/lang/String;
.field private property4 Ljava/lang/String;
.field private prop... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:41:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 01:41:49 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,138 |
DatasourceConfig | /*
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.or... | .version 52 0
.class public super DatasourceConfig
.super java/lang/Object
.field private databaseUrl Ljava/lang/String;
.field private driverClassName Ljava/lang/String;
.field private username Ljava/lang/String;
.field private password Ljava/lang/String;
.field private testOnBorrow Z
.field private validation... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:10:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 15:10:05 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,139 |
DebugTool | /** Created by andy on 7/14/15. */
public class DebugTool {
public static String getCallerName(Exception e) {
StackTraceElement[] stackTrace = e.getStackTrace();
return stackTrace[0].toString();
}
}
| .version 52 0
.class public super DebugTool
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:57:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockException;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 07:57:10 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,140 |
City | public class City {
private int id;
private String cityName;
private String cityCode;
private int provinceId;
public int getProvinceId() {
return provinceId;
}
public void setProvinceId(int provinceId) {
this.provinceId = provinceId;
}
public int getId() {
return id;
}
public void... | .version 52 0
.class public super City
.super java/lang/Object
.field private id I
.field private cityName Ljava/lang/String;
.field private cityCode Ljava/lang/String;
.field private provinceId I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Ob... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:59:14 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 14:59:14 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,141 |
ImageCellMap | import java.awt.image.BufferedImage;
import java.util.ArrayList;
import java.util.TreeMap;
/**
* Class for managing tile images. All images must be the same dimensions.
*
* @author Eben Howard -- http://squidpony.com - howard@squidpony.com
*/
public class ImageCellMap {
private final BufferedImage nullImage;
... | .version 52 0
.class public super ImageCellMap
.super java/lang/Object
.field private final nullImage Ljava/awt/image/BufferedImage;
.field private final width I
.field private final height I
.field private final blocks Ljava/util/TreeMap; .fieldattributes
.signature Ljava/util/TreeMap<Ljava/lang/String;Ljav... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:02:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.awt.image.BufferedImage;
import java.awt.image.RasterFormatException;
import java.util.ArrayList;
import ... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:02:19 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,142 |
Misc | /**
* @author Bob McWhirter
*/
public class Misc {}
| .version 52 0
.class public super Misc
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:17:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 04:17:05 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,143 |
CommaSplitter | /* 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... | .version 52 0
.class public super CommaSplitter
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 22
.end linenumbertable
.end cod... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:26:30 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:26:30 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,144 |
Relatorio | public abstract class Relatorio {
public String montarRelatorio() {
return montarCabecalho() + " " + montarCorpo() + " " + montarRodape();
}
public abstract String montarCabecalho();
public abstract String montarCorpo();
public abstract String montarRodape();
}
| .version 52 0
.class public super abstract Relatorio
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 1
.end linenumbertable
.end... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:29:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:29:48 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 135,145 |
Point | // Point.java
// Java Spatial Index Library
// Copyright (C) 2002-2005 Infomatiq Limited.
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the Lice... | .version 52 0
.class public super Point
.super java/lang/Object
.field public x F
.field public y F
.method public <init> : (FF)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: fload_1
L6: putfield Field Point x F
L9: aloa... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:49:24 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:49:24 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,146 |
Types | import java.util.Objects;
public final class Types {
private final Class<?> type;
private Types(Class<?> type) {
Objects.requireNonNull(type);
this.type = type;
}
public static Types of(Class<?> type) {
return new Types(type);
}
public boolean isAssignableFrom(Class<?> actualClass) {
//... | .version 52 0
.class public final super Types
.super java/lang/Object
.field private final type Ljava/lang/Class; .fieldattributes
.signature Ljava/lang/Class<*>;
.end fieldattributes
.method private <init> : (Ljava/lang/Class;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:16:55 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:16:55 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,147 |
ExceptionTestFinally19f | public abstract class ExceptionTestFinally19f {
public void callWhichMightThrow() {
throw new IllegalStateException();
}
public void test1() {
for (int y = 0; y < 10; ++y) {
do {
try {
callWhichMightThrow();
} catch (Throwable t) {
if (y < 100) break;
}... | .version 52 0
.class public super abstract ExceptionTestFinally19f
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4
.end linenumbert... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:08:04 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:08:04 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 135,148 |
ResultsPage | /*
* #%L
* ACS AEM Commons Bundle
* %%
* Copyright (C) 2017 Adobe
* %%
* 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... | .version 52 0
.class public final super ResultsPage
.super java/lang/Object
.field private final results Ljava/util/stream/Stream; .fieldattributes
.signature Ljava/util/stream/Stream<+Ljava/lang/Object;>;
.end fieldattributes
.field private final pageSize I
.field private final page I
.field private final ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:17:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.stream.LongStream;
import java.util.stream.Stream;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.ju... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:17:25 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,149 |
ChineseRemainderTheorem | /**
* Use the chinese remainder theorem to solve a set of congruence equations.
*
* <p>The first method (eliminateCoefficient) is used to reduce an equation of the form cx≡a(mod
* m)cx≡a(mod m) to the form x≡a_new(mod m_new)x≡anew(mod m_new), which gets rids of the
* coefficient. A value of null is returned if the... | .version 52 0
.class public super ChineseRemainderTheorem
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 25
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:12:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 08:12:05 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,150 |
BuildConfig | /** Automatically generated file. DO NOT MODIFY */
public final class BuildConfig {
public static final boolean DEBUG = true;
}
| .version 52 0
.class public final super BuildConfig
.super java/lang/Object
.field public static final DEBUG Z = 1
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4 ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:58:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 18:58:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,151 |
LineNumberOutOfBoundsException | public class LineNumberOutOfBoundsException extends Exception {}
| .version 52 0
.class public super LineNumberOutOfBoundsException
.super java/lang/Exception
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenum... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:01:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:01:09 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,152 |
QuickfixResolveParams | /*******************************************************************************
* Copyright (c) 2017 Pivotal, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
*... | .version 52 0
.class public super QuickfixResolveParams
.super java/lang/Object
.field private type Ljava/lang/String;
.field private params Ljava/lang/Object;
.method public <init> : (Ljava/lang/String;Ljava/lang/Object;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Objec... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:41:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 01:41:26 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,153 |
DatabaseObjectNotClosedException | /*
* Copyright (C) 2006 The Android Open Source Project
*
* 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 app... | .version 52 0
.class public super DatabaseObjectNotClosedException
.super java/lang/RuntimeException
.field private static final s Ljava/lang/String; = 'Application did not close the cursor or database object that was opened here'
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: ld... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:46:33 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:46:33 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,154 |
KafkaConstants | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | .version 52 0
.class public final super KafkaConstants
.super java/lang/Object
.field public static final PARTITION_KEY Ljava/lang/String; = 'kafka.PARTITION_KEY'
.field public static final PARTITION Ljava/lang/String; = 'kafka.PARTITION'
.field public static final KEY Ljava/lang/String; = 'kafka.KEY'
.field publ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:57:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 04:57:46 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 135,155 |
ItemID | public class ItemID {
public static int worldFibreID = 4000;
}
| .version 52 0
.class public super ItemID
.super java/lang/Object
.field public static worldFibreID I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:42:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 11:42:39 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,156 |
UserSaltAlreadyInitializedException | public class UserSaltAlreadyInitializedException extends RuntimeException {
private static final long serialVersionUID = -4363281974948228385L;
public UserSaltAlreadyInitializedException(String message) {
super(message);
}
}
| .version 52 0
.class public super UserSaltAlreadyInitializedException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = -4363281974948228385L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method ja... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:31:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:31:32 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,157 |
Palindrome | /**
* Copyright 2014 Daniel Giribet <dani - calidos.cat>
*
* <p>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
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required by a... | .version 52 0
.class public super Palindrome
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 19
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:31:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 06:31:15 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,158 |
FindAnnotation | /**
* Copyright 2014 Opower, Inc. 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
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required by applicable law or agreed to in... | .version 52 0
.class public final super FindAnnotation
.super java/lang/Object
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 25
L4 26
.end li... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:30:13 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.lang.annotation.Annotation;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerP... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 07:30:13 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,159 |
IncompatibleClassFileException | public class IncompatibleClassFileException extends Exception {
/** */
private static final long serialVersionUID = -1277275222587627793L;
public IncompatibleClassFileException(String param) {
super(param);
}
}
| .version 52 0
.class public super IncompatibleClassFileException
.super java/lang/Exception
.field private static final serialVersionUID J = -1277275222587627793L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exce... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:14:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 14:14:21 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,160 |
Fibonacci2Sample | /****************************************************************
* Licensed to the AOS Community (AOS) under one or more *
* contributor license agreements. See the NOTICE file *
* distributed with this work for additional information *
* regarding copyright ownership. The AOS licenses this... | .version 52 0
.class public super Fibonacci2Sample
.super java/lang/Object
.field static final golden_ratio D
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 24
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:31:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:31:56 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,161 |
ArithmeticSlices | /**
* A sequence of number is called arithmetic if it consists of at least three elements and if the
* difference between any two consecutive elements is the same.
*
* <p>For example, these are arithmetic sequence: 1, 3, 5, 7, 9 7, 7, 7, 7 3, -1, -5, -9
*
* <p>The following sequence is not arithmetic. 1, 1, 2, 5,... | .version 52 0
.class public super ArithmeticSlices
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 30
.end linenumbertable
.end ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:18:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:18:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,162 |
SocksConstants | /*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2022 DBeaver Corp and others
*
* 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/LICE... | .version 52 0
.class public super SocksConstants
.super java/lang/Object
.field public static final DEFAULT_SOCKS_PORT I = 1080
.field public static final SOCKET_SCHEME Ljava/lang/String; = 'socket'
.field public static final PROP_HOST Ljava/lang/String; = 'socks-host'
.field public static final PROP_PORT Ljava/l... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:59:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 14:59:10 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,163 |
SVDlibcCustomizer | /*
* This file is part of JaTeCS.
*
* JaTeCS 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.
*
* JaTeCS is distributed in the h... | .version 52 0
.class public super SVDlibcCustomizer
.super java/lang/Object
.field private _SVDlibcPath Ljava/lang/String;
.field private _k I
.field private _useFrequencies Z
.field private _verbose Z
.method public <init> : (Ljava/lang/String;I)V
.code stack 2 locals 3
L0: aload_0
L1: invokespe... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:24:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 03:24:58 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,164 |
StressTest01 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... | .version 52 0
.class super StressTest01
.super java/lang/Object
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 18
.end linenumbertable
.end code
.end method ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 15:56:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 15:56:32 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,165 |
SettingActivityControl | /**
* @author: Larry Pham.
* @since: 3/24/2014.
* @version: 2014.03.24.
*/
public class SettingActivityControl {}
| .version 52 0
.class public super SettingActivityControl
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 8
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:01:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:01:10 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,166 |
CustomClassLoader | /*
* http://ryred.co/
* ace[at]ac3-servers.eu
*
* =================================================================
*
* Copyright (c) 2015, Cory Redmond
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condi... | .version 52 0
.class public super CustomClassLoader
.super java/lang/ClassLoader
.field private final classData [B
.method public <init> : (Ljava/lang/ClassLoader;[B)V
.code stack 2 locals 3
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/ClassLoader <init> (Ljava/lang/ClassLoader;)V... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:40:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 14:40:36 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,167 |
Section | import java.util.ArrayList;
/** To store the different sections in the resume */
public class Section {
private String type;
private ArrayList<String> lines;
private int lineCount;
public Section(String type, ArrayList<String> lines, int num) {
this.type = type;
this.lines = new ArrayList<>(lines);
... | .version 52 0
.class public super Section
.super java/lang/Object
.field private type Ljava/lang/String;
.field private lines Ljava/util/ArrayList; .fieldattributes
.signature Ljava/util/ArrayList<Ljava/lang/String;>;
.end fieldattributes
.field private lineCount I
.method public <init> : (Ljava/lang/Strin... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:15:57 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.ArrayList;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:15:57 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,168 |
SqlPlaceholderParserConfig | /**
* Copyright (C) 2012 the original author or authors.
*
* <p>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
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required by a... | .version 52 0
.class public super SqlPlaceholderParserConfig
.super java/lang/Object
.field private final stripNewLines Z
.field public static final DEFAULT LSqlPlaceholderParserConfig;
.method public <init> : (Z)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:55:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 16:55:20 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,169 |
NoConsumerToScheduleException | /*******************************************************************************
* Copyright © 2012-2015 eBay Software Foundation
* This program is dual licensed under the MIT and Apache 2.0 licenses.
* Please see LICENSE for more information.
*********************************************************************... | .version 52 0
.class public super NoConsumerToScheduleException
.super java/lang/Exception
.field private static final serialVersionUID J = 1L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:13:00 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:13:00 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,170 |
SQLGeneratorLoadException | /*
* #%L
* Protempa Commons Backend Provider
* %%
* Copyright (C) 2012 - 2013 Emory University
* %%
* 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/lice... | .version 52 0
.class public super SQLGeneratorLoadException
.super java/lang/Exception
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 28
L4 29
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:41:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:41:48 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,171 |
Place | import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* @author Alexandre Lima
*/
public class Place {
private final String id;
private final Map<String, Place> actionPlaceMap = new HashMap<>();
private final boolean terminal;
public Place(String id, boolean ... | .version 52 0
.class public super Place
.super java/lang/Object
.field private final id Ljava/lang/String;
.field private final actionPlaceMap Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/String;LPlace;>;
.end fieldattributes
.field private final terminal Z
.method public <init> : ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:37:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:37:10 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,172 |
CountrySpecification | /*
* Copyright (C) 2013-2017 microG Project Team
*
* 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 ... | .version 52 0
.class public super CountrySpecification
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 19
.end linenumbertable
.... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:04:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 07:04:21 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,173 |
CryptoUtil | /*
* Copyright (c) 2016
*
* This file, CryptoUtil.java, is apart of GeniPass.
*
* GeniPass 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 versio... | .version 52 0
.class public super CryptoUtil
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 18
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:39:37 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 06:39:37 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,174 |
QuickSort | import java.util.Random;
public class QuickSort {
public static final int ASCENT = 0;
public static final int DESCENT = 1;
public int[] sort(int[] data, int order) {
int low = 0;
int high = data.length;
Random random = new Random(System.currentTimeMillis());
quickSort(data, low, high - 1, orde... | .version 52 0
.class public super QuickSort
.super java/lang/Object
.field public static final ASCENT I = 0
.field public static final DESCENT I = 1
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 15:44:24 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 15:44:24 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,175 |
TraClusConfig | public class TraClusConfig {
public static final double CONNECTABLE_DISTANCE = 5.0;
public static final int MDL_COST_ADVANTAGE = 5;
public static final double MIN_LINESEGMENT_LENGTH = 50.0;
public static final int UNCLASSIFIED = -2;
public static final int NOISE = -1;
private int nDimensions;
private... | .version 52 0
.class public super TraClusConfig
.super java/lang/Object
.field public static final CONNECTABLE_DISTANCE D = +5.0
.field public static final MDL_COST_ADVANTAGE I = 5
.field public static final MIN_LINESEGMENT_LENGTH D = +50.0
.field public static final UNCLASSIFIED I = -2
.field public static fina... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:30:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:30:16 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,176 |
Maven | import java.io.BufferedReader;
import java.io.File;
import java.io.InputStreamReader;
import java.io.PrintStream;
public class Maven {
private final String path;
Maven(String path) {
this.path = path;
}
void run(String command, PrintStream out) {
try {
Process p = Runtime.getRuntime().exec(com... | .version 52 0
.class public super Maven
.super java/lang/Object
.field private final path Ljava/lang/String;
.method <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_1
L6: putfield Field Maven ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 02:39:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.PrintStream;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 02:39:34 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,177 |
PluginTransformationException | /**
* Generic wrapper exception for all exceptions thrown during plugin transformation
*
* @since 0.1
*/
public class PluginTransformationException extends RuntimeException {
public PluginTransformationException() {}
public PluginTransformationException(String s) {
super(s);
}
public PluginTransforma... | .version 52 0
.class public super PluginTransformationException
.super java/lang/RuntimeException
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
L5:
.linenumbertable
L0 10
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:50:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:50:48 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,178 |
Production8993 | public class Production8993 {
private String property0;
public String getProperty0() {
return property0;
}
public void setProperty0(String value) {
property0 = value;
}
private String property1;
public String getProperty1() {
return property1;
}
public void setProperty1(String value)... | .version 52 0
.class public super Production8993
.super java/lang/Object
.field private property0 Ljava/lang/String;
.field private property1 Ljava/lang/String;
.field private property2 Ljava/lang/String;
.field private property3 Ljava/lang/String;
.field private property4 Ljava/lang/String;
.field private prop... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:12:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:12:52 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,179 |
UserStatusItem | import java.io.Serializable;
/** Created by mayee on 15/9/20. */
public class UserStatusItem implements Serializable {
private String code;
private String text;
private String defText;
private String note;
private String labelClass;
private boolean selected;
private boolean view;
public UserStatusIte... | .version 52 0
.class public super UserStatusItem
.super java/lang/Object
.implements java/io/Serializable
.field private code Ljava/lang/String;
.field private text Ljava/lang/String;
.field private defText Ljava/lang/String;
.field private note Ljava/lang/String;
.field private labelClass Ljava/lang/String;
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:49:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:49:49 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,180 |
DummyServerSocket | /*
* This file is part of DrFTPD, Distributed FTP Daemon.
*
* DrFTPD 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.
*
* DrFTPD... | .version 52 0
.class public super DummyServerSocket
.super java/net/ServerSocket
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: ldc 65535
L3: invokespecial Method java/net/ServerSocket <init> (I)V
L6: return
L7:
.linenumbertable
L0 32
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:31:30 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.net.InetAddress;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.net.MockInetAd... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:31:30 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,181 |
SimpleServer | import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.ServerSocket;
import java.net.Socket;
public class SimpleServer {
private ServerSocket server;
private Socket socket;
private InputStream is;
private OutputStream os;
public SimpleServer(int serverPort) thro... | .version 52 0
.class public super SimpleServer
.super java/lang/Object
.field private server Ljava/net/ServerSocket;
.field private socket Ljava/net/Socket;
.field private is Ljava/io/InputStream;
.field private os Ljava/io/OutputStream;
.method public <init> : (I)V
.code stack 4 locals 2
L0: aload_0 ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:16:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.testdata.EvoSuiteLocalAddress;
import org.evosuite.ru... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:16:45 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,182 |
Sticker | /*
* Copyright (C) 2015 Actor LLC. <https://actor.im>
*/
/** Created by Jesus Christ. Amen. */
public class Sticker {
private final String stickerId;
private final String packId;
public Sticker(String stickerId, String packId) {
this.stickerId = stickerId;
this.packId = packId;
}
public String ge... | .version 52 0
.class public super Sticker
.super java/lang/Object
.field private final stickerId Ljava/lang/String;
.field private final packId Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Ob... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:27:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 11:27:21 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,183 |
Main | /*
* Copyright (C) 2016 Intel Corporation
*
* 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... | .version 52 0
.class super Main
.super java/lang/Object
.field static final iterations I = 10
.field static thingiesArray [S
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:53:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 01:53:44 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,184 |
Dish | /**
* Represents a dish object.
*
* @author Faith Chia
*/
public class Dish {
private String dishName;
private float dishPrice;
private String dishDescription;
private int dishID;
// constructor
public Dish(String dishName, float dishPrice, String dishDescription, int dishID) {
this.dishName = di... | .version 52 0
.class public super Dish
.super java/lang/Object
.field private dishName Ljava/lang/String;
.field private dishPrice F
.field private dishDescription Ljava/lang/String;
.field private dishID I
.method public <init> : (Ljava/lang/String;FLjava/lang/String;I)V
.code stack 2 locals 5
L0: al... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:06:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 20:06:49 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,185 |
BuildOptionsUtil | // Copyright 2014 The Bazel Authors. 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 appl... | .version 52 0
.class public super BuildOptionsUtil
.super java/lang/Object
.field public static final DEFAULT_OPTIONS_NAME Ljava/lang/String; = 'Debug'
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:18:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:18:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 135,186 |
DataStore | import java.sql.Timestamp;
public class DataStore {
Timestamp timestamp;
int sequence;
int write_index;
int read_index;
String buf0;
String buf1;
public void DataStore() {
write_index = 0;
read_index = 1;
sequence = 0;
}
public void write(String input) {
sequence++;
timestamp = ... | .version 52 0
.class public super DataStore
.super java/lang/Object
.field timestamp Ljava/sql/Timestamp;
.field sequence I
.field write_index I
.field read_index I
.field buf0 Ljava/lang/String;
.field buf1 Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: i... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:06:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:06:08 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,187 |
Item | /** Created by caik on 2017/7/30. */
public class Item {
private int iconRes;
private int titleRes;
public Item(int iconRes, int titleRes) {
this.iconRes = iconRes;
this.titleRes = titleRes;
}
public int getIconRes() {
return iconRes;
}
public void setIconRes(int iconRes) {
this.iconRes... | .version 52 0
.class public super Item
.super java/lang/Object
.field private iconRes I
.field private titleRes I
.method public <init> : (II)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
L6: putfield Field Item icon... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:23:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:23:18 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,188 |
ThreadDumpFilter | /*
* Copyright 2004-2014 H2 Group. Multiple-Licensed under the MPL 2.0,
* and the EPL 1.0 (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
import java.io.InputStreamReader;
import java.io.LineNumberReader;
/** Filter full thread dumps from a log file. */
public class ThreadDumpFilter {
... | .version 52 0
.class public super ThreadDumpFilter
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 14
.end linenumbertable
.end ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:22:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.IOException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
i... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 21:22:56 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,189 |
MacroException | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... | .version 52 0
.class public super MacroException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;)V
L5: return
L6:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:49:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:49:44 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,190 |
Info | import java.util.Objects;
public class Info {
private int countAddedUsers;
private int countChangedUsers;
private int countDeletedUsers;
Info(int countAddedUsers, int countChangedUsers, int countDeletedUsers) {
this.countAddedUsers = countAddedUsers;
this.countChangedUsers = countChangedUsers;
th... | .version 52 0
.class public super Info
.super java/lang/Object
.field private countAddedUsers I
.field private countChangedUsers I
.field private countDeletedUsers I
.method <init> : (III)V
.code stack 2 locals 4
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:07:59 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:07:59 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,191 |
Task0913done | import java.io.FileNotFoundException;
import java.net.URISyntaxException;
/*
Есть метод, который выбрасывает два исключения, унаследованные от Exception, и два унаследованных от RuntimeException:
NullPointerException, ArithmeticException, FileNotFoundException, URISyntaxException.
Нужно перехватить NullPointerExcepti... | .version 52 0
.class public super Task0913done
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 23
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:54:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.FileNotFoundException;
import java.net.URISyntaxException;
import org.evosuite.runtime.EvoRunner;
impo... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 09:54:18 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,192 |
Message | import java.text.SimpleDateFormat;
import java.util.Date;
/** Created by mremondi on 2/25/17. */
public class Message {
public String message;
public String origin;
public String dtime;
public Message() {}
public Message(String message, String sender) {
this.message = message;
this.origin = sender;... | .version 52 0
.class public super Message
.super java/lang/Object
.field public message Ljava/lang/String;
.field public origin Ljava/lang/String;
.field public dtime Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:09:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 11:09:05 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,193 |
TimeContainer | import java.sql.Connection;
import java.sql.SQLException;
public class TimeContainer {
private final long timeout;
private Connection object = null;
private long delta = 0;
public TimeContainer(long timeout) {
this.timeout = timeout;
}
public void touch() {
this.delta = System.currentTimeMillis... | .version 52 0
.class public super TimeContainer
.super java/lang/Object
.field private final timeout J
.field private object Ljava/sql/Connection;
.field private delta J
.method public <init> : (J)V
.code stack 3 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: al... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:58:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.sql.Connection;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 21:58:17 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,194 |
loopy | public class loopy {
public static void main(String[] args) {
// TODO Auto-generated method stub
// while
int x = 1;
while (x < 9) {
System.out.println("Value of x is: " + x);
x = x + 1;
}
}
}
| .version 52 0
.class public super loopy
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:47:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 14:47:06 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,195 |
AuthoritiesConstants | public final class AuthoritiesConstants {
public static final String ADMIN = "ROLE_ADMIN";
public static final String USER = "ROLE_USER";
public static final String ANONYMOUS = "ROLE_ANONYMOUS";
private AuthoritiesConstants() {}
}
| .version 52 0
.class public final super AuthoritiesConstants
.super java/lang/Object
.field public static final ADMIN Ljava/lang/String; = 'ROLE_ADMIN'
.field public static final USER Ljava/lang/String; = 'ROLE_USER'
.field public static final ANONYMOUS Ljava/lang/String; = 'ROLE_ANONYMOUS'
.method private <init... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:42:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 11:42:09 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 135,196 |
Picture | //
// DO NOT MODIFY!!! This file was machine generated. DO NOT MODIFY!!!
//
// Copyright (c) 2014 Vincent W. Chen.
//
// This file is part of XJavaB.
//
// XJavaB is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software F... | .version 52 0
.class public final super Picture
.super java/lang/Object
.field public static final NONE B = 0
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 26
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:35:04 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 01:35:04 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,197 |
IterableUtil | import java.util.Collection;
import java.util.List;
// TODO document & test
public class IterableUtil {
// ***************************************************************************
// Public utility methods
// ***************************************************************************
public static int sizeO... | .version 52 0
.class public super IterableUtil
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:13:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.LinkedList;
impor... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 15:13:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,198 |
GridPosition | /*
* Swift Parallel Scripting Language (http://swift-lang.org)
* Code from Java CoG Kit Project (see notice below) with modifications.
*
* Copyright 2005-2014 University of Chicago
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Licens... | .version 52 0
.class public super GridPosition
.super java/lang/Object
.field private row I
.field private col I
.method public <init> : (II)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
L6: putfield Field GridPositi... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:03:27 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:03:27 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 135,199 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.