<commit_before>package com.qiniu.android;

import com.qiniu.android.utils.LogUtil;

public class LogUtilsTest extends BaseTest {

    public void testLog(){

        LogUtil.enableLog(true);

        Throwable throwable = new Throwable();

        assertTrue(LogUtil.v("log") > 0);
        assertTrue(LogUtil.v("v","log") > 0);
        assertTrue(LogUtil.v("v","log", null) > 0);
        assertTrue(LogUtil.v("v","log", throwable) > 0);

        assertTrue(LogUtil.d("log") > 0);
        assertTrue(LogUtil.d("v","log") > 0);
        assertTrue(LogUtil.d("v","log", null) > 0);
        assertTrue(LogUtil.d("v","log", throwable) > 0);

        assertTrue(LogUtil.i("log") > 0);
        assertTrue(LogUtil.i("v","log") > 0);
        assertTrue(LogUtil.i("v","log", null) > 0);
        assertTrue(LogUtil.i("v","log", throwable) > 0);

        assertTrue(LogUtil.w("log") > 0);<commit_msg>change test log case<commit_after>package com.qiniu.android;

import android.util.Log;

import com.qiniu.android.utils.LogUtil;

public class LogUtilsTest extends BaseTest {

    public void testLog(){

        LogUtil.enableLog(true);
        LogUtil.setLogLevel(Log.VERBOSE);

        Throwable throwable = new Throwable();

        assertTrue(LogUtil.v("log") > 0);
        assertTrue(LogUtil.v("v","log") > 0);
        assertTrue(LogUtil.v("v","log", null) > 0);
        assertTrue(LogUtil.v("v","log", throwable) > 0);

        assertTrue(LogUtil.d("log") > 0);
        assertTrue(LogUtil.d("v","log") > 0);
        assertTrue(LogUtil.d("v","log", null) > 0);
        assertTrue(LogUtil.d("v","log", throwable) > 0);

        assertTrue(LogUtil.i("log") > 0);
        assertTrue(LogUtil.i("v","log") > 0);
        assertTrue(LogUtil.i("v","log", null) > 0);
        assertTrue(LogUtil.i("v","log", throwable) > 0);

        assertTrue(LogUtil.w("log") > 0);
{'fraction_non_alphanumeric': 0.1914548404542996, 'fraction_numerical': 0.014061654948620876, 'mean_word_length': 3.0929203539823007, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 29, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3955710', 'n_tokens_mistral': 642, 'n_tokens_neox': 627, 'n_words': 103}