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 |
|---|---|---|---|---|---|
ScrewDown | public class ScrewDown {
void foo() {
ScrewDown screwDown, screwDown2;
}
}
| .version 52 0
.class public super ScrewDown
.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
.e... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22: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 22: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;
... | 132,900 |
InputRequireThisSimple | /*
RequireThis
checkFields = (default)true
checkMethods = (default)true
validateOnlyOverlapping = false
*/
public class InputRequireThisSimple {
private final int number = 1;
public int check() {
int sum = number; // violation
sum += other(); // violation
return sum;
}
private int other() {
... | .version 52 0
.class public super InputRequireThisSimple
.super java/lang/Object
.field private final number I = 1
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iconst_1
L6: putfield Field InputRequi... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:34:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:34: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;
... | 132,901 |
XZ | /** XZ constants. */
public class XZ {
/** XZ Header Magic Bytes begin a XZ file. This can be useful to detect XZ compressed data. */
public static final byte[] HEADER_MAGIC = {(byte) 0xFD, '7', 'z', 'X', 'Z', '\0'};
/** XZ Footer Magic Bytes are the last bytes of a XZ Stream. */
public static final byte[] FOO... | .version 52 0
.class public super XZ
.super java/lang/Object
.field public static final HEADER_MAGIC [B
.field public static final FOOTER_MAGIC [B
.field public static final CHECK_NONE I = 0
.field public static final CHECK_CRC32 I = 1
.field public static final CHECK_CRC64 I = 4
.field public static final CHEC... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:50: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 04:50:15 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... | 132,902 |
MapQuery | import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.*;
public class MapQuery {
static String urlEncodeUTF8(String s) {
try {
return URLEncoder.encode(s, "UTF-8");
} catch (UnsupportedEncodingException e) {
throw new UnsupportedOperationException(e);
}
}... | .version 52 0
.class public super MapQuery
.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
.en... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:10:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.cl... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 23:10: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;
... | 132,903 |
Util | public class Util {
public static String removerPacoteDoNome(String nomeClasse) {
int ponto = nomeClasse.lastIndexOf(".");
if (ponto > 0) {
nomeClasse = nomeClasse.substring(ponto + 1);
}
return nomeClasse;
}
public static String getNomeDeClasseComVO(String nome) {
String primeiraLetr... | .version 52 0
.class public super Util
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 13:58: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
* Fri Jul 01 13:58:17 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,904 |
Member | import java.util.Objects;
public final class Member {
private final int id;
private final String name;
private Member(int id, String name) {
this.id = id;
this.name = name;
}
public static Member aMember(int id, String name) {
return new Member(id, name);
}
public int id() {
return id;... | .version 52 0
.class public final super Member
.super java/lang/Object
.field private final id I
.field private final name Ljava/lang/String;
.method private <init> : (ILjava/lang/String;)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
* Fri Jul 01 15:49: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
* Fri Jul 01 15:49: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;
... | 132,905 |
ElasticTypeName | /**
* Copyright (c) 2015-2018, CJ Hare All rights reserved.
*
* <p>Redistribution and use in source and binary forms, with or without modification, are permitted
* provided that the following conditions are met:
*
* <p>* Redistributions of source code must retain the above copyright notice, this list of
* condit... | .version 52 0
.class public final super ElasticTypeName
.super java/lang/Object
.field public static final AMOUNT Ljava/lang/String; = 'amount'
.field public static final CASH_BALANCE Ljava/lang/String; = 'cash_balance'
.field public static final DIRECTION_TYPE Ljava/lang/String; = 'direction_type'
.field public ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:59: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
* Sat Jul 02 17:59:26 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... | 132,906 |
Null | public class Null {
public static void main(String[] args) {
System.exit(0);
}
}
| .version 52 0
.class public super Null
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 1
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:49: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.evosuite.runtime.S... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 17: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;
... | 132,907 |
MetricName | import java.util.regex.Matcher;
import java.util.regex.Pattern;
public final class MetricName {
private static final String IDENTIFIER_SECTION = "[\\p{Alnum}_/]+";
private static final String VALID_METRIC_NAME =
"\\A((_ID_)(\\._ID_)*)(\\[(_ID_)\\])?((\\._ID_)*)\\z".replace("_ID_", IDENTIFIER_SECTION);
priv... | .version 52 0
.class public final super MetricName
.super java/lang/Object
.field private static final IDENTIFIER_SECTION Ljava/lang/String; = '[\\p{Alnum}_/]+'
.field private static final VALID_METRIC_NAME Ljava/lang/String;
.field private static final METRIC_PATTERN Ljava/util/regex/Pattern;
.field private stat... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:22:22 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 18:22: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;
... | 132,908 |
d1lkt | // This file is automatically generated.
/*
* LG Optimus LTE2
*
* DEVICE: d1lkt
* MODEL: LG-F160K
*/
final class d1lkt {
public static final String DATA = "LG|Optimus LTE2|";
}
| .version 52 0
.class final super d1lkt
.super java/lang/Object
.field public static final DATA Ljava/lang/String; = 'LG|Optimus LTE2|'
.method <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 00:53: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:53: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;
... | 132,909 |
ChannelEntity | /** 频道实体类 Created by YoKeyword on 15/12/29. */
public class ChannelEntity {
private String id;
private String name;
public ChannelEntity() {}
public ChannelEntity(String id, String name) {
this.id = id;
this.name = name;
}
public String getId() {
return id;
}
public void setId(String id... | .version 52 0
.class public super ChannelEntity
.super java/lang/Object
.field private id Ljava/lang/String;
.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:
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:54: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
* Fri Jul 01 15:54: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;
... | 132,910 |
ContactData | import java.io.File;
public class ContactData {
private int id = Integer.MAX_VALUE;
private String firstName;
private String lastName;
private String address;
private String phoneNumberHome;
private String email;
private String email2;
private String email3;
private String group;
private String Wor... | .version 52 0
.class public super ContactData
.super java/lang/Object
.field private id I
.field private firstName Ljava/lang/String;
.field private lastName Ljava/lang/String;
.field private address Ljava/lang/String;
.field private phoneNumberHome Ljava/lang/String;
.field private email Ljava/lang/String;
.f... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:25:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.File;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.io.MockFile;
import or... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 05:25: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;
... | 132,911 |
Bundle | /**
* Copyright (c) 2004-2007, David A. Czarnecki All rights reserved.
*
* <p>Redistribution and use in source and binary forms, with or without modification, are permitted
* provided that the following conditions are met:
*
* <p>Redistributions of source code must retain the above copyright notice, this list of ... | .version 52 0
.class public super Bundle
.super java/lang/Object
.field private name Ljava/lang/String;
.field private tags Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4:... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:30: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
* Sun Jul 03 20:30: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;
... | 132,912 |
DoubleSampler | import java.util.Random;
/**
* @author kawasima
*/
public class DoubleSampler {
private Random random = new Random();
private double init;
private double variance = 0.0;
private Double min;
private Double max;
public DoubleSampler(double init) {
this.init = init;
}
public double getValue() {
... | .version 52 0
.class public super DoubleSampler
.super java/lang/Object
.field private random Ljava/util/Random;
.field private init D
.field private variance D
.field private min Ljava/lang/Double;
.field private max Ljava/lang/Double;
.method public <init> : (D)V
.code stack 3 locals 3
L0: aload_0 ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:27:34 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 09:27: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;
... | 132,913 |
ProfileEditCommand | public class ProfileEditCommand {}
| .version 52 0
.class public super ProfileEditCommand
.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... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:11:24 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 11:11: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;
... | 132,914 |
WebSite | import java.io.Serializable;
/**
* To change this template use File | Settings | File Templates.
*
* @author wangqing
* @since 1.0.0
*/
public class WebSite implements Serializable {
private static final long serialVersionUID = 1L;
private int id;
private String url;
private String charset;
private Stri... | .version 52 0
.class public super WebSite
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 1L
.field private id I
.field private url Ljava/lang/String;
.field private charset Ljava/lang/String;
.field private regx Ljava/lang/String;
.field private udate ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08: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
* Fri Jul 01 08: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;
... | 132,915 |
SparseIntArray | /*
* Copyright (C) 2006 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | .version 52 0
.class public super SparseIntArray
.super java/lang/Object
.field private mKeys [I
.field private mValues [I
.field private mSize I
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: bipush 10
L3: invokespecial Method SparseIntArray <init> (I)V
L6: return
L... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:09:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:09: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;
... | 132,916 |
Varint | /*
* 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 Varint
.super java/lang/Object
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 53
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:25:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.BufferedOutputStream;
import java.io.ByteArra... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:25:45 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,917 |
Main | /*
* Author: Minho Kim (ISKU)
* Date: 2017.12.23
* E-mail: minho1a@hanmail.net
*
* https://github.com/ISKU/Algorithm
* https://www.acmicpc.net/problem/14926
*/
import java.util.*;
public class Main {
public static boolean[][] visited;
public static int[] count;
public static int N;
public static void... | .version 52 0
.class public super Main
.super java/lang/Object
.field public static visited [[Z
.field public static count [I
.field public static N I
.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 15:57:04 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 15:57: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;
... | 132,918 |
MathUtils | /*
* jMuffinEngine - modularized java game engine.
* Copyright (C) 2014 Piotr SQLek Skolski
*
* This file is a part of jMuffinEngine.
*
* jMuffinEngine 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, e... | .version 52 0
.class public super MathUtils
.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 code
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:20: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 10:20: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;
... | 132,919 |
Province | public class Province {
private int id;
private String provinceName;
private String provinceCode;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getProvinceName() {
return provinceName;
}
public void setProvinceName(String provinceName) {
... | .version 52 0
.class public super Province
.super java/lang/Object
.field private id I
.field private provinceName Ljava/lang/String;
.field private provinceCode Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:27:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:27: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;
... | 132,920 |
C3P0Test | import java.lang.reflect.Field;
import java.math.BigDecimal;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class C3P0Test {
private Connection conn;
// pu... | .version 52 0
.class public super C3P0Test
.super java/lang/Object
.field private conn Ljava/sql/Connection;
.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 13
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:01:15 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 16:01: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;
... | 132,921 |
Activity | import java.util.Date;
public abstract class Activity {
private Date lastModifiedDate;
private Date createdDate;
private String description;
public Activity() {
this.createdDate = new Date();
}
/**
* Getter for property description.
*
* @return Value of property description.
*/
public St... | .version 52 0
.class public super abstract Activity
.super java/lang/Object
.field private lastModifiedDate Ljava/util/Date;
.field private createdDate Ljava/util/Date;
.field private description Ljava/lang/String;
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Me... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:41:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 15:41:32 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... | 132,922 |
Word | /** Created by shusesshou on 2017/9/4. */
public class Word {
private String word;
public Word() {}
public Word(String word) {
this.word = word;
}
public String getWord() {
return word;
}
public void setWord(String word) {
this.word = word;
}
}
| .version 52 0
.class public super Word
.super java/lang/Object
.field private word 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 10
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:09: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
* Sat Jul 02 13:09:52 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,923 |
Solution258 | /**
* 258. Add Digits
*
* <p>Given a non-negative integer num, repeatedly add all its digits until the result has only one
* digit.
*
* <p>For example: Given num = 38, the process is like: 3 + 8 = 11, 1 + 1 = 2. Since 2 has only one
* digit, return it.
*
* <p>Follow up: Could you do it without any loop/recursi... | .version 52 0
.class public super Solution258
.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 17
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:52: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 05:52: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;
... | 132,924 |
LinearSearch | public class LinearSearch {
public static int doSearch(int[] list, int item) {
for (int i = 0; i < list.length; i++) {
if (list[i] == item) {
return i;
}
}
return -1;
}
}
| .version 52 0
.class public super LinearSearch
.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
* Sat Jul 02 05:57:19 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:57: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;
... | 132,925 |
RegexStruff | import java.util.ArrayList;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class RegexStruff {
public static void main(String[] args) {
String uniprot = "[A-Z][0-9][A-Z0-9]{3}[0-9]?";
String NCBI_gi = "[0-9]{6,}' }";
String ensembl = "ENS[A-Z0-9]{10,17}";
... | .version 52 0
.class public super RegexStruff
.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
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:21: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
* Mon Jul 04 02:21: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;
... | 132,926 |
Solution44 | /**
* LL今天心情特别好,因为他去买了一副扑克牌,发现里面居然有2个大王,2个小王(一副牌原本是54张^_^)
* 他随机从中抽出了5张牌,想测测自己的手气,看看能不能抽到顺子,如果抽到的话,他决定去买体育彩票,嘿嘿!! “红心A,黑桃3,小王,大王,方片5”,“Oh My
* God!”不是顺子.....LL不高兴了, 他想了想,决定大\小 王可以看成任何数字,并且A看作1,J为11,Q为12,K为13。
* 上面的5张牌就可以变成“1,2,3,4,5”(大小王分别看作2和4),“So Lucky!”。 LL决定去买体育彩票啦。 现在,要求你使用这幅牌模拟上面的过程,然后告诉我们LL的运气如何。
* 为了方便起见,... | .version 52 0
.class public super Solution44
.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 11
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:21:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:21: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;
... | 132,927 |
NoiseGenerator | public abstract class NoiseGenerator {
public NoiseGenerator() {}
}
| .version 52 0
.class public super abstract NoiseGenerator
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13: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
* Sat Jul 02 13:00:55 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... | 132,928 |
ProcessingException | /*
* #[license]
* coveralls-maven-plugin
* %%
* Copyright (C) 2013 - 2016 Tapio Rautonen
* %%
* 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 li... | .version 52 0
.class public super ProcessingException
.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 35
L4 36
.en... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:57:47 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 04:57: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;
... | 132,929 |
Flags | /**
* =========================================== Java Pdf Extraction Decoding Access Library
* ===========================================
*
* <p>Project Info: http://www.jpedal.org (C) Copyright 1997-2008, IDRsolutions and Contributors.
* Main Developer: Simon Barnett
*
* <p>This file is part of JPedal
*
* <... | .version 52 0
.class public super abstract Flags
.super java/lang/Object
.field protected flagsAsInt I
.field protected flags Ljava/util/Map;
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: new java/util/L... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:04:04 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 16:04:04 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 132,930 |
DBObject | /*
* Copyright (C) 2017, Australian Ocean Data Network (AODN) and Integrated
* Marine Observing System (IMOS).
*
* 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 version 3 of the License.
*
* This... | .version 52 0
.class public super DBObject
.super java/lang/Object
.field public name Ljava/lang/String;
.field public o Ljava/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:
.linenumb... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:22:55 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 08:22: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;
... | 132,931 |
Item | import java.text.DecimalFormat;
/**
* Store the details of a single item in inventory.
*
* @author Deborah A. Trytten
* @version 1.0
*/
public class Item {
private int stock;
private double price;
private String name;
private static final DecimalFormat DOLLARS = new DecimalFormat("$0.00");
/**
* Con... | .version 52 0
.class public super Item
.super java/lang/Object
.field private stock I
.field private price D
.field private name Ljava/lang/String;
.field private static final DOLLARS Ljava/text/DecimalFormat;
.method public <init> : (Ljava/lang/String;DI)V
.code stack 3 locals 5
L0: aload_0
L1: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:59: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
* Sat Jul 02 16:59: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;
... | 132,932 |
Utils | import java.awt.Graphics2D;
import java.awt.GraphicsConfiguration;
import java.awt.GraphicsEnvironment;
import java.awt.RenderingHints;
import java.awt.image.BufferedImage;
/**
* @author Luiz Fernando Noschang
*/
public final class Utils {
public static BufferedImage criarImagemCompativel(
BufferedImage orig... | .version 52 0
.class public final super Utils
.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 13
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:18:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.awt.HeadlessException;
import java.awt.image.BufferedImage;
import org.evosuite.runtime.EvoRunner;
import... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:18: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;
... | 132,933 |
PropertiesUtil | import java.util.Properties;
public class PropertiesUtil {
private static String filename = "/mybatis-refresh.properties";
private static Properties pro = new Properties();
static {
try {
pro.load(PropertiesUtil.class.getResourceAsStream(filename));
} catch (Exception e) {
e.printStackTrace... | .version 52 0
.class public super PropertiesUtil
.super java/lang/Object
.field private static filename Ljava/lang/String;
.field private static pro Ljava/util/Properties;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: re... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:37: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
* Sat Jul 02 17:37: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;
... | 132,934 |
SpoucyAPI | public class SpoucyAPI {
// Nothing here yet...
}
| .version 52 0
.class public super SpoucyAPI
.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
.e... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:11:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:11: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;
... | 132,935 |
Solution | public class Solution {
public static void main(String[] args) {
Solution s = new Solution();
System.out.println(s.searchInsert(new int[] {1, 3, 5, 6}, 5));
System.out.println(s.searchInsert(new int[] {1, 3, 5, 6}, 2));
System.out.println(s.searchInsert(new int[] {1, 3, 5, 6}, 7));
System.out.prin... | .version 52 0
.class public super Solution
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 1
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:21: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
* Sun Jul 03 21:21: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;
... | 132,936 |
Test | class Test {
int fieldName;
void foo(int fieldName) {
this.fieldName = fieldName;
}
}
class TestImpl extends Test {
void foo(int fieldName) {
this.fieldName = fieldName;
}
}
| .version 52 0
.class super Test
.super java/lang/Object
.field fieldName 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
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:05:50 GMT 2022
*/
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism =... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:05: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;
... | 132,937 |
CommandInitializationException | /*
* Copyright 2014 MovingBlocks
*
* 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 CommandInitializationException
.super java/lang/IllegalArgumentException
.field private static final serialVersionUID J = 5345663512766407880L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/IllegalArgumentException ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:11:19 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:11: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;
... | 132,938 |
AccessDeniedEvent | import java.io.Serializable;
/**
* Event for handling Spring Security AccessDenied
*
* @author marko
*/
@SuppressWarnings("serial")
public class AccessDeniedEvent implements Serializable {
private final Throwable cause;
private final String viewToken;
public AccessDeniedEvent(Throwable cause, String viewTo... | .version 52 0
.class public super AccessDeniedEvent
.super java/lang/Object
.implements java/io/Serializable
.field private final cause Ljava/lang/Throwable;
.field private final viewToken Ljava/lang/String;
.method public <init> : (Ljava/lang/Throwable;Ljava/lang/String;)V
.code stack 2 locals 3
L0: a... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21: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.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 21: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;
... | 132,939 |
WikipediaDataConverter | import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class WikipediaDataConverter {
private static final Pattern NUMBERS = Patt... | .version 52 0
.class public super WikipediaDataConverter
.super java/lang/Object
.field private static final NUMBERS Ljava/util/regex/Pattern;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenu... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:30:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.FileNotFoundException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerPar... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:30: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;
... | 132,940 |
BusinessException | public class BusinessException extends RuntimeException {
public BusinessException(String message) {
super(message);
}
}
| .version 52 0
.class public super BusinessException
.super java/lang/RuntimeException
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/RuntimeException <init> (Ljava/lang/String;)V
L5: return
L6:
.l... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:55: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 01:55: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;
... | 132,941 |
Solution | /* 18+
Ввести с клавиатуры имя и возраст. Если возраст меньше 18 вывести надпись «Подрасти еще».
*/
import java.util.Scanner;
public class Solution {
public static void main(String[] args) throws Exception {
Scanner scan = new Scanner(System.in);
String name = scan.nextLine();
int age = scan.nextInt();
... | .version 52 0
.class public super Solution
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 11
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:27: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.util.SystemInUtil;
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:27: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;
... | 132,942 |
Day06 | import java.io.File;
import java.io.IOException;
import java.util.*;
public class Day06 {
public static List<Map<Character, Integer>> log = new ArrayList<>();
public static void main(String[] args) {
Scanner sc = null;
try {
sc = new Scanner(new File("Day06/input.txt"));
} catch (IOException e)... | .version 52 0
.class public super Day06
.super java/lang/Object
.field public static log Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/util/Map<Ljava/lang/Character;Ljava/lang/Integer;>;>;
.end fieldattributes
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:23:37 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.S... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 01:23: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;
... | 132,943 |
Discounts | /**
* @author Adam Warski (adam at warski dot org)
*/
public class Discounts {
public int getNormalDiscount() {
return 10;
}
}
| .version 52 0
.class public super Discounts
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:51:12 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 17:51:12 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,944 |
PluginException | /******************************************************************************
* Copyright (c) 2012-2015, Vladimir Kravets *
* All rights reserved. *
* *
... | .version 52 0
.class public super PluginException
.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 39
L4 40
.end li... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:03: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 03:03: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;
... | 132,945 |
Gcd | import java.io.IOException;
/**
*
*
* <Pre>
* Q:gcdのアルゴリズムを(手段A)%、(手段B)floorMode、(手段C)数学的な(負ではない)余りを生成するrem関数で実装しなさい。
* これらの3つの方法のどれが負の値に対して最も簡単ですか?
*
* A:
* 手段Aは見た目にアルゴリズムが分かり易い。
*
* 手段BはfloorMod()自体を感覚的にとらえにくいので、成否を判断しづらい。ただし、Javadocに正のモジュラスを
* 取得する方法が記載されているため、これを(信じて)流用するのであれば難易度は下がる。
*
* 手段Cは手段Aの絶対値を... | .version 52 0
.class public super Gcd
.super java/lang/Object
.field first I
.field second I
.method <init> : (II)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: iload_1
L5: iload_2
L6: if_icmple L22
L9: aload_0
L10: iload_1
L11... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:16:00 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 04:16: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;
... | 132,946 |
Range | import java.util.Date;
import java.util.Random;
public class Range {
private int min;
private int max;
private Random randomGenerator;
public Range(int min, int max) {
this.min = min;
this.max = max;
this.randomGenerator = new Random();
this.randomGenerator.setSeed((new Date()).getTime());
... | .version 52 0
.class public super Range
.super java/lang/Object
.field private min I
.field private max I
.field private randomGenerator Ljava/util/Random;
.method public <init> : (II)V
.code stack 3 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:01:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.Random;
import org.junit.runner.RunWith;
@RunWith(Ev... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:01: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;
... | 132,947 |
Neo4JConstants | /** Class: Neo4JConstants */
public class Neo4JConstants {
// Maven artifact constants
public static final String MAVEN_ARTIFACT_NODE_TYPE = "MavenArtifact";
public static final String MAVEN_ARTIFACT_GROUP_ID = "groupId";
public static final String MAVEN_ARTIFACT_ARTIFACT_ID = "artifactId";
public static fin... | .version 52 0
.class public super Neo4JConstants
.super java/lang/Object
.field public static final MAVEN_ARTIFACT_NODE_TYPE Ljava/lang/String; = 'MavenArtifact'
.field public static final MAVEN_ARTIFACT_GROUP_ID Ljava/lang/String; = 'groupId'
.field public static final MAVEN_ARTIFACT_ARTIFACT_ID Ljava/lang/String... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:35: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 13:35: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;
... | 132,948 |
Contratos | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
import java.math.BigDecimal;
import java.util.Date;
/**
* @author Jhon Lopez
*/
public class Contratos {
private String contrato;
private String anticipio;
private BigDecimal cantidadespreciosvariables;
priv... | .version 52 0
.class public super Contratos
.super java/lang/Object
.field private contrato Ljava/lang/String;
.field private anticipio Ljava/lang/String;
.field private cantidadespreciosvariables Ljava/math/BigDecimal;
.field private causal Ljava/lang/String;
.field private codigoactividad Ljava/lang/String;
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 02:46:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.math.BigDecimal;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.m... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 02:46: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;
... | 132,949 |
Main | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner console = new Scanner(System.in);
String firstLine = console.nextLine();
String[] dimensions = firstLine.split(" ");
int rows = Integer.parseInt(dimensions[0]);
int cols = Integer.parseInt(dimensions[1]);
... | .version 52 0
.class public super Main
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:49:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.u... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 23:49:32 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,950 |
Cliente | /*
* 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 rafaelrocha
*/
public class Cliente {
public static int nextID = 0;
private int id;
private String NomeCompleto;... | .version 52 0
.class public super Cliente
.super java/lang/Object
.field public static nextID I
.field private id I
.field private NomeCompleto Ljava/lang/String;
.field private cpf Ljava/lang/String;
.field private sexo Ljava/lang/String;
.field private endereco Ljava/lang/String;
.field private telefone Ljav... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:40: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
* Fri Jul 01 03:40: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;
... | 132,951 |
SQLHelper | /*
* Galantis Framework
*
* Copyright (C) 2006. All Rights Reserved.
*
* $Id: SQLHelper.java,v 1.0 2007/01/03 12:56:07 amaximenya Exp $
* Created on 07.08.2007 18:04:13
* Last modification $Date: 2007/01/03 12:56:07 $
*/
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.u... | .version 52 0
.class public super SQLHelper
.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 29
L4 31
.end linenumbertabl... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:13: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 05:13: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;
... | 132,952 |
LocalizedString | import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
import java.util.function.Function;
/**
* @author Ivo Branco <ivo.branco@fccn.pt>
*/
public class LocalizedString implements Function<Locale, String> {
Map<Locale, String> m = new HashMap<>();
public String put(Locale locale, String templ... | .version 52 0
.class public super LocalizedString
.super java/lang/Object
.implements java/util/function/Function
.field m Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/util/Locale;Ljava/lang/String;>;
.end fieldattributes
.method public <init> : ()V
.code stack 3 locals 1
L0: a... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:12:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Locale;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.cla... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 17:12:45 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,953 |
Language | /*
* Copyright 2011 Nakatani Shuyo
*
* 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 Language
.super java/lang/Object
.field public lang Ljava/lang/String;
.field public prob D
.method public <init> : (Ljava/lang/String;D)V
.code stack 3 locals 4
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_1
L6:... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:19:34 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:19: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;
... | 132,954 |
CountingTokenizer | import java.util.Iterator;
import java.util.NoSuchElementException;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* A tokenizer that keeps track of current line and character positions. The line and character
* positions are useful for reporting parse errors to the user; wherever parsing fails,... | .version 52 0
.class public super CountingTokenizer
.super java/lang/Object
.implements java/util/Iterator
.field private static final PAT_WORD Ljava/util/regex/Pattern;
.field private static final PAT_LINE Ljava/util/regex/Pattern;
.field private final matcher Ljava/util/regex/Matcher;
.field private final line... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:00:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.nio.CharBuffer;
import java.util.NoSuchElementEx... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:00: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;
... | 132,955 |
NoClassInit | /**
* Copyright (C) 2010-2016 Gordon Fraser, Andrea Arcuri and EvoSuite contributors
*
* <p>This file is part of EvoSuite.
*
* <p>EvoSuite 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 vers... | .version 52 0
.class public super NoClassInit
.super java/lang/Object
.field private static instance LNoClassInit;
.field private static flag Z
.field private static myFloat F
.field private static myInt I
.field private static myArray [LNoClassInit;
.field private static myShort S
.field private static myChar... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:32:40 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 15:32:40 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,956 |
CommandHandler | public class CommandHandler {
public static void registerCommands() {}
}
| .version 52 0
.class public super CommandHandler
.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 cod... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 15:58: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
* Sun Jul 03 15:58: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;
... | 132,957 |
TextAndBooleanRunnable | /*
* Geopaparazzi - Digital field mapping on Android based devices
* Copyright (C) 2016 HydroloGIS (www.hydrologis.com)
*
* 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 ... | .version 52 0
.class public super abstract TextAndBooleanRunnable
.super java/lang/Object
.implements java/lang/Runnable
.field protected theTextToRunOn Ljava/lang/String;
.field protected theBooleanToRunOn Z
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method j... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:32:12 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:32:12 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... | 132,958 |
StreamUtils | import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
/**
* StreamUtils
*
* @author Ryan
*/
public final class StreamUtils {
/**
* String convert to InputStream
*
... | .version 52 0
.class public final super StreamUtils
.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 13
.end linenumbertable
.end... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:53:26 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.InputStream;
import java.io.Piped... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:53: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;
... | 132,959 |
StringToUpperCaseExample | /*
Java String to Upper Case example.
This Java String to Upper Case example shows how to change the string to upper case
using toUpperCase method of String class.
*/
public class StringToUpperCaseExample {
public static void main(String[] args) {
String str = "string touppercase exampl... | .version 52 0
.class public super StringToUpperCaseExample
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 8
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:37:31 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:37:31 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,960 |
A6 | public class A6 {
public static void a0(String msg) {
System.out.println("msg=" + msg + 0);
}
public static void a1(String msg) {
System.out.println("msg=" + msg + 1);
}
public static void a2(String msg) {
System.out.println("msg=" + msg + 2);
}
public static void a3(String msg) {
Syste... | .version 52 0
.class public super A6
.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 meth... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:44: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
* Mon Jul 04 03:44: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;
... | 132,961 |
ElectronicBillOfLadingUpload | /**
* 电子运单上报
*
* @author 刘路
*/
public class ElectronicBillOfLadingUpload {}
| .version 52 0
.class public super ElectronicBillOfLadingUpload
.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... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:08:19 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:08: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;
... | 132,962 |
ClassFormatError | /*
* Copyright (c) 1994, 2008, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | .version 52 0
.class public super ClassFormatError
.super java/lang/LinkageError
.field private static final serialVersionUID J = -8420114879011949195L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/LinkageError <init> ()V
L4: return
L5:
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:33: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 12:33: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;
... | 132,963 |
PowerStatusBaremetalHostResult | public class PowerStatusBaremetalHostResult {
public java.lang.String status;
public void setStatus(java.lang.String status) {
this.status = status;
}
public java.lang.String getStatus() {
return this.status;
}
}
| .version 52 0
.class public super PowerStatusBaremetalHostResult
.super java/lang/Object
.field public status 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
* Sat Jul 02 20:27:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:27: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;
... | 132,964 |
OpenClosedPrinciple | /*
* Copyright (c) 2016. KESTI co, ltd
* 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 OpenClosedPrinciple
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 25
.end linenumbertable
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:45:33 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 05:45: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;
... | 132,965 |
Constants | /****************************************************************************************
* 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://... | .version 52 0
.class public super Constants
.super java/lang/Object
.field public static DEFAULT_MASK_COLOR I
.field public static DEFAULT_DELAY_MILLIS Ljava/lang/Integer;
.field public static DEFAULT_FADE_DURATION Ljava/lang/Integer;
.field public static DEFAULT_TARGET_PADDING I
.field public static DEFAULT_COL... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:24: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
* Fri Jul 01 15:24:16 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,966 |
TreeUtil | import java.util.Map;
public class TreeUtil {
public static void addTree(Map<Integer, Long> target, Map<Integer, Long> source) {
for (Map.Entry<Integer, Long> me : source.entrySet()) {
addItem(target, me.getKey(), me.getValue());
}
}
public static void addItem(Map<Integer, Long> target, int idx, l... | .version 52 0
.class public super TreeUtil
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:37:00 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.cl... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:37: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;
... | 132,967 |
ReadWriteMap | import java.util.*;
import java.util.concurrent.locks.*;
/**
* ReadWriteMap
*
* <p>Wrapping a Map with a read-write lock
*
* @author Brian Goetz and Tim Peierls
*/
public class ReadWriteMap<K, V> {
private final Map<K, V> map;
private final ReadWriteLock lock = new ReentrantReadWriteLock();
private final L... | .version 52 0
.class public super ReadWriteMap
.super java/lang/Object
.field private final map Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<TK;TV;>;
.end fieldattributes
.field private final lock Ljava/util/concurrent/locks/ReadWriteLock;
.field private final r Ljava/util/concurrent/locks/Lock... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:07:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.HashMap;
import java.util.Map;
import java.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 15:07: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;
... | 132,968 |
SearchUtil | import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
/**
* Funciones de utilidad relacionados con la localización de objetos de una lista.
*
* @see ISearch
* @author ROBERTO RANZ
*/
public class SearchUtil {
/**
* Localizar objeto cuyo toString() contenga el texto pasado como pará... | .version 52 0
.class public super SearchUtil
.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 16
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 22:13:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Collection;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 22:13: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;
... | 132,969 |
User | import java.util.ArrayList;
public class User {
public static final ArrayList<User> list = new ArrayList<User>();
private String name;
private ArrayList<String> players;
private int x, z, s;
private char[] colors = {
'a', 'b', 'c', 'd', 'e', 'f', 'r', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9'
}... | .version 52 0
.class public super User
.super java/lang/Object
.field public static final list Ljava/util/ArrayList; .fieldattributes
.signature Ljava/util/ArrayList<LUser;>;
.end fieldattributes
.field private name Ljava/lang/String;
.field private players Ljava/util/ArrayList; .fieldattributes
.signat... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:36:55 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.ArrayList;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 03:36: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;
... | 132,970 |
Employee | public class Employee {
private String SSN;
private String employeeNumber;
private String employeeDate;
private String wage;
private String accountNumber;
public Employee() {}
public Employee(
String SSN, String employeeNumber, String employeeDate, String wage, String accountNumber) {
this.SS... | .version 52 0
.class public super Employee
.super java/lang/Object
.field private SSN Ljava/lang/String;
.field private employeeNumber Ljava/lang/String;
.field private employeeDate Ljava/lang/String;
.field private wage Ljava/lang/String;
.field private accountNumber Ljava/lang/String;
.method public <init> :... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:17: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 12:17: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;
... | 132,971 |
AuthenticationException | /*
* Copyright (C) 2016 Datamatica (dev@datamatica.pl)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later versi... | .version 52 0
.class public super AuthenticationException
.super java/lang/IllegalArgumentException
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/IllegalArgumentException <init> (Ljava/lang/String;)V
L5: retur... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:17: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 16:17: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;
... | 132,972 |
UniformTimePeriod | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
* @author seh
*/
public class UniformTimePeriod {}
| .version 52 0
.class public super UniformTimePeriod
.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... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:25:00 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 05:25: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;
... | 132,973 |
DRMException | /*
* Copyright (C) 2015 Antoine
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distribute... | .version 52 0
.class public super DRMException
.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 25
L4 27
.end linen... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:05:55 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:05: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;
... | 132,974 |
Distribution | /**
* n颗相同的糖果,分给m个人,每人至少一颗,问有多少种分法。
*
* @author dell
*/
public class Distribution {
// n个糖果,中间有n-1个空间放m-1个隔板 结果就是C((n-1)(m-1));
public int getWays(int n, int m) {
int i = m - 1;
int j = n - 1;
return go(j) / (go(i) * go(j - i));
}
public int go(int n) {
int res = 1;
for (int i = 1; i <... | .version 52 0
.class public super Distribution
.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
* Sun Jul 03 21:40:13 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 21:40:13 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,975 |
OpenBCIDataConversion | /* Copyright (c) 2014 OpenBCI
* See the file license.txt for copying permission.
* */
public class OpenBCIDataConversion {
static final float fs_Hz = 250.0f; // sample rate used by OpenBCI board...set by its Arduino code
static final float ADS1299_Vref =
4.5f; // reference voltage for ADC in ADS1299. set... | .version 52 0
.class public super OpenBCIDataConversion
.super java/lang/Object
.field static final fs_Hz F = +250.0f
.field static final ADS1299_Vref F = +4.5f
.field static final ADS1299_gain F = +24.0f
.field static final scale_fac_uVolts_per_count F
.method public <init> : ()V
.code stack 1 locals 1
L... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:37: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
* Fri Jul 01 15:37: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;
... | 132,976 |
TestUtils | public class TestUtils {
public static void test(String header, boolean testResult) {
System.out.println("===== " + (testResult ? " OK " : " FAIL ") + " [" + header + "] =====");
}
public static void message(String m) {
System.out.println("\n\ttest: " + m);
}
public static void output(String m) ... | .version 52 0
.class public super TestUtils
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 1
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:37: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 20:37: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;
... | 132,977 |
WaitForGraph | import java.util.ArrayList;
import java.util.Comparator;
import java.util.LinkedList;
import java.util.List;
public class WaitForGraph {
Graph<Integer> wfg;
public WaitForGraph() {
wfg = new Graph<Integer>();
}
public Boolean containsTransaction(Integer trans) {
return (wfg.findVertexByName(trans.to... | .version 52 0
.class public super WaitForGraph
.super java/lang/Object
.field wfg LGraph; .fieldattributes
.signature LGraph<Ljava/lang/Integer;>;
.end fieldattributes
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: a... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:03:06 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 10:03: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;
... | 132,978 |
CloseChannelRequest | /*
* ThunderNetwork - Server Client Architecture to send Off-Chain Bitcoin Payments
* Copyright (C) 2015 Mats Jerratsch <matsjj@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software... | .version 52 0
.class public super CloseChannelRequest
.super java/lang/Object
.field public channelTransaction 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
* Fri Jul 01 20:50:31 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:50:31 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,979 |
InstanceClassMustBeSourceException | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
import java.sql.SQLException;
/**
* @author dgall
*/
public class InstanceClassMustBeSourceException extends SQLException {
public InstanceClassMustBeSourceException() {
super("The source instance class must h... | .version 52 0
.class public super InstanceClassMustBeSourceException
.super java/sql/SQLException
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: ldc 'The source instance class must have the source flag set on true!'
L3: invokespecial Method java/sql/SQLException <init> (Ljava... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:06:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 21:06: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;
... | 132,980 |
BuildConfig | /** Automatically generated file. DO NOT MODIFY */
public final class BuildConfig {
public static final boolean DEBUG = true;
}
| .version 52 0
.class public final super BuildConfig
.super java/lang/Object
.field public static final DEBUG Z = 1
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4 ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:57:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 18:57:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,981 |
CancatentData | import java.util.Scanner;
/** Created by User on 7/8/2017. */
public class CancatentData {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String fn = sc.nextLine();
String ln = sc.nextLine();
int age = Integer.parseInt(sc.nextLine());
String town = sc.nextLine();
... | .version 52 0
.class public super CancatentData
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:29:19 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.util.SystemInUtil;
import org.junit.runner.RunWith;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 07:29: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;
... | 132,982 |
CryptoFailedException | /**
* Copyright 2017 Paul Schaub
*
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of the License at
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required by applicable law or agreed ... | .version 52 0
.class public super CryptoFailedException
.super java/lang/Exception
.field private static final serialVersionUID J = 3466888654338119924L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <ini... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:32:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:32: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;
... | 132,983 |
Solution | class Solution {
public int maxProduct(int[] nums) {
int maxProduct = Integer.MIN_VALUE;
int[] maxValues = new int[nums.length];
int[] minValues = new int[nums.length];
for (int i = 0; i < nums.length; i++) {
if (nums[i] >= 0) {
maxValues[i] = Math.max(nums[i], nums[i] * (i > 0 ? maxValu... | .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 1
.end linenumbertable
.end code
.end method
.me... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:33: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 06:33: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;
... | 132,984 |
AudioFormat | /** Created by Sergey on 11/2/2014. */
public class AudioFormat {}
| .version 52 0
.class public super AudioFormat
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:37: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
* Sun Jul 03 17:37: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;
... | 132,985 |
Tables | public class Tables {
public static final String Flock = "t_flock";
public static final String FlockMember = "t_flock_member";
public static final String FlockMessage = "t_flock_message";
public static final String FlockCard = "t_flock_card";
}
| .version 52 0
.class public super Tables
.super java/lang/Object
.field public static final Flock Ljava/lang/String; = 't_flock'
.field public static final FlockMember Ljava/lang/String; = 't_flock_member'
.field public static final FlockMessage Ljava/lang/String; = 't_flock_message'
.field public static final Fl... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:48: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 17:48: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;
... | 132,986 |
Kana | /*
*
* *** CLASE KANA ***
*
* *** PROPIEDADES BASICAS ***
*
* Hiragana String : Consultable y modificable
*
* Katakana String : Consultable y modificable
*
* Pronunciacion String : Consultable y modificable
*
*
*
* *** RESTRICCIONES ***
*
* Katakana y Hiragana deben de correspond... | .version 52 0
.class public super Kana
.super java/lang/Object
.implements java/lang/Cloneable
.field private hiragana Ljava/lang/String;
.field private katakana Ljava/lang/String;
.field private pronunciacion Ljava/lang/String;
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: i... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:34: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
* Fri Jul 01 22:34: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;
... | 132,987 |
QuickSort | import java.util.Arrays;
public class QuickSort {
public QuickSort(int[] array) {
quickSort(array, 0, array.length - 1);
System.out.println(Arrays.toString(array));
}
void swap(int[] a, int min, int curr_min) {
int temp;
temp = a[min];
a[min] = a[curr_min];
a[curr_min] = temp;
}
//... | .version 52 0
.class public super QuickSort
.super java/lang/Object
.method public <init> : ([I)V
.code stack 5 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_1
L6: iconst_0
L7: aload_1
L8: arraylength
L9: iconst_1
L10: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:19:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 14:19: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;
... | 132,988 |
SysAuthorityVo | import java.io.Serializable;
import java.util.Set;
public class SysAuthorityVo implements Serializable {
private static final long serialVersionUID = 9070995134642738794L;
private Long id;
private Long organizationId;
private Long jobId;
private Long userId;
private Long groupId;
private Boolean t... | .version 52 0
.class public super SysAuthorityVo
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 9070995134642738794L
.field private id Ljava/lang/Long;
.field private organizationId Ljava/lang/Long;
.field private jobId Ljava/lang/Long;
.field private u... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:31:55 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedHashSet;
import java.util.Set;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.Run... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:31: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;
... | 132,989 |
AMSNotification | public class AMSNotification {
public int ident;
public String data, message, url, target, richhtml, richurl, userkey;
public boolean isRich;
public AMSNotification() {}
@Override
public String toString() {
return "data: "
+ data
+ "\n"
+ "message: "
+ message
+... | .version 52 0
.class public super AMSNotification
.super java/lang/Object
.field public ident I
.field public data Ljava/lang/String;
.field public message Ljava/lang/String;
.field public url Ljava/lang/String;
.field public target Ljava/lang/String;
.field public richhtml Ljava/lang/String;
.field public ric... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:28:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 03:28: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;
... | 132,990 |
GogoXBallsAndBinsEasy | /*
* Problem: GogoXBallsAndBinsEasy
* Used In: SRM 530
* Division: 2
* Level:1
* Points: 250
* Description: https://community.topcoder.com/stat?c=problem_statement&pm=11336
*/
public class GogoXBallsAndBinsEasy {
public int solve(int[] T) {
int moves = 0;
for (int i = 0, j = T.length - 1; i < j; i++... | .version 52 0
.class public super GogoXBallsAndBinsEasy
.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 11
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:02: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
* Fri Jul 01 03:02: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;
... | 132,991 |
UrlConstants | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/** Java side version of chrome/common/url_constants.cc */
public class UrlConstants {
public static final String CHROME_SCHEME = "chrome://";
public ... | .version 52 0
.class public super UrlConstants
.super java/lang/Object
.field public static final CHROME_SCHEME Ljava/lang/String; = 'chrome://'
.field public static final CHROME_NATIVE_SCHEME Ljava/lang/String; = 'chrome-native://'
.field public static final DOCUMENT_SCHEME Ljava/lang/String; = 'document'
.field... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:25:00 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:25: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;
... | 132,992 |
ResetPasswordData | public class ResetPasswordData {
public String username;
public String token;
public String password;
}
| .version 52 0
.class public super ResetPasswordData
.super java/lang/Object
.field public username Ljava/lang/String;
.field public token Ljava/lang/String;
.field public password Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/O... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:59:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 01:59: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;
... | 132,993 |
MsgStatus | /**
* 群发消息发送状态
*
* @author Administrator
*/
public class MsgStatus {
/** 群发消息后返回的消息id */
private long msgId;
/** 消息发送后的状态,SEND_SUCCESS表示发送成功 */
private String msgStatus;
public long getMsgId() {
return msgId;
}
public void setMsgId(long msgId) {
this.msgId = msgId;
}
public String getMs... | .version 52 0
.class public super MsgStatus
.super java/lang/Object
.field private msgId J
.field private msgStatus 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:
.linenumbertab... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:46:00 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:46: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;
... | 132,994 |
Base64FormatException | /*
* Copyright © World Wide Web Consortium, (Massachusetts Institute of Technology,
* Institut National de Recherche en Informatique et en Automatique, Keio University).
* All Rights Reserved. http://www.w3.org/Consortium/Legal/
*/
/** Exception for invalid BASE64 streams. */
public class Base64FormatException ext... | .version 52 0
.class public super Base64FormatException
.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:
.linenumbert... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:42:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:42: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;
... | 132,995 |
BarComponent | import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.geom.Rectangle2D;
public class BarComponent {
public void paint(Graphics2D g2, double x, double y) {
Rectangle2D.Double bar = new Rectangle2D.Double(x, y, 20, 100);
g2.setColor(Color.DARK_GRAY);
g2.draw(bar);
g2.fill(bar);
}
}
| .version 52 0
.class public super BarComponent
.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 ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:54:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import java.awt.Graphics2D;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParamete... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:54: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;
... | 132,996 |
Item | /*
* Copyright 2012 Future Systems
*
* 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 i... | .version 52 0
.class public super Item
.super java/lang/Object
.field private key Ljava/lang/Object;
.field private value Ljava/lang/Object;
.method public <init> : (Ljava/lang/Object;Ljava/lang/Object;)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
* Sat Jul 02 10:39: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
* Sat Jul 02 10:39: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;
... | 132,997 |
BaseBean | import java.io.Serializable;
import java.lang.reflect.Field;
public class BaseBean implements Serializable {
private static final long serialVersionUID = 5083968312258727725L;
/** 用于调试使用,toString 可以得到所有 public 成员变量信息 @Override */
public String toString() {
Class<?> c = this.getClass();
Field[] fields =... | .version 52 0
.class public super BaseBean
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 5083968312258727725L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: retu... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:27:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 13:27:17 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 132,998 |
OIDCConstants | /*
* 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 final super OIDCConstants
.super java/lang/Object
.field public static final REDIRECT_URI Ljava/lang/String; = 'redirect_uri'
.field public static final CODE Ljava/lang/String; = 'code'
.field public static final OP Ljava/lang/String; = 'op'
.method private <init> : ()V
.code sta... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:07: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
* Fri Jul 01 20:07:30 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... | 132,999 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.