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 |
|---|---|---|---|---|---|
SingleNumber2 | public class SingleNumber2 {
public int singleNumber(int[] A) {
if (A.length == 0 || A == null) return 0;
int[] cnt = new int[32];
for (int i = 0; i < A.length; i++) {
for (int j = 0; j < 32; j++) {
if ((A[i] >> j & 1) == 1) {
cnt[j]++;
}
}
}
int res = 0;
... | .version 52 0
.class public super SingleNumber2
.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... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:53:28 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 12:53: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,000 |
ImpossibleSimplificationException | public class ImpossibleSimplificationException extends RuntimeException {
private static final long serialVersionUID = 1L;
public ImpossibleSimplificationException() {}
public ImpossibleSimplificationException(String arg0) {
super(arg0);
}
public ImpossibleSimplificationException(Throwable arg0) {
... | .version 52 0
.class public super ImpossibleSimplificationException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = 1L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
L5:... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:06:44 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
* Sun Jul 03 17:06: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,001 |
LifetimeExceededException | /*
* 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 super LifetimeExceededException
.super java/lang/Exception
.field private static final serialVersionUID J = -3783783104516492659L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:19: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 03:19: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,002 |
ContainerConfigException | /*
* 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 public super ContainerConfigException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;Ljava/lang/Throwable;)V
.code stack 3 locals 3
L0: aload_0
L1: aload_1
L2: aload_2
L3: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;Ljava/la... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:59:11 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:59: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,003 |
AuthResponse | import java.io.Serializable;
public class AuthResponse implements Serializable {
private String access_token;
private String refresh_token;
private String token_type;
private int expires_in;
private String error;
public String getAccess_token() {
return access_token;
}
public String getRefresh_to... | .version 52 0
.class public super AuthResponse
.super java/lang/Object
.implements java/io/Serializable
.field private access_token Ljava/lang/String;
.field private refresh_token Ljava/lang/String;
.field private token_type Ljava/lang/String;
.field private expires_in I
.field private error Ljava/lang/String; ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:24:42 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 15:24:42 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,004 |
Content | import java.util.List;
/** Created by marc on 17-4-22. */
public class Content {
/**
* body : <div class="main-wrap content-wrap"> <div class="headline">
*
* <p><div class="img-place-holder"></div>
*
* <p></div>
*
* <p><div class="content-inner">
*
* <p><div class="question">
*
* <h... | .version 52 0
.class public super Content
.super java/lang/Object
.field private body Ljava/lang/String;
.field private image_source Ljava/lang/String;
.field private title Ljava/lang/String;
.field private image Ljava/lang/String;
.field private share_url Ljava/lang/String;
.field private ga_prefix Ljava/lang/... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:48:06 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
* Sat Jul 02 20:48: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,005 |
GridSheetSelectionInterval | /*
* Copyright 2016 kohii
*
* 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, s... | .version 52 0
.class public super GridSheetSelectionInterval
.super java/lang/Object
.field from I
.field to 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 GridSheetSel... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:06: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
* Mon Jul 04 11:06: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,006 |
Production8034 | public class Production8034 {
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 Production8034
.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
* Sat Jul 02 06:12: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 06:12: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,007 |
Counter | public class Counter {
private int value;
public Counter() {
this.value = 0;
}
public int get() {
return value;
}
public void set(int value) {
this.value = value;
}
@Override
public String toString() {
return Integer.toString(this.value);
}
}
| .version 52 0
.class public super Counter
.super java/lang/Object
.field private value 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_0
L6: putfield Field Counter value I
L9: return
L10... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:24: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 20:24: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,008 |
StoredQueryDescription | /*
* Copyright 2015 52°North Initiative for Geospatial Open Source
* Software GmbH
*
* This program 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.
*
* If the program is linked with libraries... | .version 52 0
.class public super StoredQueryDescription
.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 39
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:21:29 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:21: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,009 |
PluginModifier | import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.DataInputStream;
import java.io.FileInputStream;
import java.io.FileWriter;
import java.io.InputStreamReader;
public class PluginModifier {
private String filePath = "./WebContent/Pages/ImportPluginList.jsp";
public void addPluginImportP... | .version 52 0
.class public super PluginModifier
.super java/lang/Object
.field private filePath Ljava/lang/String;
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: ldc './WebContent/Pages/ImportPluginList.j... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:36:42 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 13:36:42 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,010 |
ContentNotSavedException | /*
* Part of the CCNx Java Library.
*
* Copyright (C) 2008, 2009 Palo Alto Research Center, Inc.
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License version 2.1
* as published by the Free Software Foundation.
* This library is di... | .version 52 0
.class public super ContentNotSavedException
.super java/io/IOException
.field private static final serialVersionUID J = -7882656440295361498L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/io/IOException <init> ()V
L4: return
L5: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:06: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
* Mon Jul 04 07:06: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,011 |
Collections | import java.util.Arrays;
import java.util.List;
/** Created by kraja on 2017-06-20. */
public class Collections {
public static void main(String[] args) {
String[] langs = {"Java", "C#", "Python", "PHP"};
List<String> languages = Arrays.asList("Java 8", "C#", "Python 3", "PHP 8");
for (String l : langu... | .version 52 0
.class public super Collections
.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 10
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:02: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 09:02: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,012 |
PlayerInfo | /**
* Player information that is returned by the player query.
*
* <p>Any numerical values are set to <code>-9999</code> by default. If the value is still <code>
* -9999</code> after the query it means that no such value was returned; for example <i>kills</i>
* are the only value returned on a Halflife query, so <... | .version 52 0
.class public super PlayerInfo
.super java/lang/Object
.field private name Ljava/lang/String;
.field private kills I
.field private deaths I
.field private score I
.field private objectivesCompleted I
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:12: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 02:12: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,013 |
DataCenter | import java.util.HashMap;
/** Created by zzhoujay on 2015/8/28 0028. */
public class DataCenter {
public HashMap<String, Object> datas;
private static DataCenter dataCenter;
private DataCenter() {
datas = new HashMap<>();
}
public static DataCenter getInstance() {
if (dataCenter == null) {
... | .version 52 0
.class public super DataCenter
.super java/lang/Object
.field public datas Ljava/util/HashMap; .fieldattributes
.signature Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;
.end fieldattributes
.field private static dataCenter LDataCenter;
.method private <init> : ()V
.code stack ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:15:25 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:15: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,014 |
Book | /**
* Created on 2018-06-27
*
* @author liuzhaoyuan
*/
public class Book {
private String name;
private int price;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getPrice() {
return price;
}
public void setPrice(int price... | .version 52 0
.class public super Book
.super java/lang/Object
.field private name Ljava/lang/String;
.field private price 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
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:54: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
* Sat Jul 02 21:54: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,015 |
CloudNoAvailablePrimaryStorageException | public class CloudNoAvailablePrimaryStorageException extends Exception {
public CloudNoAvailablePrimaryStorageException(String msg) {
super(msg);
}
public CloudNoAvailablePrimaryStorageException(String msg, Throwable t) {
super(msg, t);
}
}
| .version 52 0
.class public super CloudNoAvailablePrimaryStorageException
.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:
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:28: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
* Sat Jul 02 02:28: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,016 |
PS3Mac | /*
* @(#)PS3Mac.java 0.2 14/2/5
*
* Copyright 2014, MAGIC Spell Studios, LLC
*/
/*
* The key mappings for a PS3 controller on Mac
*
* @version 0.2 14/2/5
* @author JD Kelly
*/
public final class PS3Mac {
public static final int X = 14;
public static final int SQUARE = 15;
public static final int TRIANG... | .version 52 0
.class public final super PS3Mac
.super java/lang/Object
.field public static final X I = 14
.field public static final SQUARE I = 15
.field public static final TRIANGLE I = 12
.field public static final CIRCLE I = 13
.field public static final DU I = 4
.field public static final DD I = 6
.field ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:02:43 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 16:02:43 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,017 |
GrokException | /*
* Copyright 2014 American Institute for Computing Education and Research 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unl... | .version 52 0
.class public super GrokException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = -1138511096189746111L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
L5: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:00:23 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 01:00: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,018 |
WheelEncoder | public class WheelEncoder {
/** maximum value for tick increment */
public static final int MAXIMUM = 32767;
/** minimum value for tick increment */
public static final int MINIMUM = -32768;
/** minimum value for speed */
public static final int MAXIMUM_SPEED = 130;
/** maximum value for speed */
pub... | .version 52 0
.class public super WheelEncoder
.super java/lang/Object
.field public static final MAXIMUM I = 32767
.field public static final MINIMUM I = -32768
.field public static final MAXIMUM_SPEED I = 130
.field public static final MINIMUM_SPEED I = -130
.method public <init> : ()V
.code stack 1 loca... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:27:35 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 22:27:35 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,019 |
CustomerContextHolder | /**
* @author YZJ
*/
public class CustomerContextHolder {
private static final ThreadLocal contextHolder = new ThreadLocal();
public static void setCustomerType(String customerType) {
contextHolder.set(customerType);
}
public static String getCustomerType() {
return (String) contextHolder.get();
... | .version 52 0
.class public super CustomerContextHolder
.super java/lang/Object
.field private static final contextHolder Ljava/lang/ThreadLocal;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.lin... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:06: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
* Sun Jul 03 19:06: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,020 |
SamplePojo | /**
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may not... | .version 52 0
.class public super SamplePojo
.super java/lang/Object
.implements java/io/Serializable
.field private name Ljava/lang/String;
.field private city Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:06: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 07:06: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,021 |
ChatMessageSentStatus | /** ±¾µØÁÄÌìÏûÏ¢µÄ·¢ËÍ״̬ */
public class ChatMessageSentStatus {
/** ÏûÏ¢ÕýÔÚ·¢ËÍÖУ¬»òÕßͼƬÕýÔÚÉÏ´«ÖУ¬´Ëʱ»áÓнø¶È״̬ */
public static final int SENT_SENDING = 0;
/** ÏûÏ¢·¢ËÍʧ°Ü£¬´ËʱÏûÏ¢»áÏÔʾºìÉ«Ìáʾ */
public static final int SENT_FAILED = 1;
/** ÏûÏ¢·¢Ëͳɹ¦£¬¶Ô·½·¢¹ýÀ´µÄÏûϢĬÈÏÊÇSENT_OK״̬±£´æ ... | .version 52 0
.class public super ChatMessageSentStatus
.super java/lang/Object
.field public static final SENT_SENDING I = 0
.field public static final SENT_FAILED I = 1
.field public static final SENT_OK I = 2
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Metho... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:39: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 14:39: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,022 |
Solution | // https://www.hackerrank.com/challenges/little-gaurav-and-sequence
import java.io.*;
public class Solution {
private static final byte MOD = 10;
public static void main(String[] args) throws IOException {
final StringBuffer sb = new StringBuffer();
// INPUT
final BufferedReader br = new BufferedRea... | .version 52 0
.class public super Solution
.super java/lang/Object
.field private static final MOD B = 10
.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
* Fri Jul 01 04:42:16 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
* Fri Jul 01 04:42: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,023 |
CommonUtils | /**
* @author <a href=mailto:lazy_p@163.com>lazyp</a>
* @date 2015-01-12
*/
@Deprecated
public final class CommonUtils {
/**
* 首字母大写
*
* @param str
* @return
*/
public static String strFirstCharToUppercase(String str) {
if (str == null || "".equals(str.trim())) {
return "";
}
ret... | .version 52 0
.class public final super CommonUtils
.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 ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:23: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
* Mon Jul 04 15:23: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,024 |
Figur | // Oberklasse f�r Monster und Spieler
public class Figur {
// Attribute
int ID;
int Gesundheit;
int MaxGesundheit;
int Schaden;
int posx, posy;
// Getter und Setter
public void setPos(int x, int y) {
this.posx = x;
this.posy = y;
}
public int getPosY() {
return posy;
}
public int... | .version 52 0
.class public super Figur
.super java/lang/Object
.field ID I
.field Gesundheit I
.field MaxGesundheit I
.field Schaden I
.field posx I
.field posy I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:30: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
* Sun Jul 03 16:30: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,025 |
Production6780 | public class Production6780 {
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 Production6780
.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:39: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 01:39: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,026 |
Model | public class Model {}
| .version 52 0
.class public super Model
.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 13:23: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 13:23: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,027 |
FormattingTuple | /*
* Copyright 2019 VMware, 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | .version 52 0
.class final super FormattingTuple
.super java/lang/Object
.field private final message Ljava/lang/String;
.field private final throwable Ljava/lang/Throwable;
.method <init> : (Ljava/lang/String;Ljava/lang/Throwable;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:21:34 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
* Mon Jul 04 01:21: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,028 |
JobConfig | /*
* Copyright (c) 2016. Sten Martinez
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is dis... | .version 52 0
.class public super JobConfig
.super java/lang/Object
.field id J
.field jobName Ljava/lang/String;
.field jobFrequency Ljava/lang/String;
.field frequencyConfig Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Obje... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:42: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
* Sat Jul 02 15:42: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,029 |
Solution | /*
* @lc app=leetcode id=861 lang=java
*
* [861] Score After Flipping Matrix
*
* https://leetcode.com/problems/score-after-flipping-matrix/description/
*
* algorithms
* Medium (73.32%)
* Total Accepted: 24.1K
* Total Submissions: 32.9K
* Testcase Example: '[[0,0,1,1],[1,0,1,0],[1,1,0,0]]'
*
* We have a... | .version 52 0
.class super Solution
.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 51
.end linenumbertable
.end code
.end method
.m... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:00: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 10:00: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,030 |
InetAddressUtility | import java.net.InetAddress;
import java.net.NetworkInterface;
import java.net.SocketException;
import java.net.UnknownHostException;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* @author Yuriy Movchan Date: 05/20/2015
*/
public final class InetAddressUtility {
private static Pattern VALID... | .version 52 0
.class public final super InetAddressUtility
.super java/lang/Object
.field private static VALID_IPV4_PATTERN Ljava/util/regex/Pattern;
.field private static VALID_IPV6_PATTERN Ljava/util/regex/Pattern;
.field private static final IPV4_PATTERN Ljava/lang/String; = '(([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:52:57 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:52: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,031 |
YilgarnObservationRecord | /**
* Represents a view of an om:Observation feature type as used in the Yilgarn Laterite geochemistry
* sa:LocatedSpecimen feature
*/
public class YilgarnObservationRecord {
/** The service name. */
private String serviceName;
/** The date. */
private String date;
/** The observed mineral name. */
pr... | .version 52 0
.class public super YilgarnObservationRecord
.super java/lang/Object
.field private serviceName Ljava/lang/String;
.field private date Ljava/lang/String;
.field private observedMineralName Ljava/lang/String;
.field private preparationDetails Ljava/lang/String;
.field private labDetails Ljava/lang/S... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:45: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
* Sat Jul 02 21:45: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,032 |
ImmutableOutputStream | /*
* 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 public super ImmutableOutputStream
.super java/io/OutputStream
.field private destination Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/io/OutputStream <init> ()V
L4: aload_0
L5: aload_... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:07:41 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
* Mon Jul 04 14:07:41 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,033 |
ContarChar | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.Locale;
import java.util.StringTokenizer;
public class ContarChar {
static BufferedReader input;
static StringTokenizer _stk;
static String readln() throws IOException {
St... | .version 52 0
.class public super ContarChar
.super java/lang/Object
.field static input Ljava/io/BufferedReader;
.field static _stk Ljava/util/StringTokenizer;
.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 08:51:43 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 08:51:43 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,034 |
ToStringExplicitInclude | class ToStringExplicitInclude {
int x;
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "ToStringExplicitInclude()";
}
}
| .version 52 0
.class super ToStringExplicitInclude
.super java/lang/Object
.field x I
.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
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:21: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 02:21: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,035 |
HumanTraffickingFormRow | /*
* Copyright 2016 SEARCH-The National Consortium for Justice Information and Statistics
*
* 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-... | .version 52 0
.class public super HumanTraffickingFormRow
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = -8439219265321448834L
.field private reportedOffenses I
.field private unfoundedOffenses I
.field private actualOffenses I
.field private clearedOff... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:11: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
* Sat Jul 02 18:11: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,036 |
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 02:19: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 02:19: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,037 |
Order | import java.sql.Timestamp;
/** Created by liuxianghong on 16/11/24. */
public class Order {
private int id;
private String name;
public String getFormat() {
return format;
}
public void setFormat(String format) {
this.format = format;
}
private String format;
private String code;
private i... | .version 52 0
.class public super Order
.super java/lang/Object
.field private id I
.field private name Ljava/lang/String;
.field private format Ljava/lang/String;
.field private code Ljava/lang/String;
.field private number I
.field private site Ljava/lang/String;
.field private time Ljava/sql/Timestamp;
.fi... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:46:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.sql.Timestamp;
import java.time.Instant;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 18:46: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,038 |
FossasiaUrls | /** Created by Abhishek on 17/02/15. */
public class FossasiaUrls {
public static final String TRACKS_URL =
"https://docs.google.com/spreadsheets/d/1tt6LXrnc_onSZEbAzzA0bZiq_mtPFNHE8a8P5a6T-tQ/gviz/tq?gid=949380789";
public static final String PART_URL =
"https://docs.google.com/spreadsheets/d/1tt6LXrn... | .version 52 0
.class public super FossasiaUrls
.super java/lang/Object
.field public static final TRACKS_URL Ljava/lang/String; = 'https://docs.google.com/spreadsheets/d/1tt6LXrnc_onSZEbAzzA0bZiq_mtPFNHE8a8P5a6T-tQ/gviz/tq?gid=949380789'
.field public static final PART_URL Ljava/lang/String; = 'https://docs.google.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:51: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 00:51: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,039 |
LdapServerInventory | public class LdapServerInventory {
public java.lang.String uuid;
public void setUuid(java.lang.String uuid) {
this.uuid = uuid;
}
public java.lang.String getUuid() {
return this.uuid;
}
public java.lang.String name;
public void setName(java.lang.String name) {
this.name = name;
}
pub... | .version 52 0
.class public super LdapServerInventory
.super java/lang/Object
.field public uuid Ljava/lang/String;
.field public name Ljava/lang/String;
.field public description Ljava/lang/String;
.field public url Ljava/lang/String;
.field public base Ljava/lang/String;
.field public username Ljava/lang/Stri... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:53:04 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.sql.Timestamp;
import java.time.Instant;
import java.time.temporal.ChronoUnit;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerPa... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 09:53: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,040 |
Emoji | /*
* Copyright 2016 - 2017 Ed Venaglia
*
* 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 Emoji
.super java/lang/Object
.field private final id Ljava/lang/String;
.field private final image Ljava/awt/image/BufferedImage;
.field private final string Ljava/lang/String;
.field static final synthetic $assertionsDisabled Z
.method public <init> : (Ljava/lang/String;Ljava... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:01:55 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.awt.image.BufferedImage;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerPara... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 07:01: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,041 |
User | public class User {
private String name;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}
| .version 52 0
.class public super User
.super java/lang/Object
.field private name 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
.end... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:15: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
* Sun Jul 03 19:15: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,042 |
Post | public class Post {
String title;
String content;
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
}
| .version 52 0
.class public super Post
.super java/lang/Object
.field title Ljava/lang/String;
.field content 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
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:26: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 11:26: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,043 |
StringComparator | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
import java.io.Serializable;
import java.util.Comparator;
import java.util.Locale;... | .version 52 0
.class public super StringComparator
.super java/lang/Object
.implements java/util/Comparator
.implements java/io/Serializable
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenum... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:17: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
* Mon Jul 04 02:17: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,044 |
StringIterable | import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.LineNumberReader;
import java.io.Reader;
import java.io.StringReader;
import java.util.ArrayList;
import java.util.Collection;
im... | .version 52 0
.class public super StringIterable
.super java/lang/Object
.implements java/lang/Iterable
.field private final reader Ljava/io/Reader;
.method private <init> : (Ljava/io/Reader;)V
.code stack 4 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0 ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:54:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.ByteArrayInputStream;
import java.io.DataInputStream;
import java.io.File;
import java.io.InputStream;... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:54: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,045 |
TypePrimitiveTestEx1 | public class TypePrimitiveTestEx1 {
public static void main(String[] args) {
// TODO Auto-generated method stub
int number;
number = 6;
System.out.println("number = " + number);
}
}
| .version 52 0
.class public super TypePrimitiveTestEx1
.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
.e... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:00: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
* Sun Jul 03 20:00: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,046 |
Statement | public class Statement {
public short instruction;
public short[] parameter = new short[3];
public static int SIZEOF = 2 * 4;
}
| .version 52 0
.class public super Statement
.super java/lang/Object
.field public instruction S
.field public parameter [S
.field public static SIZEOF 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: ico... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:04:11 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: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,047 |
DBStop2 | /*
CREATE TABLE STOP2
(
SINGLE_NAME VARCHAR2(5 BYTE) NOT NULL,
STATION_ID NUMBER(4) NOT NULL,
ARRIVE_TIME VARCHAR2(5 BYTE),
LEAVE_TIME VARCHAR2(5 BYTE),
DISTANCE NUMBER(4)
)
*/
public class DBStop2 {
public String singleName;
public String stationID;
pu... | .version 52 0
.class public super DBStop2
.super java/lang/Object
.field public singleName Ljava/lang/String;
.field public stationID Ljava/lang/String;
.field public arriveTime Ljava/lang/String;
.field public leaveTime Ljava/lang/String;
.field public distance I
.method public <init> : ()V
.code stack 1... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:17: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
* Sun Jul 03 19:17: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,048 |
ConnectionException | /*
* Copyright 2015 Ben Ashford
*
* 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 ... | .version 52 0
.class public super ConnectionException
.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:
.linenumbertab... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:38:09 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
* Sat Jul 02 06:38: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,049 |
RiotApiUtils | import java.util.stream.Collectors;
import java.util.stream.Stream;
/**
* RiotApiUtilsClass for MasterStats
*
* @author Leon Vack
*/
public class RiotApiUtils {
/**
* converts a list of objects to a comma separated list objects are converted to stings using the
* toString() method
*
* @param es the o... | .version 52 0
.class public super RiotApiUtils
.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... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:29: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
* Sat Jul 02 14:29: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,050 |
ArrayList01 | import java.util.*;
// Leer números enteros y guardarlos en un ArrayList hasta que se lea un 0.
// Muestra los números leídos, su suma y su media.
public class ArrayList01 {
private Scanner leer;
private ArrayList<Integer> numeros;
public static void main(String[] args) {
System.out.println(" -- ArrayList ... | .version 52 0
.class public super ArrayList01
.super java/lang/Object
.field private leer Ljava/util/Scanner;
.field private numeros Ljava/util/ArrayList; .fieldattributes
.signature Ljava/util/ArrayList<Ljava/lang/Integer;>;
.end fieldattributes
.method public <init> : ()V
.code stack 1 locals 1
L0: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:17:09 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
* Mon Jul 04 03:17: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,051 |
Box | import java.awt.*;
/**
*
*
* <h2>What is a Box for the GameBoard2D library ?</h2>
*
* <p>For the GameBoard2D library, a box is a concept. A box represents 2 things, depending of the
* point of view.
*
* <p>First, a box is <b>an area</b> of the board. Those areas are physically viewable in the
* "cache" image ... | .version 52 0
.class public super Box
.super java/lang/Object
.field private point Ljava/awt/Point;
.field private cacheColor Ljava/awt/Color;
.method public <init> : (Ljava/awt/Point;Ljava/awt/Color;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:10:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.awt.Color;
import java.awt.Point;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:10: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,052 |
HandofStraights | import java.util.TreeMap;
/** Why Did you create this class? what does it do? */
public class HandofStraights {
public boolean isNStraightHand(int[] a, int w) {
if (a == null || w < 0) return false;
if (a.length % w != 0) return false;
TreeMap<Integer, Integer> map = new TreeMap<>();
for (int i = 0;... | .version 52 0
.class public super HandofStraights
.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 co... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:55:28 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 18:55: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,053 |
DictValue | //
// This file is auto-generated. Please don't modify it!
//
// C++: class DictValue
// javadoc: DictValue
public class DictValue {
protected final long nativeObj;
protected DictValue(long addr) {
nativeObj = addr;
}
public long getNativeObjAddr() {
return nativeObj;
}
// internal usage only... | .version 52 0
.class public super DictValue
.super java/lang/Object
.field protected final nativeObj J
.method protected <init> : (J)V
.code stack 3 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: lload_1
L6: putfield Field DictValue nativeObj... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:50:35 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 16:50:35 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,054 |
Refueling | import java.util.Date;
public class Refueling implements Comparable {
private Long mId;
private Long mVehicleId;
private Date mDate;
private Double mDistance;
private Double mPrice;
private Double mAmount;
public Refueling(Long id, Long vehicleId) {
mId = id;
mVehicleId = vehicleId;
}
publ... | .version 52 0
.class public super Refueling
.super java/lang/Object
.implements java/lang/Comparable
.field private mId Ljava/lang/Long;
.field private mVehicleId Ljava/lang/Long;
.field private mDate Ljava/util/Date;
.field private mDistance Ljava/lang/Double;
.field private mPrice Ljava/lang/Double;
.field p... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:34:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.time.Clock;
import java.time.Instant;
import java.time.ZoneOffset;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 05:34: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,055 |
ResetClusterParameterGroupResult | /*
* 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 "lice... | .version 52 0
.class public super ResetClusterParameterGroupResult
.super java/lang/Object
.implements java/io/Serializable
.implements java/lang/Cloneable
.field private parameterGroupName Ljava/lang/String;
.field private parameterGroupStatus Ljava/lang/String;
.method public <init> : ()V
.code stack 1 l... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:04: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
* Mon Jul 04 06:04: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,056 |
Timer | /**
* Represent timer for counting general time of program executing.
*
* @author abondarev.
* @since 19.10.2017.
*/
public class Timer implements Runnable {
/** Limit of execution time. */
private long timeLimit;
/**
* The constructor.
*
* @param timeLimit time limit of program execution.
*/
... | .version 52 0
.class public super Timer
.super java/lang/Object
.implements java/lang/Runnable
.field private timeLimit J
.method public <init> : (J)V
.code stack 3 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: lload_1
L6: putfield Field Ti... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:42: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 00:42: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,057 |
PruebaConversionTablas | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* @author dam116
*/
public class PruebaConversionTablas {
public static void main(String[] args) {
String s1 = "prueba";
... | .version 52 0
.class public super PruebaConversionTablas
.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
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:49:35 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:49:35 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,058 |
VisibilityExample1 | public class VisibilityExample1 {
// @ spec_public
private static int MAXHEALTH = 100;
// @ spec_public
private int playerHealth = 100;
// @ requires 0 <= dmg < Integer.MAX_VALUE;
// @ requires 0 < playerHealth;
// @ assigns playerHealth;
public void damage(int dmg) {
if (playerHealth > dmg) {
... | .version 52 0
.class public super VisibilityExample1
.super java/lang/Object
.field private static MAXHEALTH I
.field private playerHealth 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: bipush 100
L7: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:06: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 18:06: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,059 |
CompressorOutputStream | /*
* 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 public super abstract CompressorOutputStream
.super java/io/OutputStream
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/io/OutputStream <init> ()V
L4: return
L5:
.linenumbertable
L0 23
.end lin... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:38: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 00:38:20 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,060 |
Edge | import java.io.Serializable;
/** Created by Sigit on 15/10/2015. */
public class Edge implements Serializable {
private int x;
private int y;
private byte value;
public Edge(int x, int y) {
this.x = x;
this.y = y;
}
public int getX() {
return x;
}
public void setX(int x) {
this.x = ... | .version 52 0
.class public super Edge
.super java/lang/Object
.implements java/io/Serializable
.field private x I
.field private y I
.field private value B
.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: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:47: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 05:47: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,061 |
SkillManager | public class SkillManager {
public String[] skills;
}
| .version 52 0
.class public super SkillManager
.super java/lang/Object
.field public skills [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
* Fri Jul 01 10:36: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 10:36: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,062 |
SoftwareEnvironment | /*
* 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 super SoftwareEnvironment
.super java/lang/Object
.field private variable Ljava/lang/String;
.field private softwareGroupId Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: ret... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:09: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
* Sun Jul 03 23:09: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,063 |
MyPlace | public class MyPlace {
private String namePlace;
private String nameImage;
public MyPlace() {
// TODO Auto-generated constructor stub
}
public MyPlace(String namePlace, String nameImage) {
this.nameImage = nameImage;
this.nameImage = nameImage;
}
public String getNamePlace() {
return na... | .version 52 0
.class public super MyPlace
.super java/lang/Object
.field private namePlace Ljava/lang/String;
.field private nameImage 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
* Fri Jul 01 04:58:22 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:58:22 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,064 |
BucketPolicy | /*
* Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Portions copyright 2006-2009 James Murty. Please see LICENSE.txt
* for applicable license terms and NOTICE.txt for applicable notices.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this f... | .version 52 0
.class public super BucketPolicy
.super java/lang/Object
.field private policyText 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
* Fri Jul 01 10:50: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 10:50: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,065 |
StringDoublePair | ///////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2010 Taesun Moon, The University of Texas at Austin
//
// 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 t... | .version 52 0
.class public super StringDoublePair
.super java/lang/Object
.implements java/lang/Comparable
.field public stringValue Ljava/lang/String;
.field public doubleValue D
.method public <init> : (Ljava/lang/String;D)V
.code stack 3 locals 4
L0: aload_0
L1: invokespecial Method java/lang/... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:20: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
* Fri Jul 01 17:20: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,066 |
ProductForm | public class ProductForm {
private String name;
private String description;
private String price;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getDescription() {
return description;
}
public void setDescription(String d... | .version 52 0
.class public super ProductForm
.super java/lang/Object
.field private name Ljava/lang/String;
.field private description Ljava/lang/String;
.field private price Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Objec... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 12:38:42 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 12:38:42 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,067 |
FileIO | /** Created by Roy on 10/22/2015. */
import java.io.*;
public class FileIO {
public static String f_read(String file) {
try {
File fileDir = new File(file);
BufferedReader br =
new BufferedReader(new InputStreamReader(new FileInputStream(fileDir), "UTF8"));
String text = "";
S... | .version 52 0
.class public super FileIO
.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 00: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
* Sat Jul 02 00: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,068 |
RSAPrivateKeyHolder | import java.security.interfaces.RSAPrivateKey;
public class RSAPrivateKeyHolder {
String keyId;
RSAPrivateKey key;
public RSAPrivateKeyHolder(String keyId, RSAPrivateKey key) {
super();
this.keyId = keyId;
this.key = key;
}
public String getKeyId() {
return keyId;
}
public void setKey... | .version 52 0
.class public super RSAPrivateKeyHolder
.super java/lang/Object
.field keyId Ljava/lang/String;
.field key Ljava/security/interfaces/RSAPrivateKey;
.method public <init> : (Ljava/lang/String;Ljava/security/interfaces/RSAPrivateKey;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecia... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:41:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import java.security.interfaces.RSAPrivateKey;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtim... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:41: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,069 |
UserAlreadyExistsException | /*
* Copyright 2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | .version 52 0
.class public super UserAlreadyExistsException
.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 20
.end linenumber... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:01: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
* Fri Jul 01 22:01: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,070 |
NameReservedException | /*
Copyright 2010 Radu Cernuta
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
distri... | .version 52 0
.class public super NameReservedException
.super java/lang/Exception
.field private static final serialVersionUID J = -2L
.method <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... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:51: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 15:51: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,071 |
Namespaces | /*
* Copyright 2015 Kevin Herron
*
* 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... | .version 52 0
.class public super Namespaces
.super java/lang/Object
.field public static final OPC_UA Ljava/lang/String; = 'http://opcfoundation.org/UA/'
.field public static final OPC_UA_XSD Ljava/lang/String; = 'http://opcfoundation.org/UA/2008/02/Types.xsd'
.field public static final XML_SCHEMA Ljava/lang/Stri... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:31: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 06:31: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,072 |
FilterConfigurationException | /**
* Licensed to the Austrian Association for Software Tool Integration (AASTI) under one or more
* contributor license agreements. See the NOTICE file distributed with this work for additional
* information regarding copyright ownership. The AASTI licenses this file to you under the Apache
* License, Version 2.0 ... | .version 52 0
.class public super FilterConfigurationException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = -6299928939427594347L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08: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 08: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,073 |
maxEARFCN2 | // Copyright 2018 Google LLC
//
// 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 ... | .version 52 0
.class public super maxEARFCN2
.super java/lang/Object
.field public static final VALUE Ljava/math/BigInteger;
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:24:36 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 00:24:36 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,074 |
Lock | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* @author lukasgreiner
*/
public class Lock {
private int runningThreadsNumber;
public Lock() {
runningThreadsNumber =... | .version 52 0
.class public super Lock
.super java/lang/Object
.field private runningThreadsNumber 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_0
L6: putfield Field Lock runningThreadsNumbe... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22: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
* Fri Jul 01 22:42: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,075 |
OAuth2UserInfo | import java.util.Map;
public abstract class OAuth2UserInfo {
protected Map<String, Object> attributes;
public OAuth2UserInfo(Map<String, Object> attributes) {
this.attributes = attributes;
}
public Map<String, Object> getAttributes() {
return attributes;
}
public abstract String getId();
publ... | .version 52 0
.class public super abstract OAuth2UserInfo
.super java/lang/Object
.field protected attributes Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
.end fieldattributes
.method public <init> : (Ljava/util/Map;)V
.code stack 2 locals 2
L0: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:08: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
* Mon Jul 04 14:08:10 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,076 |
VMRuntime | /*
* Copyright (C) 2007 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 final super VMRuntime
.super java/lang/Object
.field private static final THE_ONE LVMRuntime;
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:56: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 19:56: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,077 |
MovingAttributes | import java.util.HashMap;
/** 初始化MovableRect,要用到的属性很多,因此用一个映射图来存储属性。 */
public class MovingAttributes extends HashMap<String, String> {
private static final long serialVersionUID = 1L;
// 属性个是什么意思,见TetrixGameAttributes相应项的注释
public static final String GRAVITY = "gravity";
public static final Double DEFAULT_G... | .version 52 0
.class public super MovingAttributes
.super java/util/HashMap
.field private static final serialVersionUID J = 1L
.field public static final GRAVITY Ljava/lang/String; = 'gravity'
.field public static final DEFAULT_GRAVITY Ljava/lang/Double;
.field public static final V_MAX_VEL Ljava/lang/String; = ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:13:43 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 19:13:43 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,078 |
JavaElementosVaciosEnArrayChar | /**
* @created on : 12-sep-2017, 17:16:43
* @see
* @since
* @version
* @author Raul Vela Salas
*/
public class JavaElementosVaciosEnArrayChar {
public static void main(String[] args) {
char[] c = new char[10];
for (int i = 0; i < c.length; i++) {
if (c[i] == '\u0000') {
System.out.print... | .version 52 0
.class public super JavaElementosVaciosEnArrayChar
.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 10
.end linenumberta... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 15:45:29 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 15:45: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,079 |
ScannerExceptions | import java.util.InputMismatchException;
import java.util.Scanner;
public class ScannerExceptions {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner keyboard = new Scanner(System.in);
System.out.println("Enter your name: ");
String name = keyboard.nextLine();
... | .version 52 0
.class public super ScannerExceptions
.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 18:42:48 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 18:42: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,080 |
ClientConfig | /*
* Copyright 2014 Netflix, 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | .version 52 0
.class public super abstract ClientConfig
.super java/lang/Object
.field private host Ljava/lang/String;
.field private port I
.field private name Ljava/lang/String;
.method public <init> : (Ljava/lang/String;ILjava/lang/String;)V
.code stack 2 locals 4
L0: aload_0
L1: invokespecial ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:29: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 03:29:59 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,081 |
Constants | public class Constants {
public static final int DATA_ENTITY_COLUMN_COUNT = 2;
public static final String DATASOURCE_NAME = "java:comp/env/jdbc/RGT_DS";
public static final String DATABASE_DRIVER = "oracle.jdbc.driver.OracleDriver";
public static final String DATABASE_CONNECTION_STRING = "jdbc:oracle:thin:@loc... | .version 52 0
.class public super Constants
.super java/lang/Object
.field public static final DATA_ENTITY_COLUMN_COUNT I = 2
.field public static final DATASOURCE_NAME Ljava/lang/String; = 'java:comp/env/jdbc/RGT_DS'
.field public static final DATABASE_DRIVER Ljava/lang/String; = 'oracle.jdbc.driver.OracleDriver'... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:03:36 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:03: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,082 |
SignInfo | /** 报名POJO */
public class SignInfo {
// 报名人员的ID
private String id;
// 考试地点
private String location;
// 考试科目
private String subject;
// 邮寄地址
private String postAddress;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getLocation() {... | .version 52 0
.class public super SignInfo
.super java/lang/Object
.field private id Ljava/lang/String;
.field private location Ljava/lang/String;
.field private subject Ljava/lang/String;
.field private postAddress Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1:... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 15:59: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 15:59: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,083 |
BudgetList | public class BudgetList {
private String budgetName;
private String description;
private int id;
public BudgetList(String budgetName) {
super();
this.budgetName = budgetName;
}
public BudgetList(String budgetName, String description) {
super();
this.budgetName = budgetName;
this.descri... | .version 52 0
.class public super BudgetList
.super java/lang/Object
.field private budgetName Ljava/lang/String;
.field private description Ljava/lang/String;
.field private id I
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Ob... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:00: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
* Mon Jul 04 03:00: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,084 |
Casting | // : operators/Casting.java
public class Casting {
public static void main(String[] args) {
int i = 200;
long lng = (long) i;
lng = i; // "Widening," so cast not really required
long lng2 = (long) 200;
lng2 = 200;
// A "narrowing conversion":
i = (int) lng2; // Cast required
}
} /// :~
| .version 52 0
.class public super Casting
.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... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:13: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
* Fri Jul 01 10:13: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,085 |
Phase1Extractor | /**
* Copyright (C) 2021 Luc Hermans
*
* <p>This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU General Public License as published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* <p>This program is di... | .version 52 0
.class public super abstract Phase1Extractor
.super java/lang/Object
.field private static final autoMerge 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
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:11:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.File;
import java.io.StringReader;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.moc... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 18:11: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,086 |
MattermostUtils | public class MattermostUtils {
/** Located right before a username, this notifies the mentioned user. */
public static final String HIGHLIGHT = "@";
/**
* In Mattermost, all channel IDs have 26 characters. (I could not find where it is specified in
* the documentation though).
*/
public static final ... | .version 52 0
.class public super MattermostUtils
.super java/lang/Object
.field public static final HIGHLIGHT Ljava/lang/String; = '@'
.field public static final CHANNEL_ID_LENGTH I = 26
.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
* Fri Jul 01 04:23: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 04:23: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,087 |
Quest | public class Quest {
private String Nombre;
private String Contenido;
public Quest() {}
public void set_Nombre(String n) {
Nombre = n;
}
public void set_Contenido(String c) {
Contenido = c;
}
public String get_Nombre() {
return Nombre;
}
public String get_Contenido() {
return Co... | .version 52 0
.class public super Quest
.super java/lang/Object
.field private Nombre Ljava/lang/String;
.field private Contenido 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:04: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
* Sat Jul 02 16:04: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,088 |
AbstractModelObject | import java.beans.PropertyChangeListener;
import java.beans.PropertyChangeSupport;
import java.util.logging.Logger;
abstract class AbstractModelObject {
private static final Logger logger = Logger.getLogger(AbstractModelObject.class.getName());
private PropertyChangeSupport propertyChangeSupport = new PropertyCh... | .version 52 0
.class super abstract AbstractModelObject
.super java/lang/Object
.field private static final logger Ljava/util/logging/Logger;
.field private propertyChangeSupport Ljava/beans/PropertyChangeSupport;
.method <init> : ()V
.code stack 4 locals 1
L0: aload_0
L1: invokespecial Method java... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:11: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
* Mon Jul 04 07:11:20 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,089 |
PreferenceConstants | /** Constant definitions for plug-in preferences */
public class PreferenceConstants {
/*
public static final String P_PATH = "pathPreference";
public static final String P_BOOLEAN = "booleanPreference";
public static final String P_CHOICE = "choicePreference";
public static final String P_STRING = "string... | .version 52 0
.class public super PreferenceConstants
.super java/lang/Object
.field public static final P_DEFAULT_REPO Ljava/lang/String; = 'P_DEFAULT_BENTO_REPOSITORY'
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: retur... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:35: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 05:35: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,090 |
MessageQueueSpatialChatArchive | /** Created by crush on 8/13/2014. */
public class MessageQueueSpatialChatArchive {}
| .version 52 0
.class public super MessageQueueSpatialChatArchive
.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 linenumbertab... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:34:25 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:34: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,091 |
ProblemFour | import java.util.Scanner;
public class ProblemFour {
public static void main(String[] args) {
Scanner kbd = new Scanner(System.in);
System.out.print("Please input a number to be summed: ");
long i = kbd.nextInt();
System.out.println("The sum of the digits is " + sumDigits(i));
}
public static i... | .version 52 0
.class public super ProblemFour
.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 2
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:49:57 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
* Fri Jul 01 18:49: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,092 |
OAuth2Constant | /*
* The MIT License (MIT)
*
* Copyright (c) 2016, Feedeo AB <hugo@feedeo.io>.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the r... | .version 52 0
.class public super OAuth2Constant
.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 27
.end linenumbertable
.end co... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:45: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
* Sun Jul 03 20:45: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,093 |
Logger | import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
public class Logger {
private static final DateFormat dateFormat =
new SimpleDateFormat(
"MM.dd.yyyy HH:mm:... | .version 52 0
.class public super Logger
.super java/lang/Object
.field private static final dateFormat Ljava/text/DateFormat;
.field private directory Z
.field private logDirectory Ljava/io/File;
.field private logFile Ljava/io/File;
.field private writer Ljava/io/BufferedWriter;
.method public <init> : (Ljav... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:59:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.File;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import o... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 04:59: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,094 |
ContextClosedException | import java.io.IOException;
public class ContextClosedException extends IOException {
public ContextClosedException() {
super("Can't start already closed context");
}
}
| .version 52 0
.class public super ContextClosedException
.super java/io/IOException
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: ldc "Can't start already closed context"
L3: invokespecial Method java/io/IOException <init> (Ljava/lang/String;)V
L6: return
L7:
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:55:41 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 05:55:41 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,095 |
Bigram | // Can you spot the bug? - Page 176
import java.util.HashSet;
import java.util.Set;
public class Bigram {
private final char first;
private final char second;
public Bigram(char first, char second) {
this.first = first;
this.second = second;
}
public boolean equals(Bigram b) {
return b.first =... | .version 52 0
.class public super Bigram
.super java/lang/Object
.field private final first C
.field private final second C
.method public <init> : (CC)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... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:03:41 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 19:03:41 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,096 |
MetricTuple | /*
* Copyright 2015 Avanza Bank AB
*
* 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... | .version 52 0
.class public super MetricTuple
.super java/lang/Object
.field private static final SPLIT_PATTERN Ljava/util/regex/Pattern;
.field private final name Ljava/lang/String;
.field private final timestamp J
.field private final value Ljava/math/BigDecimal;
.method public <init> : (Ljava/lang/String;Lja... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:17:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.math.BigDecimal;
import java.math.BigInteger;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:17:22 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,097 |
Files | import java.io.*;
import java.util.Random;
import java.util.StringTokenizer;
public class Files {
public static void print(float[][] matrix) {
for (int y = 0; y < matrix.length; y++) {
for (int x = 0; x < matrix[y].length; x++) {
System.out.printf("%6.2f ", matrix[y][x]);
}
System.out.p... | .version 52 0
.class public super Files
.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
.end m... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:03:19 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 16:03: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,098 |
AbstractBibtexKeyPattern | import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import java.util.StringTokenizer;
import java.util.stream.Collectors;
/**
* A small table, where an entry type is associated with a Bibtex key pattern (an <code>ArrayList
... | .version 52 0
.class public super abstract AbstractBibtexKeyPattern
.super java/lang/Object
.field protected defaultPattern Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end fieldattributes
.field protected data Ljava/util/Map; .fieldattributes
.signature Ljava/util/M... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:42:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:42: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,099 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.