Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestGetStatWindows (0.18 sec)

  1. pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher_windows_test.go

    limitations under the License.
    */
    
    package pluginwatcher
    
    import (
    	"os"
    	"testing"
    
    	"github.com/fsnotify/fsnotify"
    	"github.com/stretchr/testify/assert"
    )
    
    func TestGetStatWindows(t *testing.T) {
    	event := fsnotify.Event{Name: "name", Op: fsnotify.Create}
    	fi, err := getStat(event)
    	fiExpected, errExpected := os.Stat(event.Name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 01 00:26:37 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top